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

Davis VP Webtag support in MX

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Davis VP Webtag support in MX

Post by TheBridge »

I found the note in the Wiki Forum, about Cumulus webtags, that Davis Webtags not yet supported in MX. Any idea when that may come about?
- Bridge
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Davis VP Webtag support in MX

Post by mcrossley »

I think nearly all the tags are supported, this wiki page may be slightly out of date...
https://cumuluswiki.org/a/Webtags#Davis

Where did you see in the wiki that they were not supported?
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

Hi Mark,
Near the bottom under the Davis section:
https://cumuluswiki.org/a/Webtags#Full_ ... _Tag_Names
You do not have the required permissions to view the files attached to this post.
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

I have added StormRain and StormRainStart to Index (now) page but comes up as ‘undefined’

I’m running latest MX

Website: Climate.tommueller.com

Bridge
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Davis VP Webtag support in MX

Post by Mapantz »

TheBridge wrote: Mon 29 Aug 2022 12:45 pm I have added StormRain and StormRainStart to Index (now) page but comes up as ‘undefined’

I’m running latest MX

Website: Climate.tommueller.com

Bridge
Works OK for me:

Code: Select all

|stormrain|storm1|<#StormRain>|!
|stormrainstart|storm2|<#StormRainStart>|!

Code: Select all

|stormrain|storm1|2.8|!
|stormrainstart|storm1|25/08/2022|!
Image
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

Thanks for checking it.
I’ll go hunting for my setup error.
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

I seem to be dense as lead on this. Davis ‘StormRain’ and ‘StormRainStart’ webtags are correctly shown in my index.htm (now) code however they result in ‘undefined’. Mark and others confirm Davis tags are implemented. As much as I have poured through a number of Wiki pages, not seeing what I have missed…although I feel like there is an elephant in front of me and I just don’t see it.

Climate.tommueller.com (‘Now’ page under rainfall)

Bridgeman
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: Davis VP Webtag support in MX

Post by freddie »

You also need to add the tags to websitedataT.json which can be found under the "web" folder in your MX installation. If you look at the format of other tags in that file, you should find it easy to add the appropriate tags. Note that this file is the template file for the websitedata.json file that is sent to your web server and is used to populate the values on the pages. As this template is part of the distribution, it will be overwritten when you upgrade to a new release - so you may find yourself re-adding the tags each time you upgrade.
Freddie
Image
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Davis VP Webtag support in MX

Post by water01 »

Could we see the code that is failing please.
David
Image
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

Thanks Freddie and Water01,

Previously I have tried adding the following 2 Davis centric webtags to websitedateT.json. The result was the website menus and some data no longer showed.

"StormRain":"<#StormRain>",
"StormRainStart":"<#StormRainStart>",

I modified IndexT.htm and added the lines in yellow area.
index-htm.png
You do not have the required permissions to view the files attached to this post.
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: Davis VP Webtag support in MX

Post by freddie »

TheBridge wrote: Wed 31 Aug 2022 3:30 pm Thanks Freddie and Water01,

Previously I have tried adding the following 2 Davis centric webtags to websitedateT.json. The result was the website menus and some data no longer showed.
As that behaviour happened then it strongly suggests you introduced a syntax error into the JSON file. I would give it another try. Add them somewhere between line 8 and line 247 - best location would be line 70, just after the "r24hour" tag. Make sure you use identical syntax to the other lines - including the comma at the end of the line, and open/close quotation marks around both label and tag.
Freddie
Image
Mapantz
Posts: 1992
Joined: Sat 17 Dec 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 x64
Location: Dorset - UK
Contact:

Re: Davis VP Webtag support in MX

Post by Mapantz »

I don't use the provided template, but I thought you wouldn't need the # at the beginning ?
Image
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: Davis VP Webtag support in MX

Post by PaulMy »

Hi,
I modified IndexT.htm and added the lines in yellow area.
Possibly I am misunderstanding the issue, but the https://climate.tommueller.com/ is the current CMX web template.
indexT.htm is no longer part of that unless it is customized and added as Extra web files and processed and updated by CumulusMX.

As Mapanz notes, from a source view It looks like you have modified index.htm but it is not in the same way as the other variables (you have an extra '#')

Code: Select all

										<tr class="w3-theme-l3">
											<td>Rainfall Since Midnight</td>
											<td><span data-cmxdata="rmidnight"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
											<td>Rainfall Last 24 Hours</td>
											<td><span data-cmxdata="r24hour"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
										</tr>
										<tr class="w3-theme-l3">
											<td>Rain Storm Total</td>
											<td><span data-cmxdata="#StormRain"></span>&nbsp;<span data-cmxdata="rainunit"></span></td>
											<td>Rain Storm Start</td>
											<td><span data-cmxdata="#StormRainStart"></span></td>
										</tr>
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
TheBridge
Posts: 119
Joined: Mon 16 Mar 2020 3:23 am
Weather Station: Davis
Operating System: Windows 10
Contact:

Re: Davis VP Webtag support in MX

Post by TheBridge »

Hi Freddie and PaulM,

I appreciate your responses. Still working on this and needing additional ideas and thoughts.

Freddie, I have done what you suggested several times with correct syntax and location as you noted in the JSON file. The result, as noted in my previous post, data disappears and the menu does not show up. When I remove these lines, all missing items return,

PaulMy, MX is processing IndexT.htm because when I modify this file by adding the desired ‘Storm Total’ and ‘Storm Total Start’ (literal text) items, they appear appear on the webpage (not the console pages, the webpages my neighbors view). However next to each of these 2 (field) labels it say ‘undefined’.

Best,
Bridgeman
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: Davis VP Webtag support in MX

Post by PaulMy »

MX is processing IndexT.htm
Still don't understand why as you have the new version website which doesn't use the indexT.htm?

And I can't see "StormRain" or"StormRnStart" in your websitedata.json https://climate.tommueller.com/websitedata.json

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
Post Reply