Every morning around nine I go out and measure the snow depth. I enter it in the diary and it shows up in the web tags OK.
Here is the problem: when I check my web page before nine, yesterday's snow has mysteriously disappeared (ah well, a glance out of the window proves that wrong). Did I misunderstand the concept? Is there a work-around for the snow melt after midnight?
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Snow depth
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Snow depth
The <#snowdepth> web tag gives today's snow figure, so after midnight, it gives zero until you enter today's figure. I'm not really sure what else I can make it do, particularly as the whole snow depth thing is a bit of a hack anyway. I never intended it to be 'read back' by software in this way.
If you want a figure that persists until you change it, it might be better to hard code it into your web page, and edit that instead of (or as well as) entering it in the diary.
If you want a figure that persists until you change it, it might be better to hard code it into your web page, and edit that instead of (or as well as) entering it in the diary.
Steve
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Snow depth
Another option you might want to consider would be to use <#currcond>.
But I suppose it would make sense for <#snowdepth> to give yesterday's figure, before 0900.
But I suppose it would make sense for <#snowdepth> to give yesterday's figure, before 0900.
Steve
- KarlS
- Posts: 140
- Joined: Tue 30 Nov 2010 3:01 pm
- Weather Station: Ecowitt GW1003 / WH32 / WH41
- Operating System: 64bit Bookworm on Pi4
- Location: Bridge Lake, BC, Canada
- Contact:
Re: Snow depth
Yeah, I was thinking along the same line. As you say it's a hack anyway ... so why not make it even more so
-
bnwrx
- Posts: 464
- Joined: Wed 25 Feb 2009 12:01 am
- Weather Station: Ambient WS2095 (Fine/Offset)
- Operating System: Windows 10 64bit
- Location: Woodland Park, Colorado USA
- Contact:
Re: Snow depth
I made a table like this and just do entries as needed:
<tr><tbody bgcolor="#0000CC">
<td><b>Snow so far Today </b> </td>
<td><b>0.0" </b></td>
<td><b>Snow Yesterday</b></td>
<td><b>0.0"</b></td>
</tr>
<tr>
<td><b>Monthly snow this year</b> </td>
<td> <b>1.0"</b></td>
<td><b>Monthly snow last year</b> </td>
<td><b>8.0"</b></td>
</tr>
<tr>
<td><b>Seasonal snow this year</b></td>
<td><b>6.5"</b>
<td><b>Seasonal snow last year</b></td>
<td><b>101.5"</b></td
</tr>
It means you have to edit it by hand after each snowfall, but thats ok with me.
<tr><tbody bgcolor="#0000CC">
<td><b>Snow so far Today </b> </td>
<td><b>0.0" </b></td>
<td><b>Snow Yesterday</b></td>
<td><b>0.0"</b></td>
</tr>
<tr>
<td><b>Monthly snow this year</b> </td>
<td> <b>1.0"</b></td>
<td><b>Monthly snow last year</b> </td>
<td><b>8.0"</b></td>
</tr>
<tr>
<td><b>Seasonal snow this year</b></td>
<td><b>6.5"</b>
<td><b>Seasonal snow last year</b></td>
<td><b>101.5"</b></td
</tr>
It means you have to edit it by hand after each snowfall, but thats ok with me.
- KarlS
- Posts: 140
- Joined: Tue 30 Nov 2010 3:01 pm
- Weather Station: Ecowitt GW1003 / WH32 / WH41
- Operating System: 64bit Bookworm on Pi4
- Location: Bridge Lake, BC, Canada
- Contact:
Re: Snow depth
Better yet, if you can have web tags with parameters, why not display the last entered value in the form <#snowdepth format=" last measured on dd mmm">. Unfortunatelly there is no timestamp in the log.xml file, so you can't have: format=" last measured on dd mmm hh:mm"
I realize that this web tag is not a priority for a lot of Cumulus users, especially since the values have to be entered manually. However, when you have snow on the ground for 5+ months every year, it is a major part of your weather data.
I realize that this web tag is not a priority for a lot of Cumulus users, especially since the values have to be entered manually. However, when you have snow on the ground for 5+ months every year, it is a major part of your weather data.
-
Hunter362
- Posts: 93
- Joined: Tue 19 Oct 2010 12:20 am
- Weather Station: Ambient Weather WS-2080
- Operating System: Ubuntu 14.4
- Location: Fairmount, New York (USA)
- Contact:
Re: Snow depth and Diary entries
I like this, I have something similar and last season used the <#currcond> tag for daily snow.bnwrx wrote:I made a table like this and just do entries as needed:
<tr><tbody bgcolor="#0000CC">
<td><b>Snow so far Today </b> </td>
<td><b>0.0" </b></td>
<td><b>Snow Yesterday</b></td>
<td><b>0.0"</b></td>
</tr>
<tr>
<td><b>Monthly snow this year</b> </td>
<td> <b>1.0"</b></td>
<td><b>Monthly snow last year</b> </td>
<td><b>8.0"</b></td>
</tr>
<tr>
<td><b>Seasonal snow this year</b></td>
<td><b>6.5"</b>
<td><b>Seasonal snow last year</b></td>
<td><b>101.5"</b></td
</tr>
It means you have to edit it by hand after each snowfall, but thats ok with me.
About the diary entries, like what I read earlier post, is there a way for the day to be highlighted or something
indicating an entry for that day?
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Snow depth and Diary entries
No, sorry. It's a standard Windows component and doesn't have that facility.Hunter362 wrote:About the diary entries, like what I read earlier post, is there a way for the day to be highlighted or something
indicating an entry for that day?
Steve
-
Hunter362
- Posts: 93
- Joined: Tue 19 Oct 2010 12:20 am
- Weather Station: Ambient Weather WS-2080
- Operating System: Ubuntu 14.4
- Location: Fairmount, New York (USA)
- Contact:
Re: Snow depth and Diary entries
Bummer... stupid windows.steve wrote:No, sorry. It's a standard Windows component and doesn't have that facility.Hunter362 wrote:About the diary entries, like what I read earlier post, is there a way for the day to be highlighted or something
indicating an entry for that day?