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

Webtag

Talk about anything that doesn't fit elsewhere - PLEASE don't put Cumulus queries in here!
Post Reply
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Webtag

Post by KF0KFL-13 »

I was experimenting with using this following webtag in my wxnow.txt file so my station can report snowfall observed:
<#snow24hr>
The comment added to my wxnow looks like this:

s<#snow24hr> FCST:<#cumulusforecast> https://bit.ly/43Xtq6O

Can you modify the webtag without the decimal?
The current results: 0.00 ( currently no recent snowfall )
I'd like to see it show up as :"00"

Also currently a null value shows up as: "-"
Any way to have a null value come up as ".." or default to "00" ?

Thanks in advance
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Webtag

Post by mcrossley »

You can do both, see this wiki page

Hint: dp=, nv=
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

Thank you mcrossley!
Let me play around with it!
mcrossley wrote: Sun 23 Feb 2025 2:58 pm You can do both, see this wiki page

Hint: dp=, nv=
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

I rewrote it as:
s<#snow24hr nv=00, dp=0> FCST:<#cumulusforecast> https://bit.ly/43Xtq6O

the results are still coming up as 0.00 if I input 0 instead of leaving null

I think I might not understand how to write the dp= correctly
mcrossley wrote: Sun 23 Feb 2025 2:58 pm You can do both, see this wiki page

Hint: dp=, nv=
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: Webtag

Post by freddie »

You shouldn't have a comma between nv=00 and dp=0. Try this:

Code: Select all

<#snow24hr nv=00 dp=0>
Freddie
Image
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Webtag

Post by mcrossley »

I checked, and dp= isn't supported for the snow web tags, it is supposed to be, that is an oversight, I'll fix it for the next release.
nv= is supported though.
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

Good to know! Thank you!
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

I just upgraded to build # 4083

After the snowfall last week I was experimenting with the weather diary so that my APRS reports would show the snowfall within the last 24 hours.

It seem like the result in the wxnow need to come out in 3 digit (ie: 1" = 100, 1.75" = 175, 2.25" = 225,ect) Can the webtag be modified like that?

Also I see that Laser Distance Sensors can be added to CMX to automate the measurement. Is the an example of one that can be added anyone can share!
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

OK! Build# 4084 now!
KF0KFL-13 wrote: Sun 09 Mar 2025 8:53 pm I just upgraded to build # 4083

After the snowfall last week I was experimenting with the weather diary so that my APRS reports would show the snowfall within the last 24 hours.

It seem like the result in the wxnow need to come out in 3 digit (ie: 1" = 100, 1.75" = 175, 2.25" = 225,ect) Can the webtag be modified like that?

Also I see that Laser Distance Sensors can be added to CMX to automate the measurement. Is the an example of one that can be added anyone can share!
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Webtag

Post by mcrossley »

If you are using the web tag, then you can add the tag parameter to control the number of decimal places - dp=N - where N is the number of decimals you require.
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

I figured out how to remove the decimal point. I'm wondering if there's a way to force the number to a specific number of digits without the decimal point.
(ie: 1" = 100, 1.75" = 175, 2.25" = 225,ect)

Here is the comment I'm having added on my wxnow file:
s<#snow24hr nv=000 dp=0>FCST: <#cumulusforecast>. https://bit.ly/43Xtq6O


Thanks again
User avatar
PaulMy
Posts: 4355
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Webtag

Post by PaulMy »

Hi,
Also I see that Laser Distance Sensors can be added to CMX to automate the measurement. Is the an example of one that can be added anyone can share!
The new Ecowitt LDS01 is working with CumulusMX. viewtopic.php?p=189709#p189709

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
User avatar
mcrossley
Posts: 14382
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Webtag

Post by mcrossley »

KF0KFL-13 wrote: Sun 09 Mar 2025 10:36 pm I figured out how to remove the decimal point. I'm wondering if there's a way to force the number to a specific number of digits without the decimal point.
(ie: 1" = 100, 1.75" = 175, 2.25" = 225,ect)

Here is the comment I'm having added on my wxnow file:
s<#snow24hr nv=000 dp=0>FCST: <#cumulusforecast>. https://bit.ly/43Xtq6O


Thanks again
Not without using the web tag in some form of script and manipulating it there.
User avatar
KF0KFL-13
Posts: 53
Joined: Sat 17 Jun 2023 6:08 pm
Weather Station: Ambient WS-2902
Operating System: Libre Computer Raspberry PI
Location: White Bear Lake, MN, USA
Contact:

Re: Webtag

Post by KF0KFL-13 »

Thank you
Post Reply