When I run this in my browser:
192.168.1.121:8998/api/tags/process.json?DavisFirmwareVersion
The response is correct:
{"DavisFirmwareVersion":"3.88"}
When I run these lines in a .htm file:
<td class="">Davis Total Packets Rec'd:</td>
<td class=""><span data-cmxdata="DavisTotalPacketsReceived"></span></td>
<td class="">Davis Total Packets Missed:</td>
<td class=""><span data-cmxdata="DavisTotalPacketsMissed"></span></td>
<td class="">Davis Firmware Version:</td>
<td class=""><span data-cmxdata="DavisFirmwareVersion"></span></td>
The first 2 produce correct response. The DavisFirmwareVersion line says ‘undefined’.
The webpage; which I am modifying to use a support page so I can see what’s what from time to time.
Climate.tommueller.com/Sys2.htm
P.S. this is a personal website and no affiliated with the city of Thousand Oaks government
Anyone spot a problem with my use of DavisFirmwareVersion web tag
Thank you,
Bridge
Welcome to the Cumulus Support forum.
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 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
DavisFirmwareVersion tag
-
- Posts: 2483
- Joined: Wed 08 Jun 2011 11:19 am
- Weather Station: Davis Vantage Pro 2 + Ecowitt
- Operating System: GNU/Linux Ubuntu 22.04 LXC
- Location: Alcaston, Shropshire, UK
- Contact:
Re: DavisFirmwareVersion tag
"undefined" smells like Javascript. Does the websitedataT.json file contain the DavisFirmwareVersion webtag?
-
- Posts: 118
- Joined: Mon 16 Mar 2020 3:23 am
- Weather Station: Davis
- Operating System: Windows 10
- Contact:
Re: DavisFirmwareVersion tag
This is where it gets a bit juicer.
It was not, and neither were the other Davis tags used on the web page. So I added them. One at a time and tested each new one I added. They worked UNTIL I came to adding DavisFirmwareVersion. When I put that one in (websitedataT) all the data would not show on the htm page. When I removed it from websitedataT and re-ran, all data comes back however the Davis Firmware field says back as ‘undefined’.
It was not, and neither were the other Davis tags used on the web page. So I added them. One at a time and tested each new one I added. They worked UNTIL I came to adding DavisFirmwareVersion. When I put that one in (websitedataT) all the data would not show on the htm page. When I removed it from websitedataT and re-ran, all data comes back however the Davis Firmware field says back as ‘undefined’.
-
- Posts: 118
- Joined: Mon 16 Mar 2020 3:23 am
- Weather Station: Davis
- Operating System: Windows 10
- Contact:
Re: DavisFirmwareVersion tag
All ok. Rookie error. Ran the sequence again (including MX reboot) and all is good!