Your sensors default name will be sensor.ba_{monitored_condition}
You can provide a timeframe: Minutes to look ahead for precipitation forecast (min: 5 / max: 120). - Default value: 60
This one pulls rain data from the buienradar website as it is used as input for the rain-graph shown on the buienradar localized website. Unfortunately there is not good way to display the info in a graph, at least not that I could find. Everything is made with history-graphs in mind.
But I’m only a beginner. That’s why I went with showing the buienalarm-graphs in a Panel Iframe
but if i do a reboot of my HassOS , i get errror below
if i then do a restart only of hassio, no error anymore, and working
2019-06-12 12:20:18 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up platform buienalarm
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/buienalarm/sensor.py", line 72, in setup_platform
dev.append(BaSensor(b, sensor, timeframe, config.get(CONF_NAME)))
File "/config/custom_components/buienalarm/sensor.py", line 89, in __init__
self.update()
File "/config/custom_components/buienalarm/sensor.py", line 117, in update
self._state = self.buienalarm.get_precipitation_now()
File "/usr/local/lib/python3.7/site-packages/buienalarm/pybuienalarm.py", line 45, in get_precipitation_now
return self.precipitation[1]
KeyError: 1
Hello,
is there a way to specify multiple locations? I’d love to get that information for my work and my home and they are not in the same region at all.
Hello Giel
I’m new to this all, but i’m running homeassistant in Docker, i can’t figure out how to add buienalarm to the container.
Buienradar is already added but i prefer to use buienalarm.
I suppose i need to install it somehow with a pip command.
Nope, you have to make a custom_components folder in your config folder (where your configuration.yaml lives) In that folder make a folder buienalarm, in there you have to place those 4 files.
Thank you for that fast reply, the folder creation was easy done, but now the stupid question, i don’t now how to download those files from your link (sorry)
In de meantime i found out how to add them, but i do have an error when cheking the configuration file
But, your directory structure is wrong.
The buienalarm-directory must be inside another directory with the name custom_components
On your system: homeassistance/custom_components/buienalarm
I tried buienalarm and although I like it, it showed up in pihole generating 46000 request in the last 24 hours. That is by far the absolute highest position in my network. The next domain on the list has “only” 11000. Is there something that can be done?