Buienradar Weather Lookup Plugin

Python and python framework
User avatar
Derik
Posts: 2068
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 21 January 2018 23:45

mmmm There is something more going wrong...
When i set the [old] plugin in the plugin area..
Reboot ..
Domoticz crash: [ Active: active (exited) ]

Code: Select all

 domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; bad; vendor preset: enabled)
   Active: active (exited) since Sun 2018-01-21 22:37:23 CET; 43s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 688 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Jan 21 22:37:22 odroid systemd[1]: Starting LSB: Home Automation System...
Jan 21 22:37:23 odroid domoticz.sh[688]: 2018-01-21 22:37:23.381  Domoticz V3.8833 (c)2012-2018 GizMoCuz
Jan 21 22:37:23 odroid domoticz.sh[688]: 2018-01-21 22:37:23.381  Build Hash: 60050638, Date: 2018-01-19 13:22:13
Jan 21 22:37:23 odroid domoticz.sh[688]: 2018-01-21 22:37:23.382  Startup Path: /home/root/domoticz/
Jan 21 22:37:23 odroid domoticz.sh[688]: domoticz: Domoticz is starting up....
Jan 21 22:37:23 odroid domoticz[700]: Domoticz is starting up....
Jan 21 22:37:23 odroid domoticz[703]: Domoticz running...
Jan 21 22:37:23 odroid systemd[1]: Started LSB: Home Automation System.
root@odroid:~# shutdown -r now
login as: root
root@192.168.5.70's password:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.14.13-100 armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage
Last login: Sun Jan 21 22:38:05 2018 from 192.168.5.5
root@odroid:~# service domoticz.sh status
● domoticz.service - LSB: Home Automation System
   Loaded: loaded (/etc/init.d/domoticz.sh; bad; vendor preset: enabled)
   Active: active (running) since Sun 2018-01-21 22:39:01 CET; 43s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 690 ExecStart=/etc/init.d/domoticz.sh start (code=exited, status=0/SUCCESS)

Jan 21 22:39:00 odroid systemd[1]: Starting LSB: Home Automation System...
Jan 21 22:39:01 odroid domoticz.sh[690]: 2018-01-21 22:39:01.571  Domoticz V3.8833 (c)2012-2018 GizMoCuz
Jan 21 22:39:01 odroid domoticz.sh[690]: 2018-01-21 22:39:01.571  Build Hash: 60050638, Date: 2018-01-19 13:22:13
Jan 21 22:39:01 odroid domoticz.sh[690]: 2018-01-21 22:39:01.571  Startup Path: /home/root/domoticz/
Jan 21 22:39:01 odroid domoticz.sh[690]: domoticz: Domoticz is starting up....
Jan 21 22:39:01 odroid domoticz[696]: Domoticz is starting up....
Jan 21 22:39:01 odroid domoticz[701]: Domoticz running...
Jan 21 22:39:01 odroid systemd[1]: Started LSB: Home Automation System
Active: active (running)


First with, and second without plugin..?
Perhaps a solution?
My director love the weather on the tablet.. :-)
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

Snowtiger
Posts: 93
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Buienradar Weather Lookup Plugin

Post by Snowtiger » Monday 22 January 2018 13:07

I have the same problem with Beta V3.8833, Raspberry Pi 3 -
Part of the log file

Code: Select all

  (Buienradar) Entering work loop.
2018-01-22 11:55:38.485  (Buienradar) Initialized version 1.1.0, author 'ffes'
2018-01-22 11:55:40.101  Error: Domoticz received fatal signal 11 !...
2018-01-22 11:55:40.112  Error:   /home/pi/domoticz/domoticz() [0x238be8]
2018-01-22 11:55:40.112  Error:   /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x238ca0]
2018-01-22 11:55:40.112  Error:   /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76c991
I am still using the default ffes Buienradar but that should make no difference Image
Edit - that made a difference - now at Gerard33 version - no problems anymore but also no Buienradar present in the Hardware tab - let's see what's going wrong :)
Last edited by Snowtiger on Monday 22 January 2018 13:07, edited 1 time in total.

User avatar
Derik
Posts: 2068
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 » Monday 22 January 2018 13:24

Mmmm think it is in the python versions..
I did upgrade tot latest python and then all my plugin fuckup.
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
EdwinK
Posts: 1146
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 » Monday 22 January 2018 13:31

I think it's Python too. There are too many versions going around, some scripts needs python2 others python3 It's getting difficult to get things running.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Snowtiger
Posts: 93
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Buienradar Weather Lookup Plugin

Post by Snowtiger » Monday 22 January 2018 13:58

