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
Beta 1.9.4 #1067 - VP2 transmission stats
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Beta 1.9.4 #1067 - VP2 transmission stats
Steve
I have created a system info pagethat is currently updating at my real time interval as a test.
The radio stats do not seem to be updating every minute as the help file says they should? I have seen the console battery voltage fluctuate between 4.78 and 4.79 so I know the page and that value is updating OK. (the date/time bottom right is set by Cumulus too)
The values presented look about right for the first time the page was processed (about 12:15 ish), but the tag values have not updated since then.
PS: The radio reception stats are updating, but at 15 minute intervals, not 1 minute as documented.
I have created a system info pagethat is currently updating at my real time interval as a test.
The radio stats do not seem to be updating every minute as the help file says they should? I have seen the console battery voltage fluctuate between 4.78 and 4.79 so I know the page and that value is updating OK. (the date/time bottom right is set by Cumulus too)
The values presented look about right for the first time the page was processed (about 12:15 ish), but the tag values have not updated since then.
PS: The radio reception stats are updating, but at 15 minute intervals, not 1 minute as documented.
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
I changed the interval to 15 minutes some time ago, because each time they are read, a data reading is effectively missed (so a high wind gust might be missed). I'll correct the help.
Steve
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Thanks for the clarification.
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Is there a tag that comes up with this? "Percentage of good packets received"
Or are you doing a calculation somewhere?
Or are you doing a calculation somewhere?
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
There's no web tag, because it's not one of the stats supplied by the console, so Mark's doing his own calculation. Here's his code with the current figures:
<script>document.write(((19326/(19326+325))*100).toFixed(1));</script>
That would have started out using web tags as
<script>document.write(((<#DavisTotalPacketsReceived>/(<#DavisTotalPacketsReceived>+<#DavisTotalPacketsMissed>))*100).toFixed(1));</script>
<script>document.write(((19326/(19326+325))*100).toFixed(1));</script>
That would have started out using web tags as
<script>document.write(((<#DavisTotalPacketsReceived>/(<#DavisTotalPacketsReceived>+<#DavisTotalPacketsMissed>))*100).toFixed(1));</script>
Steve
- mcrossley
- Posts: 12756
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
It's calculated = (packets_rvcd / (packets_rcvd + packets_missed)) * 100
Which seems to match the console figure. I thought it might be...
(packets_rvcd / (packets_rcvd + packets_missed + packets_bad_CRC)) * 100
But that gives a figure lower than the console.
Which seems to match the console figure. I thought it might be...
(packets_rvcd / (packets_rcvd + packets_missed + packets_bad_CRC)) * 100
But that gives a figure lower than the console.
Last edited by mcrossley on Wed 10 Apr 2013 7:32 pm, edited 1 time in total.
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Thanks for that, It is working perfectly.
- mlj1
- Posts: 63
- Joined: Mon 26 Dec 2011 8:14 pm
- Weather Station: Davis Vantage Pro2 Plus
- Operating System: Windows 7 SP1
- Location: Saint-Brevin les Pins, France
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Thank you very much for the formula. It woks fine.
Marcel
Marcel
Marcel Le Jeune F6DOW, Saint-Brevin les Pins, Pays de la Loire, France
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
Davis VP2+, D-Link wifi IP webcam DCS2130
http://www.meteo-saint-brevin.fr
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Hi,
I implemented this formula on my saratoga scripts site and found a couple of unexpected things today.
I ran some updates on the Win7 PC and so had to shut down/restart Cumulus.
On restarting the website I was surprised to see the Davis Stats were all zero.
Is this a function of resetting the clock in the Vantage Vue Console or something else?
I also found that I needed to test for these zero values else divide by zero errors were reported.
The php code for the Saratoga script is;The ,3 after the *100 is to round the output to 3 decimal places.
I implemented this formula on my saratoga scripts site and found a couple of unexpected things today.
I ran some updates on the Win7 PC and so had to shut down/restart Cumulus.
On restarting the website I was surprised to see the Davis Stats were all zero.
Is this a function of resetting the clock in the Vantage Vue Console or something else?
I also found that I needed to test for these zero values else divide by zero errors were reported.
The php code for the Saratoga script is;
Code: Select all
<td>
<?php
if ($WX['DavisTotalPacketsReceived'] > 0){
echo round($WX['DavisTotalPacketsReceived']/($WX['DavisTotalPacketsReceived']+$WX['DavisTotalPacketsMissed'])*100,3) . $SITE['uomHum'];
} ?>
</td>
- steve
- Cumulus Author
- Posts: 26701
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Yes, the stats are reset when Cumulus starts. Cumulus doesn't do this; I assume the Davis DLL does it, as otherwise the console clears them at midnight.
Steve
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Thanks
Read up on this topic in the Vue CONSOLE Manual.
Unfortunately the % Good Packets that are available on the console to generate the graph on the console do not appear to be in the downloadable data.
Read up on this topic in the Vue CONSOLE Manual.
@Mark - So the "also includes errors received during radio acquisition" explains that packets_missed are included in packets_bad_CRC.3. Number of packets containing "Cyclic Redundancy Check" (CRC) errors received. The system runs a CRC check on data packets. Any data that doesn't pass this check are considered to contain errors and are discarded. These are considered bad packets. This also includes errors received during radio acquisition
8. The total number of bad packets including missed packets and CRC errors. Missed packets are described as when a packet is expected but not recognised as a data packet by the console. ....
And,
Radio transmission data used by the diagnostic screens clears each day at midnight, except for % Good Packet graph data.
Unfortunately the % Good Packets that are available on the console to generate the graph on the console do not appear to be in the downloadable data.
-
- Posts: 29
- Joined: Tue 31 Jul 2012 2:08 pm
- Weather Station: Davis Vantage Vue
- Operating System: Raspbian on Pi B+
- Location: United States
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
I've been on 1068 for about 24 hours now. My good packets have been solid between 99.2% to 99.4%. Maybe 0.1% down from ver. 1.9.3.
-
- Posts: 1255
- Joined: Mon 09 Jul 2012 8:40 pm
- Weather Station: Davis VP2 Cabled
- Operating System: Windows 10 Pro
- Location: Auckland, New Zealand
- Contact:
Re: Beta 1.9.4 #1067 - VP2 transmission stats
Nothing to do with Cumulus - data comes directly from the Console.