Buienradar Weather Lookup Plugin

Python and python framework
HierBenIk
Posts: 1
Joined: Saturday 09 September 2017 22:29
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by HierBenIk » Saturday 09 September 2017 22:39

I just updated my Domoticz to the latest stable release.
After the update I installed the Buienradar Weather Lookup plugin.
Now I can see the new hardware in Domoticz but the hardware cannot be added.
Does sombody has any idea why the hardware cannot be added?

User avatar
EdwinK
Posts: 795
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: 3.8552
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK » Saturday 09 September 2017 23:16

I thought I saw a fix for this before but can't seem to find it anymore.
Found Meetstation Lauwersoog (ID: 6277) at 7.7 km from your home location
N
Living near Rotterdam, that station is a bit further away.

Running G3rard's version of the script.
Running latest STABLE on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

mrombout
Posts: 3
Joined: Monday 11 September 2017 0:16
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mrombout » Monday 11 September 2017 0:26

Domoticz V3.8392 (c)2012-2017 GizMoCuz
Build Hash: 68538e3, Date: 2017-09-10 15:51:15


Well, I´d really like this plugin to start working... but, if I did I wouldn´t post this :-)
Read the entire thread, installed all Python dependencies, restarted service etc. but also in my case I caný find the entry with Buienradar.
The python3 localtest.py works ok

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: 14.7
Wind Speed: 11.96 | Wind Bearing: 182.0 | Wind Direction: S | Wind Speed Gusts: 16.0 | Wind Chill: 14.7
Barometer: 994.51 | Barometer Forecast: 2
Humidity: 80 | Humidity status: 3
Visibility: 14800.0
Solar Irradiance: None
Rain rate: None
Weather prediction today: Winderige en natte nacht (Opgesteld op zondag 10 sep 2017 om 11:45)

I run the last beta of Domoticz.
Any tips?

pvm
Posts: 870
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: Buienradar Weather Lookup Plugin

Post by pvm » Monday 11 September 2017 0:40

First of all: I really like the plugin, I've been using it on my raspberry pi domoticz install

An idea: Is it possible to include this plugin in domoticz itself (no need to get from seperate repository and related steps) ?
It would be easier to use and for more Domoticz users.
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

User avatar
G3rard
Posts: 825
Joined: Wednesday 04 March 2015 23:15
Target OS: Linux
Domoticz version: V3.8153
Location: The Netherlands
Contact:

Buienradar Weather Lookup Plugin

Post by G3rard » Monday 11 September 2017 7:39

mrombout wrote:Domoticz V3.8392 (c)2012-2017 GizMoCuz
Build Hash: 68538e3, Date: 2017-09-10 15:51:15


Well, I´d really like this plugin to start working... but, if I did I wouldn´t post this :-)
Read the entire thread, installed all Python dependencies, restarted service etc. but also in my case I caný find the entry with Buienradar.
The python3 localtest.py works ok

I run the last beta of Domoticz.
Any tips?
viewtopic.php?p=148953#p148953
Ubuntu Server 14.04 | Domoticz v3.8153 | RFXtrx433E | Z-Wave Aeotec Z-Stick S2
Frontpage | Sonos PHP | Dark th3me | Sony Bravia Python plugin | Sonos Python plugin

mrombout
Posts: 3
Joined: Monday 11 September 2017 0:16
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mrombout » Monday 11 September 2017 9:03

Woops, must have missed just that one reply in the thread G3rard :shock:
Sorry! And thanks for pointing it out
Attachments
Snap2.png
Buienradar added to Hardware list
Snap2.png (87.15 KiB) Viewed 656 times

User avatar
G3rard
Posts: 825
Joined: Wednesday 04 March 2015 23:15
Target OS: Linux
Domoticz version: V3.8153
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by G3rard » Monday 11 September 2017 9:18

No problem, good to see you have it working now .
Ubuntu Server 14.04 | Domoticz v3.8153 | RFXtrx433E | Z-Wave Aeotec Z-Stick S2
Frontpage | Sonos PHP | Dark th3me | Sony Bravia Python plugin | Sonos Python plugin

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

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen » Monday 11 September 2017 10:47

I like the new version, so I updated the plugin to the latest version, but now it is crashing a lot.
error 9, unexpected error, in the threat.

What to do?

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

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen » Tuesday 12 September 2017 8:34

The exact error is: Error: BuienRadar hardware (9) thread seems to have ended unexpectedly

User avatar
EdwinK
Posts: 795
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: 3.8552
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK » Wednesday 13 September 2017 11:19

EdwinK wrote:
Saturday 09 September 2017 15:58
I've got some other errors now
2017-09-09 15:50:16.864 Error: (Buienradar) 'onHeartbeat' failed 'NameError':'name 'br' is not defined'.
2017-09-09 15:50:16.864 Error: (Buienradar) ----> Line 143 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-09 15:50:16.864 Error: (Buienradar) ----> Line 130 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-09 15:50:27.064 Error: (Buienradar) 'onHeartbeat' failed 'NameError':'name 'br' is not defined'.
2017-09-09 15:50:27.064 Error: (Buienradar) ----> Line 143 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-09 15:50:27.064 Error: (Buienradar) ----> Line 130 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-09 15:50:37.264 Error: (Buienradar) 'onHeartbeat' failed 'NameError':'name 'br' is not defined'.
2017-09-09 15:50:37.264 Error: (Buienradar) ----> Line 143 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-09 15:50:37.264 Error: (Buienradar) ----> Line 130 in /usr/local/domoticz/var/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
Just did a git clone earlier today.
No one that can help?

On row 107 I have this

Code: Select all

        br = Buienradar(self.myLat, self.myLon, self.interval)
        rf = RainForecast(self.myLat, self.myLon, self.timeframe)

       
So, it should work, right?
Running latest STABLE on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

raymond
Posts: 78
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi
Domoticz version: V3.8275
Contact:

Re: Buienradar Weather Lookup Plugin

Post by raymond » Wednesday 13 September 2017 11:41

@EdwinK

I went back into the Hardware tab and checked the settings on the plugin. Seems that some more items need to be filled in.
Also I had some old values from the previous version in there that did not make sense. Correcting these settings makes it work without the "br" error for me.

Cheers,

ray

User avatar
EdwinK
Posts: 795
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: 3.8552
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK » Wednesday 13 September 2017 12:05

@raymond

This are my settings on the hardware tab
Screen Shot 2017-09-13 at 12.04.19.png
Screen Shot 2017-09-13 at 12.04.19.png (84.19 KiB) Viewed 570 times
Running latest STABLE on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

raymond
Posts: 78
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi
Domoticz version: V3.8275
Contact:

Re: Buienradar Weather Lookup Plugin

Post by raymond » Wednesday 13 September 2017 12:15

I have exactly the same and after a restart of Domoticz it works fine.

User avatar
EdwinK
Posts: 795
Joined: Sunday 22 January 2017 22:46
Target OS: NAS (Synology & others)
Domoticz version: 3.8552
Location: Rhoon
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EdwinK » Wednesday 13 September 2017 13:20

raymond wrote:
Wednesday 13 September 2017 12:15
I have exactly the same and after a restart of Domoticz it works fine.

Thanks. Now it works :)
Running latest STABLE on a NAS Synology 413j | Toon Thermostat | RFxcom | Dashticz V2 |

Mace
Posts: 48
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 » Wednesday 13 September 2017 16:40

Hmmm....Not on Version: 3.8394:
where is buienradar.PNG
where is buienradar.PNG (355.52 KiB) Viewed 536 times

raymond
Posts: 78
Joined: Monday 12 October 2015 15:46
Target OS: Raspberry Pi
Domoticz version: V3.8275
Contact:

Re: Buienradar Weather Lookup Plugin

Post by raymond » Wednesday 13 September 2017 17:21

That would be because Python is disabled in the beta version for now

leoncaffa
Posts: 1
Joined: Saturday 16 September 2017 13:28
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by leoncaffa » Saturday 16 September 2017 13:32

After installing the plugin following the ReadMe.MD, Buienradar was not showing up in the hardware list.
Installing python3-dev fixed it.

mrombout
Posts: 3
Joined: Monday 11 September 2017 0:16
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mrombout » Saturday 30 September 2017 14:20

Since yesterday my Buienradar plugin doesnt seem to be trieving inforation anymore, and in the log I see these errrors

2017-09-30 14:02:24.107 Error: (Buienradar) 'onHeartbeat' failed 'AttributeError':''NoneType' object has no attribute 'text''.
2017-09-30 14:02:24.107 Error: (Buienradar) ----> Line 143 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-30 14:02:24.107 Error: (Buienradar) ----> Line 133 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-09-30 14:02:24.107 Error: (Buienradar) ----> Line 241 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function fillDevices
2017-09-30 14:02:24.107 Error: (Buienradar) ----> Line 394 in /home/pi/domoticz/plugins/domoticz-buienradar/buienradar.py, function getWeather

I´m running the stable Version: 3.8153
Build Hash: 494fff7
Compile Date: 2017-07-30 12:19:41

Restarting the Pi didnt fix it. Any ideas what could be wrong?

User avatar
EddyG
Posts: 115
Joined: Monday 02 November 2015 6:54
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by EddyG » Saturday 30 September 2017 14:42

I am using Domoticz V3.8153 (latest stable).
Rain rate, Rain forecast (2x) and Weather forecast are showing up under the Utility tab.
Is there a way to get them under the Weather tab?
Regards,
Eddy

User avatar
Derik
Posts: 1836
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 01 October 2017 9:30

dear

THANKS for this great plugin!!
Is there a explanation of the distance that is buienradar use or are there some settings that i change to my area

Edit:

mmm
Do have a problem somewhere..
The rain sensors are not updating?
Also the weatherforecast, is not working.

The other sensors are working well...
Wind solar hum etc.

See the config file in the plugin sector.
Is the only thing i need to change the station number?
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

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests