I found out that Buienradar has not been working for days.
Is it only my system or is it an issue with Buienradar? I had something similar about two years ago when no data was produced for a couple of weeks.
The log produces an error:
Logger: homeassistant
Source: components/buienradar/util.py:147
First occurred: 25 novembre 2021, 09:09:03 (4 occurrences)
Last logged: 11:39:34
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/buienradar/util.py", line 147, in async_update
result = parse_data(
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar.py", line 37, in parse_data
return parse_json_data(content, raincontent,
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar_json.py", line 306, in parse_json_data
data = __parse_precipfc_data(raincontent, timeframe)
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar_json.py", line 574, in __parse_precipfc_data
mmu = 10**(float((int(val) - 109)) / 32)
ValueError: invalid literal for int() with base 10: '101,90084001227659'
I tried to download the JSON data from buienradar and it is there.
Same issue here; at this moment it won’t load either after restarts and I see the same issue where input is not an int
Logger: homeassistant
Source: components/buienradar/util.py:147
First occurred: 25 November 2021, 17:27:24 (12 occurrences)
Last logged: 16:02:02
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/buienradar/util.py", line 147, in async_update
result = parse_data(
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar.py", line 37, in parse_data
return parse_json_data(content, raincontent,
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar_json.py", line 306, in parse_json_data
data = __parse_precipfc_data(raincontent, timeframe)
File "/usr/local/lib/python3.9/site-packages/buienradar/buienradar_json.py", line 574, in __parse_precipfc_data
mmu = 10**(float((int(val) - 109)) / 32)
ValueError: invalid literal for int() with base 10: '96,2659197224948'
A friend using a virtual environment installation just corrected the bug, but I’m using docker so that’s not an option and I don’t want to create a custom component.