Buienradar Weather Lookup Plugin

Python and python framework

Moderator: leecollings

mrombout
Posts: 5
Joined: Monday 11 September 2017 0:16
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10415
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mrombout »

Woops, must have missed just that one reply in the thread G3rard :shock:
Sorry! And thanks for pointing it out
Attachments
Buienradar added to Hardware list
Buienradar added to Hardware list
Snap2.png (87.15 KiB) Viewed 3092 times
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 »

No problem, good to see you have it working now .
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 »

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: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

The exact error is: Error: BuienRadar hardware (9) thread seems to have ended unexpectedly
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 »

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 BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

@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: 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 »

@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 3006 times
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 have exactly the same and after a restart of Domoticz it works fine.
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 »

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 BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
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 »

Hmmm....Not on Version: 3.8394:
where is buienradar.PNG
where is buienradar.PNG (355.52 KiB) Viewed 2972 times
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 »

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 / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by leoncaffa »

After installing the plugin following the ReadMe.MD, Buienradar was not showing up in the hardware list.
Installing python3-dev fixed it.
mrombout
Posts: 5
Joined: Monday 11 September 2017 0:16
Target OS: Raspberry Pi / ODroid
Domoticz version: v4.10415
Contact:

Re: Buienradar Weather Lookup Plugin

Post by mrombout »

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?
EddyG
Posts: 1042
Joined: Monday 02 November 2015 5:54
Target OS: -
Domoticz version:

Re: Buienradar Weather Lookup Plugin

Post by EddyG »

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?
Derik
Posts: 1601
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Derik »

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
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 »

@Derik: I see in your profile that you are running in Beta. Is this still the case? I'm on the latest beta (3.8452) and although Buienradar returned in the hardware list, I only get the temp/humidity and wind devices, not the rain sensors, which I really need to be able to automate my sunscreen.
johnnie
Posts: 37
Joined: Wednesday 10 December 2014 21:08
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.10717
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by johnnie »

Dear experts,

Can you please help me, I'm running circules.

When I select the plugin in the hardware-tab, I doesn't show any options and I'm not able to add it to the hardware list, the "toevoegen" button doesn't work. See also the picture.

I followed the github for this plugin and managed to get output running python3 localtest.py, from cli in the directory of the plugin.

After several reboots of the Pi (and Domoticz), searched the internet relating to the following log:
2017-10-07 16:51:52.642 PluginSystem: Started, Python version '3.4.2'.
2017-10-07 16:52:07.324 Python EventSystem: Module not found - Trying to initialize.
2017-10-07 16:52:07.330 Python EventSystem: Initalizing event module.
Found in a thread that this seems to be normal, but can somebody please confirm?

I'm running Rpi with Jessie, and Domoticz Version: 3.8153 Build Hash: 494fff7.
Did all apt updates today aswell.

Thanks in advance, John

>>>
Found the issue, tried to add plugin with browser: Microsoft Edge/Firefox (latest).
Tried it with an older Chrome ans with Safari on Iphone which was the solution........

>>>
Attachments
buienradar.JPG
buienradar.JPG (26.3 KiB) Viewed 3418 times
Raspi 3B+; Razberry zwave; zigbee; lots and lots of sensors
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 »

Mace wrote: Wednesday 04 October 2017 11:00 @Derik: I see in your profile that you are running in Beta. Is this still the case? I'm on the latest beta (3.8452) and although Buienradar returned in the hardware list, I only get the temp/humidity and wind devices, not the rain sensors, which I really need to be able to automate my sunscreen.
Can anybody not on the Beta tell me what devices are generated when using this in Domoticz?
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'm on the latest stable version v3.8153 and it generates (as stated in the first post of this thread and an addition made by G3rard)

In Temperature and Weather tabs: temperature, humitidy, barometer, wind, visibility, Solar Radiation.
In the Utility tab you also get: rain rate, 2 devices for rain forecast, weather forecast.

Hope this helps,

Ray
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 »

Thanks, Raymond. In the Beta, I don't have:
visibility, Solar Radiation, rain rate, 2 devices for rain forecast and weather forecast.

Hope this gets added back soon, as I really have a need for the rain forecast.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests