Buienradar Weather Lookup Plugin

Python and python framework
Snowtiger
Posts: 95
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Snowtiger » Saturday 27 January 2018 20:56

EdwinK wrote:Still not working . for me :( 'error creating devices' (or something like that. Both g3rard's version as from ffes.
That's strange - I deleted the Buienradar files by deleting the domoticz/plugins/domoticz-buienradar directory, deleted the Hardware from the Domoticz web interface - restart Domoticz - create new git clone domoticz-buienradar into domoticz/plugins directory, restart Domoticz, add the Buienradar Hardware in the Domoticz web interface and all was working again.

User avatar
EdwinK
Posts: 1382
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK » Saturday 27 January 2018 21:17

It's only with this plugin and the Life360 plugin. So far all others are working. Might as well keep Darksky for now (with history)

Tried again, but still the same...
Screen Shot 2018-01-27 at 20.24.29.png
Screen Shot 2018-01-27 at 20.24.29.png (41.84 KiB) Viewed 1870 times
Last edited by EdwinK on Wednesday 07 February 2018 16:06, edited 1 time in total.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | RFxcom | Dashticz V2

User avatar
htilburgs
Posts: 509
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by htilburgs » Saturday 27 January 2018 22:22

Domoticz v3.8851 (fresh compiled) - Add Buienradar Plugin - Boem - Fatal 11.
So still no luck. Other plugins running great.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3

Ewaldharmsen
Posts: 50
Joined: Tuesday 07 February 2017 16:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen » Sunday 28 January 2018 11:16

I still have the same problem.

I reinstalled domoticz (3.81.53) and installed the buienradar plugin.
It stops working between 12 and 24 hours, I have to reboot my machine to get it fixed. Restarting the service is somehow not good enough.

But another strange this is that sometimes (2 out of 3 times) domoticz does not start automatically after a reboot. I then have to manually do sudo service domotica.sh start

User avatar
htilburgs
Posts: 509
Joined: Tuesday 03 November 2015 12:01
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by htilburgs » Monday 29 January 2018 12:07

See also the same post at: http://www.domoticz.com/forum/viewtopic ... 20#p168909

I did a fresh compile of Domoticz v3.88.71.
I'm running the BatteryLevel plugin without any issues. After installing the Buienradar plugin, my system crashes immediatly:

Code: Select all

2018-01-29 10:52:19.046  RxQueue: queue worker started...
2018-01-29 10:52:21.046  Hardware Monitor: Started
2018-01-29 10:52:21.061  YeeLight Worker started...
2018-01-29 10:52:21.061  Nest: Worker started...
2018-01-29 10:52:21.061  (Battery Level) Started.
2018-01-29 10:52:21.062  EventSystem: reset all events...
2018-01-29 10:52:21.212  dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/PIR.lua
2018-01-29 10:52:21.213  dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Ganglicht vo$
2018-01-29 10:52:21.213  dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Sensoren.lua
2018-01-29 10:52:21.214  EventSystem: reset all device statuses...
2018-01-29 10:52:21.434  PluginSystem: Entering work loop.
2018-01-29 10:52:21.465  Python EventSystem: Initalizing event module.
2018-01-29 10:52:21.466  EventSystem: Started
2018-01-29 10:52:21.466  EventSystem: Queue thread started...
2018-01-29 10:52:21.546  OpenZWave: using config in: /home/pi/domoticz/Config/
2018-01-29 10:52:21.549  OpenZWave: Starting...
2018-01-29 10:52:21.549  OpenZWave: Version: 1.4-2924-gd1896485-dirty
2018-01-29 10:52:21.614  (Battery Level) Entering work loop.
2018-01-29 10:52:21.614  (Battery Level) Initialized version 0.4.5, author 'logread'
2018-01-29 10:52:21.752  OpenZWave: Driver Ready
2018-01-29 10:52:22.062  MQTT: Connecting to 192.168.0.100:1883
2018-01-29 10:52:22.164  MQTT: connected to: 192.168.0.100:1883
2018-01-29 10:52:22.218  Incoming connection from: 192.168.0.73
2018-01-29 10:52:22.264  MQTT: Subscribed
2018-01-29 10:52:41.936  (Buienradar) Started.
2018-01-29 10:52:42.193  Error: Domoticz received fatal signal 11 !...
2018-01-29 10:52:42.199  Error:   /home/pi/domoticz/domoticz() [0x23a99c]
2018-01-29 10:52:42.199  Error:   /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x23aa54]
2018-01-29 10:52:42.199  Error:   /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0) [0x76bf86b0]
Further information about my system:

