Webtags (preserving history): Difference between revisions

m
→‎Weather Diary: More clarity
m (→‎Weather Diary: add missing link)
m (→‎Weather Diary: More clarity)
Line 1,555: Line 1,555:
For MX users who choose options 1, and 2, with the MX default for snow depth, there is a mismatch between the times for the web tags in the two tables below. The mismatch will also cause problems if you use any End of Day actions, such as using web tags for either a [[MX_Administrative_Interface#Another_daily_summary_table|custom database table update]], or for [[Cumulus.ini#MQTT|MQTT messages]]. For the original Cumulus 1 software, only one web tag is available, but by default this has a mismatch if you use midnight-midnight days; this was intentional as Steve Loft assumed you would record the snow depth at 9 a.m. rather than midnight even if your rollover is at midnight!
For MX users who choose options 1, and 2, with the MX default for snow depth, there is a mismatch between the times for the web tags in the two tables below. The mismatch will also cause problems if you use any End of Day actions, such as using web tags for either a [[MX_Administrative_Interface#Another_daily_summary_table|custom database table update]], or for [[Cumulus.ini#MQTT|MQTT messages]]. For the original Cumulus 1 software, only one web tag is available, but by default this has a mismatch if you use midnight-midnight days; this was intentional as Steve Loft assumed you would record the snow depth at 9 a.m. rather than midnight even if your rollover is at midnight!


One approach is to use a script to read the [[Weather Diary]], so you know that your output is for the right day.
An alternative approach is to use a script to read the [[Weather Diary]], so you know that your output is for the right day.


This first table lists all the web tags available for reporting what is recorded in the weather diary. Just to be clear, the web tags shown below, will report data for previous day if the current time is before the snow depth hour setting, and report data for the current day if the current time matches the snow depth hour or is later.
This first table lists all the web tags available for reporting what is recorded in the weather diary. Just to be clear, the web tags shown below, will report data for previous day if the current time is before the snow depth hour setting, and report data for the current day if the current time matches the snow depth hour or is later.
5,838

edits