BuienRadar invalid data

Moderator: leecollings

User avatar
FireWizard
Posts: 1745
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: BuienRadar invalid data

Post 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
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: BuienRadar invalid data

Post 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..
forkboy
Posts: 13
Joined: Saturday 20 January 2018 13:12
Target OS: -
Domoticz version:
Contact:

Re: BuienRadar invalid data

Post 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.
akamming
Posts: 337
Joined: Friday 17 August 2018 14:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: BuienRadar invalid data

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest