Trixology
WeatherCat => WeatherCat Feature Requests => Topic started by: jf-i2r on March 10, 2013, 03:01:09 PM
-
hi
i need help :)
i try to create a customgraph ;
(http://img837.imageshack.us/img837/879/capturedcran20130310155.jpg) (http://imageshack.us/photo/my-images/837/capturedcran20130310155.jpg/)
after setup i don't see it in "WCWeb" to be uploaded via ftp
thks
jean frédéric
-
The Custom Graph has a webtag, in this case it is CUSTOMGRAPH$1$. If this webtag is addressed in your custom website then it will be displayed on the web. Additionally I think it will be a good idea to read through the manual page 33 and page 78ff ... ;)
Cheers,
Reinhard
-
hello
ok, but i don't see on any foders the CUSTOMGRAPH$1$ file so i can't displayed on the web
and my english is so bad i don't understand all it's very difficult for me and i'm not an informatician or web creator
thks
jean frédéric
-
Jean Frederic,
The custom graph will appear in your web upload folder as customgraph1.jpg, and can be displayed by adding CUSTOMGRAPH$1$ on your web template. WeatherCat will see the tag for your graph, populate the processed template to display the customgraph1.jpg, and then upload the files to your web site.
For example, here is the HTML code for the Soil Data web page on my web page at http://www.avon-weather.com/soil.html
This is a Monthly graph showing evapotranspiration (ET).<BR>
<BR>
CUSTOMGRAPH$8$
<BR>
<BR>
Here is a graph showing evapotranspiration overlayed with the precipitation for each month. You can easily see which months we were behind on rain.<BR>
<BR>
CUSTOMGRAPH$11$
<BR>
<BR>
<B>Soil Temperature Comparison:</B><BR>
Probe #1 (blue) is buried 10" deep in the vegetable garden as noted above. Current reading: STAT$ST1:CURRENT$ degrees F<BR>
Probe #2 (green) is buried 2" deep in the open grass lawn three feet from any garden beds. Current reading: STAT$ST2:CURRENT$ degrees F<BR>
Probe #4 (red) is buried 4" deep in the open grass lawn three feet from any garden beds. Current reading: STAT$ST4:CURRENT$ degrees F<BR>
<BR>
CUSTOMGRAPH$9$
<BR>
<BR>
<B>Soil Moisture Comparison:</B><BR>
Sensor #1 (blue) is buried 10" deep in the vegetable garden as noted above. Current reading: STAT$SM1:CURRENT$ Centibars<BR>
Sensor #2 (green) is buried horizontally 2" deep in the open grass lawn three feet from any garden beds. Current reading: STAT$SM2:CURRENT$ Centibars<BR>
Sensor #4 (red) is buried horizontally 4" deep in the open grass lawn three feet from any garden beds. Current reading: STAT$SM4:CURRENT$ Centibars<BR>
<BR>
Note that the soil moisture readings (centibars) are inverted. A reading of zero is soaking wet and 200 is bone dry. So as the precipitation increases, the soil moisture reading should decrease. <I>(Spikes during winter should be ignored, as sensor doesn't report accurately below freezing)</I><BR>
<BR>
CUSTOMGRAPH$4$<BR>
I hope that helps,
Steve
-
Jean,
WeatherCat will not create the custom graph unless it's tag (CUSTOMGRAPH$1$ in this case) is actually used in a template that you are processing in the Custom Web section of the On-Line preferences.
You can create a simple HTML template just listing your graphs and they will be generated.
Here is an example of one I use for myself to force creation of the graphs and dials I need for FTP Upload. Just copy the code below, edit the list of graphs as needed. Then save it as graphupload.html or something you choose and place it in the folder you use as the source for Custom Web in the preferences.
Rick
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="WeatherCat Mac">
<TITLE>WeatherCat</TITLE>
</HEAD>
<BODY>
CUSTOMGRAPH$1$
CUSTOMGRAPH$2$
CUSTOMGRAPH$3$
CUSTOMGRAPH$4$
CUSTOMGRAPH$5$
CUSTOMGRAPH$6$
CUSTOMGRAPH$7$
CUSTOMGRAPH$8$
CUSTOMGRAPH$9$
CUSTOMGRAPH$10$
CUSTOMGRAPH$11$
CUSTOMGRAPH$12$
CUSTOMGRAPH$13$
CUSTOMGRAPH$14$
CUSTOMGRAPH$15$
CUSTOMGRAPH$16$
CUSTOMGRAPH$17$
DTEMPO$
DHUMO$
DWINDCH$
DRAIN24$
DBARO$
DWINDS$
DWINDD$
DTEMPI$
DHUMI$
</BODY>
</HTML>
-
Hi
i create a graphupload.html , and when i want to use it for custom web in preference graphupload.html is
gray tint !!!!
i try in an other folder it's the same
(http://img9.imageshack.us/img9/622/capturedcran20130311121.jpg) (http://imageshack.us/photo/my-images/9/capturedcran20130311121.jpg/)
thank you for your patience, I'm really not good :)
thks
-
Hi
i found , i'm not in the good page [rainyluck]
i use this one :
(http://img259.imageshack.us/img259/378/capturedcran20130311123.jpg) (http://imageshack.us/photo/my-images/259/capturedcran20130311123.jpg/)
and the graph is uploaded [tup]
thks oshloel@mac.com ; Steve ; wurzelmac for your help