Got Gerard33 version of Buienradar active - same error in Domoticz log

Code: Select all

 OpenZWave: Driver Ready
2018-01-22 12:54:01.671  (Buienradar (gerard33)) Entering work loop.
2018-01-22 12:54:01.672  (Buienradar (gerard33)) Initialized version 2.0, author 'ffes'
2018-01-22 12:54:01.750  MQTT: Connecting to localhost:1883
2018-01-22 12:54:01.852  MQTT: connected to: localhost:1883
2018-01-22 12:54:01.953  MQTT: Subscribed
2018-01-22 12:54:02.073  Error: Domoticz received fatal signal 11 !...
2018-01-22 12:54:02.077  Error:   /home/pi/domoticz/domoticz() [0x238be8]
2018-01-22 12:54:02.077  Error:   /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x238ca0]
2018-01-22 12:54:02.077  Error:   /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76c74180]
now I am out of options.....
Raspberry Pi 3
Running Debian Jessy
Python 3.4
Domoticz V3.8833 (Bèta)

User avatar
EdwinK
Posts: 1146
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 » Monday 22 January 2018 15:36

Perhaps it's still something with the plugin problem earlier? I too have some problems with a few python plugins, but others do work.
Running latest BETA on a Pi-3 | Toon Thermostat | 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 » Monday 22 January 2018 16:14

htilburgs wrote:
Sunday 21 January 2018 21:49
Domoticz v3.8833 (Fresh install by compile)
After installing this plugin, I received an error
Error: Domoticz received fatal signal 11 !...
Other plugins work fine. Disable this plugin and everything is fine again. Any ideas?
If there is a way to troubleshoot, I'm willing to help.
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: 2068
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 » Monday 22 January 2018 18:23

mm other problem,,,,,

Cannot remove the "plugin"beceasue the hardware is gone..
Or i cannot run with the plugin.
Now is Domoticz searching for the hardware:

Code: Select all

2018-01-22 17:21:30.041 Error: D.M.: Buienradar hardware (81) thread seems to have ended unexpectedly
Perhaps there is a "save mode" to remove the wrong plugin hardware?

Thanks
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

Snowtiger
Posts: 93
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Snowtiger » Monday 22 January 2018 20:06

I just remove the domoticz-buienradar directory from the plugins directory in the Domoticz installation folder - Domoticz is then searching for the Python file of Buienradar and can not find it but continues running normal.

User avatar
Derik
Posts: 2068
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 » Monday 22 January 2018 20:20

yes running normal..
Only for a stable working version it is not good Domoticz let searching for not exist hardware..
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
EdwinK
Posts: 1146
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 » Monday 22 January 2018 22:48

Snowtiger wrote:
Monday 22 January 2018 20:06
I just remove the domoticz-buienradar directory from the plugins directory in the Domoticz installation folder - Domoticz is then searching for the Python file of Buienradar and can not find it but continues running normal.
Also remove it from the hardware page.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

User avatar
Derik
Posts: 2068
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 » Monday 22 January 2018 23:36

EdwinK wrote:
Monday 22 January 2018 22:48
Snowtiger wrote:
Monday 22 January 2018 20:06
I just remove the domoticz-buienradar directory from the plugins directory in the Domoticz installation folder - Domoticz is then searching for the Python file of Buienradar and can not find it but continues running normal.
Also remove it from the hardware page.
That is the problem..
When you remove the plugin from the plugin section.
On the hardware place in Domoticz is an emty place..
So you cannot remove the hardware...
And when i activate hardware [ so lace the plugin in the plugin place ] Domoticz loops in errors..
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
waaren
Posts: 462
Joined: Tuesday 03 January 2017 15:18
Target OS: Raspberry Pi
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Buienradar Weather Lookup Plugin

Post by waaren » Monday 22 January 2018 23:48

If domoticz (or you) have problems with a plugin you can also disable the specific hardware directly in the database if you do not have access to the web interface and/or domoticz is down.

Code: Select all

# in domoticz directory
# stop domoticz (on my system I do this with the service command) 
service domoticz stop

# update Enabled field in domoticz database with command line interface 
sqlite3 domoticz.db

sqlite> -- Notice the starting .
sqlite> .headers on

sqlite> select * from hardware;

ID|Name|Enabled|Type|Address|Port|SerialPort|Username|Password|Extra|Mode1|Mode2|Mode3|Mode4|Mode5|Mode6|DataTimeout
1|Domoticz Internal|1|67||1|||||0|0|0|0|0|0|0
2|Buienradar|1|94||0||||Buienradar||10|30|False|True|Normal|0
3|RFtrx433|1|1||0|/dev/ttyUSB-RFtrx433||||83|11|0|44|46|64|0
4|Aeotec  Zwave stick|1|21||0|/dev/ttyUSB-Zwave||||0|0|0|0|0|0|0
5|RFLink|1|46||0|/dev/ttyUSB-RFlink||||0|0|0|0|0|0|0
....