Code: Select all

pi@raspberrypi3:/ $ lsb_release -a
No LSB modules are available.
Distributor ID:	Raspbian
Description:	Raspbian GNU/Linux 9.3 (stretch)
Release:	9.3
Codename:	stretch

Code: Select all

pi@raspberrypi3:/ $ uname -a
Linux raspberrypi3 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux

Code: Select all

pi@raspberrypi3:/ $ python --version
Python 2.7.13
pi@raspberrypi3:/ $ python3 --version
Python 3.5.3

Code: Select all

pi@raspberrypi3:/ $ dpkg --list | grep python
ii  dh-python                       2.20170125                   all          Debian helper tools for packaging Python libraries and applications
ii  libpython-stdlib:armhf          2.7.13-2                     armhf        interactive high-level object-oriented language (default python version)
ii  libpython2.7-minimal:armhf      2.7.13-2+deb9u2              armhf        Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:armhf       2.7.13-2+deb9u2              armhf        Interactive high-level object-oriented language (standard library, version 2.7)
ii  libpython3-dev:armhf            3.5.3-1                      armhf        header files and a static library for Python (default)
ii  libpython3-stdlib:armhf         3.5.3-1                      armhf        interactive high-level object-oriented language (default python3 version)
ii  libpython3.4:armhf              3.4.4-3                      armhf        Shared Python runtime library (version 3.4)
ii  libpython3.4-minimal:armhf      3.4.4-3                      armhf        Minimal subset of the Python language (version 3.4)
ii  libpython3.4-stdlib:armhf       3.4.4-3                      armhf        Interactive high-level object-oriented language (standard library, version 3.4)
ii  libpython3.5:armhf              3.5.3-1                      armhf        Shared Python runtime library (version 3.5)
ii  libpython3.5-dev:armhf          3.5.3-1                      armhf        Header files and a static library for Python (v3.5)
ii  libpython3.5-minimal:armhf      3.5.3-1                      armhf        Minimal subset of the Python language (version 3.5)
ii  libpython3.5-stdlib:armhf       3.5.3-1                      armhf        Interactive high-level object-oriented language (standard library, version 3.5)
ii  python                          2.7.13-2                     armhf        interactive high-level object-oriented language (default version)
ii  python-apt-common               1.1.0~beta5                  all          Python interface to libapt-pkg (locales)
ii  python-minimal                  2.7.13-2                     armhf        minimal subset of the Python language (default version)
ii  python-rpi.gpio                 0.6.3~stretch-1              armhf        Python GPIO module for Raspberry Pi
ii  python2.7                       2.7.13-2+deb9u2              armhf        Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal               2.7.13-2+deb9u2              armhf        Minimal subset of the Python language (version 2.7)
ii  python3                         3.5.3-1                      armhf        interactive high-level object-oriented language (default python3 version)
ii  python3-apt                     1.1.0~beta5                  armhf        Python 3 interface to libapt-pkg
ii  python3-dev                     3.5.3-1                      armhf        header files and a static library for Python (default)
ii  python3-minimal                 3.5.3-1                      armhf        minimal subset of the Python language (default python3 version)
ii  python3.5                       3.5.3-1                      armhf        Interactive high-level object-oriented language (version 3.5)
ii  python3.5-dev                   3.5.3-1                      armhf        Header files and a static library for Python (v3.5)
ii  python3.5-minimal               3.5.3-1                      armhf        Minimal subset of the Python language (version 3.5)
pi@raspberrypi3:/ $ 
I hope this is enough information.
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3

User avatar
Derik
Posts: 2183
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Derik » Thursday 01 February 2018 22:02

Perhaps some stable version?
Or otherwise a solution..


xx
x
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

Ewaldharmsen
Posts: 50
Joined: Tuesday 07 February 2017 16:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen » Wednesday 07 February 2018 15:10

I am also waiting for a stable solution.
I love this plugin, but not its performance:(

Henk50
Posts: 7
Joined: Saturday 18 February 2017 10:34
Target OS: Raspberry Pi
Domoticz version: beta
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Henk50 » Friday 23 February 2018 21:57

Still running stable all the time the old version with latest Beta Domoticz V3.8942 on Pi3:
2018-02-23 19:23:26.896 (Buienr-VDaal) Initialized version 1.0.1, author 'ffes'

User avatar
felix63
Posts: 164
Joined: Monday 07 December 2015 10:30
Target OS: Raspberry Pi
Domoticz version: 3.8275
Location: Gouda
Contact:

Re: Buienradar Weather Lookup Plugin

Post by felix63 » Friday 13 April 2018 19:11

It might have been raised before, but couldn't find it. I was a regular recurring 'timeout' with Buienradar 'onHeartbeat (a couple of times each day)'. This generates a great deal of errors that are not very informative or helpful. It would be nice to be able to prevent this error and/or reduce the nummer of Error-messages to generated.

Code: Select all

2018-04-13 17:57:27.854 Error: (Buienradar) 'onHeartbeat' failed 'timeout'.
2018-04-13 17:57:27.854 Error: (Buienradar) ----> Line 143 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2018-04-13 17:57:27.854 Error: (Buienradar) ----> Line 133 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2018-04-13 17:57:27.854 Error: (Buienradar) ----> Line 292 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function fillDevices
2018-04-13 17:57:27.854 Error: (Buienradar) ----> Line 104 in /home/pi/domoticz/plugins/domoticz-buienradar/rainforecast.py, function get_precipfc_data
2018-04-13 17:57:27.854 Error: (Buienradar) ----> Line 60 in /home/pi/domoticz/plugins/domoticz-buienradar/rainforecast.py, function get_rain
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 153 in /usr/lib/python3.4/urllib/request.py, function urlopen
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 461 in /usr/lib/python3.4/urllib/request.py, function open
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 571 in /usr/lib/python3.4/urllib/request.py, function http_response
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 493 in /usr/lib/python3.4/urllib/request.py, function error
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 676 in /usr/lib/python3.4/urllib/request.py, function http_error_302
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 455 in /usr/lib/python3.4/urllib/request.py, function open
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 473 in /usr/lib/python3.4/urllib/request.py, function _open
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 433 in /usr/lib/python3.4/urllib/request.py, function _call_chain
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 1217 in /usr/lib/python3.4/urllib/request.py, function https_open
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 1180 in /usr/lib/python3.4/urllib/request.py, function do_open
2018-04-13 17:57:27.855 Error: (Buienradar) ----> Line 1172 in /usr/lib/python3.4/http/client.py, function getresponse
2018-04-13 17:57:27.856 Error: (Buienradar) ----> Line 351 in /usr/lib/python3.4/http/client.py, function begin
2018-04-13 17:57:27.856 Error: (Buienradar) ----> Line 313 in /usr/lib/python3.4/http/client.py, function _read_status
2018-04-13 17:57:27.856 Error: (Buienradar) ----> Line 374 in /usr/lib/python3.4/socket.py, function readinto
2018-04-13 17:57:27.856 Error: (Buienradar) ----> Line 745 in /usr/lib/python3.4/ssl.py, function recv_into
2018-04-13 17:57:27.856 Error: (Buienradar) ----> Line 628 in /usr/lib/python3.4/ssl.py, function read

User avatar
Derik
Posts: 2183
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Derik » Sunday 06 May 2018 14:32

Dear developer...
Is there perhas something wrong with the python version usage of this plugin?
every-time i update my odroid board and my ubuntu os, there is a problem with the plugin...
I get an error domoticz rinning exited...
When i remove the plugin domoticz is running ok...
Do you now this problem??

Wat python version is necessary
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

User avatar
Derik
Posts: 2183
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Derik » Tuesday 22 May 2018 23:54

kick? :? :?

Code: Select all

2018-05-22 23:51:45.617  (Radar) Started.
2018-05-22 23:51:45.618  EventSystem: reset all events...
2018-05-22 23:51:45.624  dzVents: Write file: /home/domoticz/domoticz/scripts/dzVents/generated_scripts/DZ: P1 reader.lua
2018-05-22 23:51:45.625  dzVents: Write file: /home/domoticz/domoticz/scripts/dzVents/generated_scripts/DZ: Teruglever 2000.lua
2018-05-22 23:51:45.625  dzVents: Write file: /home/domoticz/domoticz/scripts/dzVents/generated_scripts/DZ: Teruglever 1000.lua
2018-05-22 23:51:45.625  EventSystem: reset all device statuses...
2018-05-22 23:51:45.801  XiaomiGateway: RGB Gateway Detected
2018-05-22 23:51:46.022  PluginSystem: Entering work loop.
Segmentation fault
Only with the buienradar plugin..
And a crash of Domoticz
Without the plugin works fine...

hope someone..
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups

User avatar
gielie
Posts: 239
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Buienradar Weather Lookup Plugin

Post by gielie » Sunday 23 September 2018 11:09

I can't get the buienradar plugin to work and i get the following error.

Code: Select all

2018-09-23 11:01:25.139  Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/Buienradar/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2018-09-23 11:01:25.139  Error: (Buienradar) Module Import failed, exception: 'ImportError'
2018-09-23 11:01:25.140  Error: (Buienradar) Module Import failed: ' Name: buienradar'
2018-09-23 11:01:25.140  Error: (Buienradar) Error Line details not available.
it looks like a wrong python version problem.
Im running the latest beta on stretch and the rest of the plugins work fine.

Anyone has an idea how to solve this?
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

heblok
Posts: 1
Joined: Friday 19 October 2018 17:23
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by heblok » Friday 19 October 2018 17:38

Love this plug-in.

I noticed the Buienradar XML also contains a forcast for 5 days ahead which the plug-in wasn't picking up. I'm interested in this forecast so I can control my floor heating. It takes a few days for my system to take effect. So when I see it's going to be cold enough and it's becoming a colder season I'll switch on the floor heating pump...now it's still manual, but want to have domotics control it. So I added some bits to to the python code to get these value readings in domotics.

However, I'm not a python expert (just added bits based on general programming experience and reading the source). Also I'm not yet used to GIT. So anyone interested in helping out and maybe making this part of the official version? Also I could imagine the code and extra features may need some tidying up and maybe people are interested in adding a switch in the hardware config to enable/disable this feature?

mickeyr61
Posts: 18
Joined: Thursday 19 May 2016 11:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mickeyr61 » Monday 05 November 2018 23:47

I installed the buienradar plugin and followed the steps on gitbub. Everything looked fine, there are no errors and in the Hardware tab in Domoticz the buienradar is found and activated. But in the devices list, there are no devices created. I removed all the files, restarted domoticz and reinstalled the buienradar script, after restarting Domoticz I selected the Buienradar under hardware. But still no devices are found... How do I (manually) created the devices?

RapTile
Posts: 58
Joined: Saturday 10 March 2018 3:01
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by RapTile » Tuesday 06 November 2018 17:03

mickeyr61 wrote:
Monday 05 November 2018 23:47
I installed the buienradar plugin and followed the steps on gitbub. Everything looked fine, there are no errors and in the Hardware tab in Domoticz the buienradar is found and activated. But in the devices list, there are no devices created. I removed all the files, restarted domoticz and reinstalled the buienradar script, after restarting Domoticz I selected the Buienradar under hardware. But still no devices are found... How do I (manually) created the devices?
Shouldn't they be in the temperature tab or something?

mickeyr61
Posts: 18
Joined: Thursday 19 May 2016 11:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mickeyr61 » Tuesday 06 November 2018 21:58

mickeyr61 wrote:
Tuesday 06 November 2018 21:58
Shouldn't they be in the temperature tab or something?
No, I checked every tab, but there are no buienradar devices.

mickeyr61
Posts: 18
Joined: Thursday 19 May 2016 11:39
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mickeyr61 » Tuesday 06 November 2018 22:34

mickeyr61 wrote:
Tuesday 06 November 2018 21:58
Shouldn't they be in the temperature tab or something?
I just got a brainwave. In the settings I pushed the 'Allow devices for 5 minutes button' then reinstalled the buienradar plugin. And voila, the devices appeared under the devices tab. Problem solved

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests