Page 3 of 3
Re: Error on startup build 4063
Posted: Wed 11 Dec 2024 1:45 am
by grwkak
mcrossley wrote: ↑Sat 07 Dec 2024 6:49 pm
The live data seems to be coming in OK, the wind values are changing every packet, the pressure values look reasonable.
Unfortunately, the logging for the Tempest station is quite sparse, so there isn't much more I can see.
You could ask them to try one of the queries Cumulus is sending for the historic data and ask them why it is failing with a status code 2, "DATA_ERROR - null"?
Code: Select all
https://swd.weatherflow.com/swd/rest/observations/device/213434?token=<<token>>&time_start=1733521800&time_end=1733521943
Got a response from WeatherFlow:
"Hi Guy,
So there does seem to be an issue with that API call. Our developers are currently looking into the issue and are planning on fixing it. Please let me know if you have any additional questions. "
Re: Error on startup build 4063
Posted: Wed 11 Dec 2024 12:41 pm
by mcrossley
grwkak wrote: ↑Wed 11 Dec 2024 1:45 am
mcrossley wrote: ↑Sat 07 Dec 2024 6:49 pm
The live data seems to be coming in OK, the wind values are changing every packet, the pressure values look reasonable.
Unfortunately, the logging for the Tempest station is quite sparse, so there isn't much more I can see.
You could ask them to try one of the queries Cumulus is sending for the historic data and ask them why it is failing with a status code 2, "DATA_ERROR - null"?
Code: Select all
https://swd.weatherflow.com/swd/rest/observations/device/213434?token=<<token>>&time_start=1733521800&time_end=1733521943
Got a response from WeatherFlow:
"Hi Guy,
So there does seem to be an issue with that API call. Our developers are currently looking into the issue and are planning on fixing it. Please let me know if you have any additional questions. "
Great news.
Meantime I have fixed the gauge issue for the next build. This bug only affects the display of the data in the dashboard gauges, it does not affect anything else.
Re: Error on startup build 4063
Posted: Thu 12 Dec 2024 1:15 am
by grwkak
Thanks! Will see what WeatherFlow come back with.
Guy
Re: Error on startup build 4063
Posted: Thu 12 Dec 2024 10:13 am
by grwkak
jokerboy wrote: ↑Tue 10 Dec 2024 2:24 pm
There's an issue with the value of the Indoor Humidity setting being passed to the 'convertJson' function in the file dashboard.js
The value being passed is null, so the following line in that function throws an exception.
inhum: inp.IndoorHum.toString(),
If I comment out that line (//inhum: inp.IndoorHum.toString(),), everything works fine as it did before.
There must have been something that changed in whatever provides the data to that function, a web service or something. I'm guessing that only those stations that don't collect indoor readings, like the Tempest, will see this issue, as it won't be null for others.
Or perhaps the tempest station class isn't providing a default value for that when it should be.
I did comment those out until the new release comes out - works well.
Thanks for the tip/work-around.
Guy