Page 2 of 2

Re: Davis Webtags returning 0 value

Posted: Thu 03 Feb 2022 11:53 am
by flort
Hi Mark,

I have just discovered the 2.5 second query of the CMX local API tag processor happens when using Neil's alternate interface but it must be only after having it running for some time. I have this running all the time so I turned on data logging and closed the interface and those entries no longer appear in the log. As another test I opened up the standard interface with data logging on and those entries also don't appear in the log. Opened up Neil's interface again and still no entries so I will do some more testing to see how long the interface has to be open before they start to appear again.

Regards,
Trevor

Re: Davis Webtags returning 0 value

Posted: Thu 03 Feb 2022 12:24 pm
by mcrossley
You are sorry, I only read as far as <#DavisReceptionPercent> :bash:

The good news is I have found the problem, the bad new is it will new release to fix it.

Your Vue ISS is using a different identifier in data to what I was expecting. Davis have made their API really really complex. Each different flavour of ISS is given a different identifier in the API. Currently the code processes the health data if it is one of 21 different variants, yours is number 22, and I just found a few more!

The current list of ISS variants in the API I have to find is (yours is #37)...

Code: Select all

23 - ISS VP2, Cabled (6322C)
24 - ISS VP2 Plus, Cabled (6327C)
27 - ISS VP2, Cabled, Metric (6322CM)
28 - ISS VP2 Plus, Cabled, Metric (6327CM)
37 - Vue, wireless (6357)
43 - ISS VP2, wireless (6152)
44 - ISS VP2, 24hr fan, wireless (6153)
45 - ISS VP2 Plus, wireless (6162)
46 - ISS VP2 Plus, 24hr fan, wireless (6163)
48 - ISS VP2, wireless (6322)
49 - ISS VP2, 24hr fan, wireless (6323)
50 - ISS VP2 Plus, wireless (6327)
51 - ISS VP2 Plus, 24hr fan, wireless (6328)
55 - ISS
76 - ISS VP2, 24hr fan, wireless, metric (6323M)
77 - ISS VP2, 24hr fan, wireless, OV (6323OV)
78 - ISS VP2, wireless, metric (6322M)
79 - ISS VP2, wireless, OV (6322OV)
80 - ISS VP2 Plus, 24hr fan, wireless, metric (6328M)
81 - ISS VP2 Plus, 24hr fan, wireless, OV (6328OV)
82 - ISS VP2 Plus, wireless metric (6327M)
83 - ISS VP2 Plus, wireless, OV (6327OV)
84 - Vue, wireless, metric (6357M)
85 - Vue, wireless, OV (6357OV)
The mad thing is they all use exactly the same data structure cause at the end of the day they just an ISS, actually they probably should use two data structures because the Vue sends the capacitor voltage and an ISS doesn't - buy they both include the field.

Minor rant over!

Re: Davis Webtags returning 0 value

Posted: Thu 03 Feb 2022 10:35 pm
by flort
Hi Mark,

Glad you found the issue. I thought I must have been going crazy there for a minute!

In relation to the API calls I have discovered that Neil's alternate interface causes these when it is sitting on the dashboard page. My assumption is because the "Davis Status" has been added to this page, it reads this every 2.5 seconds to keep the data up to date.

Regards,
Trevor

Re: Davis Webtags returning 0 value

Posted: Thu 03 Feb 2022 11:23 pm
by mcrossley
It's maybe worth dropping Neil a note to let him know its a bit of an excessive update rate?

Re: Davis Webtags returning 0 value

Posted: Thu 10 Mar 2022 1:03 am
by flort
Hi Mark,

Just letting you know that the issue has been resolved with Build 3170. All the values for the Vue are now coming through. Thanks for your help.

Regards,
Trevor

Re: Davis Webtags returning 0 value

Posted: Fri 11 Mar 2022 10:41 am
by mcrossley
:thumbsup: