Extra Sensor Files: Difference between revisions

222 bytes added ,  17:22, 21 October 2014
m
Line 27: Line 27:


=== Adding extra sensor values to website pages ===
=== Adding extra sensor values to website pages ===
For Oregon Scientific extra temperature sensors, their value can replace the main temperature sensor - see [[Cumulus.ini#Oregon_Scientific_specific:]] and set 'WMR928TempChannel=N' parameter appropriately.  
For Oregon Scientific extra temperature sensors, the value from just one of them can replace the main temperature sensor - see [[Cumulus.ini#Oregon_Scientific_specific:]] and see above.  


On your website, use the [[Webtags#Extra_Sensors|webtags listed here]] on a [[Customised_templates|template page]] that is processed by Cumulus to either display current values (this could be the indexT.htm page), or to treat as parameters for feeding graphics as on the 'gaugesT.htm' page.  As at August 2013, Cumulus does not calculate extremes for these extra sensors (unless it is the Oregon Scientific extra temperature sensor replacing the main one).
On your website, use the [[Webtags#Extra_Sensors|web tags listed here]] to either display current values on your 'latest values'  [[Customised_templates|template page]] (this could be the ''indexT.htm'' page) that is processed by Cumulus, or use those web tags as parameters for feeding your own graphics as on the 'gaugesT.htm' page.


Any extra sensor monthly log can be uploaded at your usual website update interval by specifying the parameter 'ExtraLocal[0-99]=ExtraLogyyyymm.txt' see [[Cumulus.ini#Section:_FTP_Site]], unfortunately this will need to be updated manually each month to insert the correct replacements for 'yyyymm' if you want the current log.  A script can then read the file into an array or database for further processing.
Any extra sensor monthly log can be uploaded at your usual website update interval by specifying the parameter 'ExtraLocal[0-99]=ExtraLogyyyymm.txt' see [[Cumulus.ini#Section:_FTP_Site]], unfortunately this will need to be updated manually each month to insert the correct replacements for 'yyyymm' if you want the current log.  As at August 2013, Cumulus does not calculate extremes for these extra sensors (unless it is the Oregon Scientific extra temperature sensor replacing the main one).  A script written by you can then read the file into an array or database for further processing. If you are skilled enough, it is possible to write code or queries to read that array or database, calculate extremes for yourself, or draw graphs based on these logged extra values.


=== Viewing Extra Sensor Log files ===
=== Viewing Extra Sensor Log files ===
5,838

edits