sqlite> update Hardware set Enabled = 0 where Name = "Buienradar";
sqlite> .quit

service domoticz start
Raspberry (debian stretch via berryboot on Synology DS916+) , Domoticz (almost) latest Beta, RFLink, RFXtrx433e, P1, Youless, Harmony, Hue, Yeelight, Xiaomi, HomeWizard, Zwave , dzVents 2.4.n, Amazon echo

zicht
Posts: 198
Joined: Sunday 11 May 2014 11:09
Target OS: Windows
Domoticz version: 3.8xxx
Location: NL
Contact:

Re: Buienradar Weather Lookup Plugin

Post by zicht » Tuesday 23 January 2018 0:07

Hmm Just thinking out loud when reading the last posts on this thread :
buienradar has experienced some problems on their site mid last year -->They allready changed some gadget url's/server adresses.
Maybe there is something similar going on ?
(I am not using the python version myself, but the lua version and that one stopped working a while a go since they did not support the old url anymore.)
[Update 20 juli 2017]: Afgelopen dagen gaf deze widget geen data door. Dit is inmiddels verbeterd. Gebruik hiervoor de url https://gps.buienradar.nl/getrr.php?lat=51&lon=3 en niet de onderliggende url.
Rpi & Win x64. Using : cam's,Nest,RFXCom,Kaku,LaCrosse,RFY,IsAlive,Dummy,Wether Underground, standard Lua, Curl on windows,Domoticz Android App & Tasker,

"The only source of knowledge is experience (A.Einstein)"

User avatar
Derik
Posts: 2068
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 23 January 2018 0:09

And they are using HTTPS in some sites from the 18 of december.. grrr
My solarmeter is stop uploading there free weerdata
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

Snowtiger
Posts: 93
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Re: Buienradar Weather Lookup Plugin

Post by Snowtiger » Tuesday 23 January 2018 13:21

zicht wrote:Hmm Just thinking out loud when reading the last posts on this thread :
buienradar has experienced some problems on their site mid last year -->They allready changed some gadget url's/server adresses.
Maybe there is something similar going on ?
(I am not using the python version myself, but the lua version and that one stopped working a while a go since they did not support the old url anymore.)
[Update 20 juli 2017]: Afgelopen dagen gaf deze widget geen data door. Dit is inmiddels verbeterd. Gebruik hiervoor de url https://gps.buienradar.nl/getrr.php?lat=51&lon=3 en niet de onderliggende url.
Hmmm, I checked the 2 url's used in Gerard33 version and they both have normal response, so in this case it is not the problem.

Snowtiger
Posts: 93
Joined: Tuesday 18 October 2016 13:15
Target OS: Raspberry Pi
Domoticz version: 3.8363
Contact:

Buienradar Weather Lookup Plugin

Post by Snowtiger » Saturday 27 January 2018 13:40

Buienradar plugin in Domoticz Bèta is working again - upgrade to Bèta V3.8851 and voila Image
Commit in Github which does the magic :

Code: Select all

Resolve crash when positional parameters are used by restoring backwards compatibility that was broken in pull request #2071.   New parameters have been moved to the end of the parameter list rather than being added in the middle.

Previous behavior around nValue and sValue restored to match what is in stable to ensure existing plugins will function as expected. 
Thx to Dnpwwo and others who solved this problem Image

User avatar
Derik
Posts: 2068
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 » Saturday 27 January 2018 17:17

What version do I need to use from buienradar
From the wiki or gith??
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
EdwinK
Posts: 1146
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 17:37

Snowtiger wrote:
Saturday 27 January 2018 13:40
Buienradar plugin in Domoticz Bèta is working again - upgrade to Bèta V3.8851 and voila Image
Commit in Github which does the magic :

Code: Select all

Resolve crash when positional parameters are used by restoring backwards compatibility that was broken in pull request #2071.   New parameters have been moved to the end of the parameter list rather than being added in the middle.

Previous behavior around nValue and sValue restored to match what is in stable to ensure existing plugins will function as expected. 
Thx to Dnpwwo and others who solved this problem Image
Still not working . for me :( 'error creating devices' (or something like that. Both g3rard's version as from ffes.
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Snowtiger
Posts: 93
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:50

Derik wrote:What version do I need to use from buienradar
From the wiki or gith??
I use the one from https://github.com/gerard33/domoticz-buienradar

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests