Page 2 of 2
Re: BuienRadar invalid data
Posted: Monday 08 June 2020 18:56
by FireWizard
@waaren,
Thanks, I found it in the meantime. And still error free.
So obviouslly it is station related.
[Edit] The first error:
2020-06-08 18:59:50.823 Error: BuienRadar: Problem Connecting to Buienradar! (Check your Internet Connection!)
Regards
Re: BuienRadar invalid data
Posted: Monday 08 June 2020 19:14
by akamming
forkboy wrote: ↑Monday 08 June 2020 17:26
I am seeing similar Problem Connecting to BuienRadar messages. I must also say that my sensors have been updated. The last change is 5 seconds before an error in the log. The sensors seem to be updated every 10 minutes while the error is there every 5 minutes.
The rainprediction is updated every 5 mins, the station details every 10 mins, my guess is that your rain prediction details are not updated…
might have to do with the earlier error. I you have a hard configured station id, then domoticz will use the coordinates of that stationid. but earlier today the Buienradar API provided 0,0 as long/lat, so you get an error on the rainprediction (0,0 does not exist)
a restart of the Buienradar hardware (just hit update in the hardware screen without changing any settings will restart buienradar hardware so it will initialize again) might fix this..
Re: BuienRadar invalid data
Posted: Monday 08 June 2020 19:25
by forkboy
akamming wrote: ↑Monday 08 June 2020 19:14
forkboy wrote: ↑Monday 08 June 2020 17:26
I am seeing similar Problem Connecting to BuienRadar messages. I must also say that my sensors have been updated. The last change is 5 seconds before an error in the log. The sensors seem to be updated every 10 minutes while the error is there every 5 minutes.
The rainprediction is updated every 5 mins, the station details every 10 mins, my guess is that your rain prediction details are not updated…
might have to do with the earlier error. I you have a hard configured station id, then domoticz will use the coordinates of that stationid. but earlier today the Buienradar API provided 0,0 as long/lat, so you get an error on the rainprediction (0,0 does not exist)
a restart of the Buienradar hardware (just hit update in the hardware screen without changing any settings will restart buienradar hardware so it will initialize again) might fix this..
Yes you are right. I did do this, and only this, and then the problems disappeared.
Re: BuienRadar invalid data
Posted: Thursday 11 June 2020 14:43
by akamming
I've created a PR to make the code more resilient to unexpected responses from Buienradar and handle cases like the one in this thread.
It's already in the beta channel, as of build 12161. when i upgrade to latest beta i am still on 12154 (yesterday's versions), so will probably be a few hours before it's available,
Should give less errors and more measurements (behaviour which i saw on my system when i ran 2 domoticz instances, one with the old and one with the new code. The new code gave 2 errors, the old code gave me about 25), but please share your experiences with this build with regards to these buienradar errors.