Python Plugin: Buienalarm (NL)

Python and python framework
Post Reply
User avatar
Xorfor
Posts: 103
Joined: Sunday 03 December 2017 23:37
Target OS: Raspberry Pi
Domoticz version: Beta
Contact:

Python Plugin: Buienalarm (NL)

Post by Xorfor » Tuesday 02 October 2018 21:02

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: 25
Joined: Friday 18 November 2016 12:34
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by Zoekm » Tuesday 13 November 2018 16:21

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: 1382
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by EdwinK » Tuesday 13 November 2018 17:54

Make a new directory WITHIN the plugins, and copy plugin.py there
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | RFxcom | Dashticz V2

Zoekm
Posts: 25
Joined: Friday 18 November 2016 12:34
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Python Plugin: Buienalarm (NL)

Post by Zoekm » Tuesday 13 November 2018 17:58

Hello EdwinK, Thanks for suggestion, but already done that, so must be something else. Also the log does not give any errors.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests