Buienradar Weather Lookup Plugin

Python and python framework

Moderator: leecollings

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

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

Snowtiger wrote: Wednesday 18 October 2017 14:22
EdwinK wrote:This is from the log-tab in Domoticz.
i assume you have debug set to true in the Hardware setup of Buienradar plugin?

Yes. Didn't even notice that :) I thought it was on by default.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by G3rard »

Mace wrote:Set it both to True and Logging. All I get is:
2017-10-18 14:42:03.412 (Buienradar) Stop directive received.
2017-10-18 14:42:03.612 (Buienradar) Stopping threads.
2017-10-18 14:42:03.631 (Buienradar) Exiting work loop.
2017-10-18 14:42:03.631 (Buienradar) Stopped.
2017-10-18 14:42:03.632 (Buienradar) Started.
2017-10-18 14:42:04.039 (Buienradar) Entering work loop.
2017-10-18 14:42:04.039 (Buienradar) Initialized version 2.0, author 'ffes'

I'm on the latest Beta.
Can you share a screen print of the log screen including the above message?
Not using Domoticz anymore
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

My Buienradar keeps crashing since the latest update of the plugin:
2017-10-19 11:01:37.641 RFLink: 20;56;PONG;
2017-10-19 11:01:38.675 (Buienradar) Stop directive received.
2017-10-19 11:01:39.108 (Buienradar) Exiting work loop.
2017-10-19 11:01:43.680 (Buienradar) Stopping threads.
2017-10-19 11:01:43.680 (Buienradar) Stopped.
2017-10-19 11:01:43.680 (Buienradar) Started.
2017-10-19 11:01:57.644 RFLink: 20;57;PONG;
2017-10-19 11:02:17.646 RFLink: 20;58;PONG;
2017-10-19 11:02:37.648 RFLink: 20;59;PONG;
2017-10-19 11:02:57.650 RFLink: 20;5A;PONG;
2017-10-19 11:03:00.771 Error: Buienradar hardware (15) thread seems to have ended unexpectedly
I am on Domoticz version 3.8342

In order to get buienradar working I need to reboot the domoticz server (UDOO QUAD) and it will work for 1 or 2 days...
Mace
Posts: 65
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Mace »

G3rard wrote: Wednesday 18 October 2017 19:17
Mace wrote:Set it both to True and Logging. All I get is:
2017-10-18 14:42:03.412 (Buienradar) Stop directive received.
2017-10-18 14:42:03.612 (Buienradar) Stopping threads.
2017-10-18 14:42:03.631 (Buienradar) Exiting work loop.
2017-10-18 14:42:03.631 (Buienradar) Stopped.
2017-10-18 14:42:03.632 (Buienradar) Started.
2017-10-18 14:42:04.039 (Buienradar) Entering work loop.
2017-10-18 14:42:04.039 (Buienradar) Initialized version 2.0, author 'ffes'

I'm on the latest Beta.
Can you share a screen print of the log screen including the above message?
This is actually all the data that is in the log. The rest is from LUA and dzVents scripts....
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

I fixed it in a ugly way by just rebooting my server every 24 hours
raymond
Posts: 71
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10232
Contact:

Re: Buienradar Weather Lookup Plugin

Post by raymond »

I suddenly have the same problem on the latest stable v3.8153
I tracked the error in the log file

Code: Select all

2017-11-08 09:23:37.624  (Buienradar) Initialized version 2.0, author 'ffes'
2017-11-08 09:23:37.677  Error: Domoticz received fatal signal 11 !...
2017-11-08 09:23:37.679  Error:   /home/pi/domoticz/domoticz() [0x1cdc48]
2017-11-08 09:23:37.679  Error:   /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1cdd00]
2017-11-08 09:23:37.679  Error:   /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76aec180]
Not sure if this it but I have disabled the plugin for now to see if Domoticz doesn't crash anymore.
Goldwing1973
Posts: 69
Joined: Monday 08 August 2016 22:55
Target OS: Linux
Domoticz version: Stable
Location: Netherlands, Alphen aan den Rijn
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Goldwing1973 »

Latest stable and Buienradar stopped working.
“Error: Buienradar hardware (19) thread seems to have ended unexpectedly”

I’ve set the log to True, but nothing in the log except the “Error: Buienradar hardware (19) thread seems to have ended unexpectedly”
Over 50 Z-Wave Devices (Fibaro and Neo), 4xLogitech Hub, 2xPhilips Hue Bridge+55 Lights, 1x Nest Thermostat, 2xNetatmo Weather Station, 1xSkybell v1 Doorbell, 3 Kwikset KEVO Doorlocks and Domoticz running on a Intel NUC
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

Not sure why that is even possible, but after reinstalling Ger3rard's script domoticz is not working anymore. ;(
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

is there someone who can fix this?
rickvanakkeren
Posts: 26
Joined: Thursday 03 December 2015 13:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by rickvanakkeren »

Hi all,

I'm experiencing the same problems as mentioned above; once the plugin is installed, Domoticz stopped working. Simple removal of the plugin and Domoticz is running again. I understand this is all voluntary work (keep up the great work!), but maybe G3rard can post an update about this problem?!
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

I think there is something else wrong, I found the same behaviour with other python-based plugins.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
G3rard
Posts: 669
Joined: Wednesday 04 March 2015 22:15
Target OS: -
Domoticz version: No
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by G3rard »

Hi all, I am running the buienradar script on Domoticz v3.8153 without any problems.
I have an uptime now of 16 days and not any error messages for all of thePython scripts running. In the past I saw some errors on Pi's with the Python script, but as I am running on Ubuntu server I can't simulate the errors.

But I don't think the issues have to do with this script.
I saw some changes on the Python framework in the beta versions, so maybe who currently has errors can upgrade and see if it works.
Not using Domoticz anymore
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

Running the latest beta on Pi now. Latest beta since yesterday, that is. Since switching to Pi I get this problem.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by waaren »

Still the same problem with version Domoticz V3.8771 and one or more active plugins.

I use buienradar, homewizard, NUT_UPS and Sonos. If I make any or all of these plugins active, domoticz crashes with:

2017-12-06 08:38:18.481 PluginSystem: Entering work loop.
2017-12-06 08:38:18.650 Error: Domoticz received fatal signal 11 !...
2017-12-06 08:38:18.651 Error: /opt/domoticz/domoticz() [0x236254]
2017-12-06 08:38:18.652 Error: /opt/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x23630c]
2017-12-06 08:38:18.652 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0) [0x76c7e6b0]

on my RPI3 latest working Beta is domoticz.v3.8627
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

No logs available
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Rodio
Posts: 39
Joined: Thursday 16 April 2015 10:18
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Rodio »

Running v3.8153 on Synology and RPI.
I see NO problems
AndreFR
Posts: 14
Joined: Thursday 30 November 2017 19:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by AndreFR »

I've got a 'problem' with the location of the 'Buienradar'. I've put the location in Domoticz setup (it's correctly used by the openweathermap), however if I run python3 locatest.py it's pointing to meetstation Lauwersoog (instead of Rotterdam):
pi@raspberrypi:~/domoticz/plugins/domoticz-buienradar $ python3 localtest.py
Retrieve weather data from http://xml.buienradar.nl/
XML file contains weather station information
Found Meetstation Lauwersoog (ID: 6277) at 7.7 km from your home location
No Barometer and Visibility info found in your weather station, getting info from weather station De Bilt
Temperature: 1.6
Wind Speed: 5.65 | Wind Bearing: 97.0 | Wind Direction: E | Wind Speed Gusts: 8.9 | Wind Chill: -3.3
Barometer: None | Barometer Forecast: 5
Humidity: 81 | Humidity status: 3
Visibility: None
Solar Irradiance: 1.0
Rain rate: None
Weather prediction today: Opnieuw flinke sneeuwval (Opgesteld op maandag 11 dec 2017 om 06:30)

Any idea how to change the meetstation into Rotterdam??
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK »

In localtest.py it uses this location only to test if things work. You need to use the other file. buienradar.py I think.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
AndreFR
Posts: 14
Joined: Thursday 30 November 2017 19:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by AndreFR »

let's rephrase my question then: how do I check if the correct meetstation location is used?
AndreFR
Posts: 14
Joined: Thursday 30 November 2017 19:11
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by AndreFR »

I found the solution: restart Domoticz and watch the logs :P

Btw its now pointing to the correct ‘meetstation’
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests