Extra Sensor Files: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
945 bytes added ,  17:22, 21 October 2014
m
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
Cumulus provides some support for extra sensors that can be connected to Oregon Scientific (e.g. WMR-928) and Davis (e.g.Vantage Pro 2 wireless models can have extra sensors whose readings can be interrogated via the Davis DLL) weather stations. Please note, this is nothing to do with certain [[EasyWeather_Format#Note_on_Models|Fine Offset models]] including solar and UV sensors.  
Cumulus provides some support for extra sensors that can be connected to Oregon Scientific (e.g. WMR-928) and Davis (e.g.Vantage Pro 2 wireless models can have extra sensors whose readings can be interrogated via the Davis DLL) weather stations. Please note, this is nothing to do with certain [[EasyWeather_Format#Note_on_Models|Fine Offset models]] including solar and UV sensors.  


'''NOTE:''' This article may need to be updated by somebody who actually has and uses such instruments. From what I have seen in the support forum, the OS weather stations can support up to 10 temperature and humidity measurements, so that has determined the Cumulus provision. The Davis DLL may be able to cope with up to 8 such sensors, so it will never update all the fields available in Cumulus.
'''NOTE:''' This article may need to be updated by somebody who actually has and uses such instruments. It appears from the support forum:
*the OS weather stations can support up to 10 temperature, dewpoint, and humidity measurements, so that has determined the Cumulus provision  
*the Davis DLL may be able to cope with up to 8 temperature/humidity/dewpoint sensors plus a small number of soil temperature, soil moisture, leaf temperature, and leaf wetness sensors.


=== General customisation ===
=== General customisation ===
Line 9: Line 11:
For Oregon Scientific WMR-928 weather stations, the ''WMR928 extra channel captions'' frame on the '''Display Settings''' screen within the ''Configuration'' menu allows you to change the captions displayed with values for 3 extra channels (see [[Cumulus.ini#Section:_Display]]).   
For Oregon Scientific WMR-928 weather stations, the ''WMR928 extra channel captions'' frame on the '''Display Settings''' screen within the ''Configuration'' menu allows you to change the captions displayed with values for 3 extra channels (see [[Cumulus.ini#Section:_Display]]).   


For WMR-928 stations (and other stations using the same protocol, e.g. WMR-968) to use an 'extra' channel as your main temperature sensor, set N to the required channel by adding an extra line ''WMR928TempChannel=N'' parameter to the [[Cumulus.ini#Oregon_Scientific_specific:|Station section of cumulus.ini]].
For WMR-928 stations (and other ''serial'' stations using the same protocol e.g. WMR-968) to use an 'extra' channel as your main temperature sensor, set N to the required channel by adding an extra line ''WMR928TempChannel=N'' parameter to the [[Cumulus.ini#Oregon_Scientific_specific:|Station section of cumulus.ini]].
 
For WMR-100, WMR-200 stations (and any other ''USB'' stations which work with Cumulus) replace your main outdoor temperature with an extra sensor by setting  N to the required channel by adding an extra line ''WMR200TempChannel=N'' parameter to the [[Cumulus.ini#Oregon_Scientific_specific:|Station section of cumulus.ini]].


== Cumulus processing of Extra Sensor Log Files ==
== Cumulus processing of Extra Sensor Log Files ==
Line 20: Line 24:
[[File:Extra_panel.JPG]]You can add a panel to the main screen to display the Oregon Scientific extra channels - by selecting ''Display solar/extra data'' in the General block of the Display settings screen in the Configuration menu. The same selection adds a similar panel in the same place to display Davis solar sensor output.
[[File:Extra_panel.JPG]]You can add a panel to the main screen to display the Oregon Scientific extra channels - by selecting ''Display solar/extra data'' in the General block of the Display settings screen in the Configuration menu. The same selection adds a similar panel in the same place to display Davis solar sensor output.


[[File:Cumulus_View_menu.jpg]]On your computer from '''View''' menu, select ''Extra data'' screen. This lists all the possible extra sensor parameters, with current values shown where they are in use.
[[File:Cumulus_View_menu.jpg]]On your computer from '''View''' menu, select ''Extra data'' screen. This lists all the possible extra sensor parameters including their units, with current values shown where they are in use. Note - the units are shown beside values and a change was made in v.1.9.4 build 1083 to ensure this screen reflects any change to units while Cumulus is running.


=== 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 updated 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 ===
Line 41: Line 45:
Edit the original file using an editor that treats all fields as text [either any text editor, a Comma Separated Value editor, or a spreadsheet program that can be instructed ''not'' to recognise special field (like date) types].  
Edit the original file using an editor that treats all fields as text [either any text editor, a Comma Separated Value editor, or a spreadsheet program that can be instructed ''not'' to recognise special field (like date) types].  
=== List of fields in the file ===
=== List of fields in the file ===
The field number (starting from zero) and the equivalent letter that would be seen in a spreadsheet like Libre Office, Open Office, Excel etc are listed here.
The field number (starting from zero to be consistent with index used for arrays in programming languages like JavaScript) and the equivalent letter that would be seen in a spreadsheet like Libre Office, Open Office, Excel etc are listed here.  
* 00(A): Date in the Windows short format of either dd/mm/yy or dd-mm-yy (separator is needed, but the symbol is unimportant)
* 00(A): Date as  ''2 figure day [separator] 2 figure month [separator] 2 figure year'' - the separator is that set in the windows system short date format (see [[setup]])  
* 01(B): Current time in the format hh:mm using the 24 hour clock and local time (system time)   
* 01(B): Current time in the format hh:mm using the 24 hour clock and local time (system time)   
* 02 to 11 (C to L): Ten extra temperature values  
* 02 to 11 (C to L): Ten extra temperature values  
Line 60: Line 64:




[[Category:Log Files]]
[[Category:Log_Files]]
5,838

edits

Navigation menu