Python Plugin: Buienalarm (NL) Topic is solved

Python and python framework

Moderator: leecollings

Post Reply
Xorfor

Python Plugin: Buienalarm (NL)

Post by Xorfor »

This Domoticz plugin gets the expected percipitation at your location from https://www.buienalarm.nl/. Other weather hardware/plugins only show the current situation. This plugin shows the rain expectations for the coming 2 hours.

You can use the Alert device to trigger actions, like closing windows, etc.

Plugin can be found @ https://github.com/Xorfor/Domoticz-Buienalarm-Plugin

Look at the README.md for more information.

I have still the following issues:

1. It seems that the api is also working for some countries. I didn't have time to do some more investigation. Therefore this plugin can only be used in the Netherlands and is also in the Dutch language.
2. I am using the Rain device from Domoticz, but also expects the total rainfall, which I can not measure/calculate. Any suggestions.
3. The Domoticz Alert device has 5 levels. I didn't find a better definition for these levels.
Zoekm
Posts: 20
Joined: Friday 18 November 2016 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by Zoekm »

Hello Xorfor, looks nice and something I can use, but I am unable to install the plugin. What I did is copy the plugin.py to the Domoticz plugin directory and set the permission for execution and restarted the RPi (with raspbian-stretch and Domoticz v 4.9700). There is no buienalarm plugin listed on the hardware page to add. Is there something else I have to do to use your plugin?

Thanks,
Zoek
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by EdwinK »

Make a new directory WITHIN the plugins, and copy plugin.py there
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Zoekm
Posts: 20
Joined: Friday 18 November 2016 11:34
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by Zoekm »

Hello EdwinK, Thanks for suggestion, but already done that, so must be something else. Also the log does not give any errors.
mvroosmalen
Posts: 23
Joined: Saturday 03 December 2016 16:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by mvroosmalen »

Just tested the python plugin and when as described the plugin is placed in a folder in the plugin folder with (755) is appears after restart of domoticz in a few minutes in the hardware as buienalarm. On activation three new devices are created and every 5min these are updated depending on the buienalarm status.

Good work
Mark :D
Krijn20345
Posts: 3
Joined: Wednesday 28 December 2016 17:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by Krijn20345 »

Hi,

I just installed the plugin into /home/pi/domoticz/plugins/buienalarm/plugin.py. But it doesn't appear in my Hardware. Any suggestions?

Krijn
mvroosmalen
Posts: 23
Joined: Saturday 03 December 2016 16:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by mvroosmalen »

Hi,

Did you change rights to 755 (execute) and restart domoticz?

Mark
mojojojo490
Posts: 32
Joined: Saturday 03 August 2019 7:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: Netherlands, Heiloo
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by mojojojo490 »

Hi all,

is it possible to make a graph, like the app from Buienalarm does, that you can see for the next 2 hours, when and how much rain is comming?
Starter RPi3B, Domoticz Stable 2020.2, 10x Qubino Mini Dimmer, 1x Qubino shutter
Plugwise Anna + Adam + 2x Koen-4 & 1x Floor; SolarEdge SE3000H
Dashticz v3
User avatar
FireWizard
Posts: 1862
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by FireWizard »

Hi, @mojojojo490

Do you mean, something like this?

Screenshot_Buienradar leadtime.png
Screenshot_Buienradar leadtime.png (124.62 KiB) Viewed 1642 times
You can use the native Buienradar "hardware", instead of the Python Plug-in.

Regards
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest