Buienradar Weather Lookup Plugin

Python and python framework

Moderator: leecollings

SweetPants

Re: Buienradar Weather Lookup Plugin

Post by SweetPants »

Then there must be a mismatch between the actual device name and the name of the text device in the script. I can't think of something else,
What is the 'Last Seen' in the device overview for this device?
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

Can you try to remove the device, then restart the buienradar plugin?
User avatar
Dutchsea
Posts: 120
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Dutchsea »

Maybe this is related: https://www.domoticz.com/forum/viewtopi ... =6&t=27336

I tried adding the pluginn using the latest files from github but it crashes my domoticz....
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2024.7
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
FireWizard
Posts: 1902
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Buienradar Weather Lookup Plugin

Post by FireWizard »

@SweetPants.
The "Last Seen" for this text device is exactly, what is shown at the screenshot of the sensor.
Below you will see a screenshot for devices of "Buienradar".
As you can see the text device is the only device, that stops.
Buienradar- Device_Overview.png
Buienradar- Device_Overview.png (76.52 KiB) Viewed 2984 times
I will continue and do more checks

Thanks for your answers so far
User avatar
FireWizard
Posts: 1902
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Buienradar Weather Lookup Plugin

Post by FireWizard »

@Dutchsea
I do not recognise that the Buienradar plugin causes Domoticz to crash.
Everything written in that thread is unknown to me.

I have deleted the Buienradar text sensor, rebooted the RPi, and ticked the box "Accept new hardware devices". I have to wait now for Buienradar to update the text sensor and see that it has been added with the latest text. Probably tomorrow.
User avatar
FireWizard
Posts: 1902
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: [Solved] Buienradar Weather Lookup Plugin

Post by FireWizard »

Deleting the text sensor only did not work. Even after an updated text message has been received this morning, Domoticz did not add a new text device.
The next step was to delete Buienradar.nl (Weather Lookup) completely in "Hardware". So you will loose all Buienradar devices. Just to be sure I did a reboot of the RPI. Don't think that that is necessary, but just to be sure.
Afterwards I added Buienradar.nl (Weather Lookup) again in Hardware and it created 9 new devices, among them a text device.

I noticed some significant changes compared to the previous version.
In the old version the plugin created 10 different devices; the latest version from github creates 9 devices.
The 6 first devices are the same, but then comes the difference.
In the old version version you will find 3 custom sensors (Rain rate (mm/h), Rain forecast [0-255] and Rain forecast (mm/h)). These 3 custom sensors were published under the utility tab. (See the screenshot above).
In the latest version these 3 sensors are replaced by 2 new sensors, placed under the Weather tab (Current Rain rate (mm) and Rain forecast (mm)).
The text sensor you will find back under the Utility tab, as before. See the screenshot below.
Buienradar- Device_Overview_New.png
Buienradar- Device_Overview_New.png (65.34 KiB) Viewed 2951 times
Although I think that one forecast is sufficient and see it as an improvement, I also believe that this is the cause that updating the text sensor stopped.
This was already suggested in some way by SweetPants.

Thanks everybody for their suggestions.
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

oeps sorry, I could have telled you this. I released version 2 as a breaking change. You indeed have to remove all rain devices and forecast devices, then restart the plugin if you upgrade to version 2+
User avatar
FireWizard
Posts: 1902
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Buienradar Weather Lookup Plugin

Post by FireWizard »

Doesn't matter, It is solved now.
Thank you anyhow.
jeroenkl
Posts: 113
Joined: Sunday 14 July 2013 22:00
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: NL
Contact:

Re: Buienradar Weather Lookup Plugin

Post by jeroenkl »

Works great! thanks!
DosN
Posts: 49
Joined: Monday 29 January 2018 7:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by DosN »

i also installed the plugin , but it is not working at all
the PI will crash .
at the logging i see:

2019-04-01 18:39:25.780 Status: (Weersverwachting (Buienradar)) Started.
2019-04-01 18:40:38.962 Error: Weersverwachting (Buienradar) hardware (24) thread seems to have ended unexpectedly
2019-04-01 18:40:52.965 Error: Weersverwachting (Buienradar) hardware (24) thread seems to have ended unexpectedly
2019-04-01 18:41:06.968 Error: Motherboard sensors hardware (23) thread seems to have ended unexpectedly
2019-04-01 18:41:06.968 Error: Weersverwachting (Buienradar) hardware (24) thread seems to have ended unexpectedly
User avatar
Dutchsea
Posts: 120
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Dutchsea »

Hi, I am using the buienradar plugin and its working fine. On the weather tab, next to the buienradar values (rain, pressure etc), there is also a 'forecast' button. When I use it the page gives Darksky forecast overview.

Is this expected behavior?

And can I change this forecast page to an alternative provider? (and possibly have the language set to Dutch?)

Thx
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2024.7
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
DosN
Posts: 49
Joined: Monday 29 January 2018 7:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by DosN »

which version python is needed?

i have :
pi@raspberrypi:~ $ python --version
Python 2.7.9
pi@raspberrypi:~ $ python3 --version
Python 3.4.2
flyboarder
Posts: 4
Joined: Thursday 04 April 2019 20:36
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by flyboarder »

I installed the plug-in following the steps on the git page. But after I add Buienrader on the hardware page I see the following error in the log:

2019-04-03 23:14:03.318 Error: (Buienradar) 'onStart' failed 'TypeError':'__init__() takes from 1 to 4 positional arguments but 5 were given'.
2019-04-03 23:14:03.318 Error: (Buienradar) ----> Line 152 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart
2019-04-03 23:14:03.318 Error: (Buienradar) ----> Line 120 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart

Does anyone has a clue what is going wrong here?
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

flyboarder wrote: Thursday 04 April 2019 20:38 I installed the plug-in following the steps on the git page. But after I add Buienrader on the hardware page I see the following error in the log:

2019-04-03 23:14:03.318 Error: (Buienradar) 'onStart' failed 'TypeError':'__init__() takes from 1 to 4 positional arguments but 5 were given'.
2019-04-03 23:14:03.318 Error: (Buienradar) ----> Line 152 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart
2019-04-03 23:14:03.318 Error: (Buienradar) ----> Line 120 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart

Does anyone has a clue what is going wrong here?
can you update the plugin with git pull and try again?
gerbenvanasselt
Posts: 74
Joined: Friday 07 September 2018 14:46
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta 4.1
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by gerbenvanasselt »

After updating the plugin i have the following error.

Running domo beta v.10572 with python version 3.5.3 rpi 3b.

Befere the update it worked well.

First did a git pull and the following error occured. Then I deleted the plugin from hardware tab and remove the plugin from the domo plugin folder. After that i did a git clone and installed the hardware again. But the same error occured.

2019-04-05 13:37:10.872 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-buienradar/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-04-05 13:37:10.872 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2019-04-05 13:37:10.872 Error: (Buienradar) Error Line details not available.
SweetPants

Re: Buienradar Weather Lookup Plugin

Post by SweetPants »

Dutchsea wrote: Tuesday 02 April 2019 20:32 Hi, I am using the buienradar plugin and its working fine. On the weather tab, next to the buienradar values (rain, pressure etc), there is also a 'forecast' button. When I use it the page gives Darksky forecast overview.

Is this expected behavior?

And can I change this forecast page to an alternative provider? (and possibly have the language set to Dutch?)

Thx
Darksky is hardcoded, you can change this page to Dutch (Nederlands) using the language setting in settings menu
User avatar
Dutchsea
Posts: 120
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Dutchsea »

[/quote]

Darksky is hardcoded, you can change this page to Dutch (Nederlands) using the language setting in settings menu
[/quote]

Good to know, Thank you.
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2024.7
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
jberinga
Posts: 60
Joined: Tuesday 11 August 2015 14:20
Target OS: NAS (Synology & others)
Domoticz version: 2024.7
Location: The Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by jberinga »

It looks like I don't have any Rain rate logged.

The last 24 hours it has rained where I live (weather station Groningen), but I don't see any record for this in the Rain rate statistics. In the log I see: Rain rate: None

Has someone else seen this before and is there a solution?
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

jberinga wrote: Friday 05 April 2019 16:34 It looks like I don't have any Rain rate logged.

The last 24 hours it has rained where I live (weather station Groningen), but I don't see any record for this in the Rain rate statistics. In the log I see: Rain rate: None

Has someone else seen this before and is there a solution?
Sorry I may have released a buggy version. Will try toch release a bugfree version as soon as IT starts raining
Ewaldharmsen
Posts: 130
Joined: Tuesday 07 February 2017 15:00
Target OS: Linux
Domoticz version:
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Ewaldharmsen »

gerbenvanasselt wrote: Friday 05 April 2019 13:45 After updating the plugin i have the following error.

Running domo beta v.10572 with python version 3.5.3 rpi 3b.

Befere the update it worked well.

First did a git pull and the following error occured. Then I deleted the plugin from hardware tab and remove the plugin from the domo plugin folder. After that i did a git clone and installed the hardware again. But the same error occured.

2019-04-05 13:37:10.872 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-buienradar/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload:/usr/local/lib/python3.5/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3.5/dist-packages'.
2019-04-05 13:37:10.872 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2019-04-05 13:37:10.872 Error: (Buienradar) Error Line details not available.
I think I solved the issue can you try again?
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest