Re: Buienradar Weather Lookup Plugin
Posted: Monday 22 January 2018 14: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.
Open source Home Automation System
https://forum.domoticz.com/
If there is a way to troubleshoot, I'm willing to help.
Code: Select all
2018-01-22 17:21:30.041 Error: D.M.: Buienradar hardware (81) thread seems to have ended unexpectedly
Also remove it from the hardware page.
That is the problem..
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
[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.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.
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.
Still not working . for meSnowtiger wrote: ↑Saturday 27 January 2018 12:40 Buienradar plugin in Domoticz Bèta is working again - upgrade to Bèta V3.8851 and voila
Commit in Github which does the magic :Thx to Dnpwwo and others who solved this problemCode: 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.
![]()
I use the one from https://github.com/gerard33/domoticz-buienradarDerik wrote:What version do I need to use from buienradar
From the wiki or gith??
That's strange - I deleted the Buienradar files by deleting the domoticz/plugins/domoticz-buienradar directory, deleted the Hardware from the Domoticz web interface - restart Domoticz - create new git clone domoticz-buienradar into domoticz/plugins directory, restart Domoticz, add the Buienradar Hardware in the Domoticz web interface and all was working again.EdwinK wrote:Still not working . for me'error creating devices' (or something like that. Both g3rard's version as from ffes.
Code: Select all
2018-01-29 10:52:19.046 RxQueue: queue worker started...
2018-01-29 10:52:21.046 Hardware Monitor: Started
2018-01-29 10:52:21.061 YeeLight Worker started...
2018-01-29 10:52:21.061 Nest: Worker started...
2018-01-29 10:52:21.061 (Battery Level) Started.
2018-01-29 10:52:21.062 EventSystem: reset all events...
2018-01-29 10:52:21.212 dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/PIR.lua
2018-01-29 10:52:21.213 dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Ganglicht vo$
2018-01-29 10:52:21.213 dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/Sensoren.lua
2018-01-29 10:52:21.214 EventSystem: reset all device statuses...
2018-01-29 10:52:21.434 PluginSystem: Entering work loop.
2018-01-29 10:52:21.465 Python EventSystem: Initalizing event module.
2018-01-29 10:52:21.466 EventSystem: Started
2018-01-29 10:52:21.466 EventSystem: Queue thread started...
2018-01-29 10:52:21.546 OpenZWave: using config in: /home/pi/domoticz/Config/
2018-01-29 10:52:21.549 OpenZWave: Starting...
2018-01-29 10:52:21.549 OpenZWave: Version: 1.4-2924-gd1896485-dirty
2018-01-29 10:52:21.614 (Battery Level) Entering work loop.
2018-01-29 10:52:21.614 (Battery Level) Initialized version 0.4.5, author 'logread'
2018-01-29 10:52:21.752 OpenZWave: Driver Ready
2018-01-29 10:52:22.062 MQTT: Connecting to 192.168.0.100:1883
2018-01-29 10:52:22.164 MQTT: connected to: 192.168.0.100:1883
2018-01-29 10:52:22.218 Incoming connection from: 192.168.0.73
2018-01-29 10:52:22.264 MQTT: Subscribed
2018-01-29 10:52:41.936 (Buienradar) Started.
2018-01-29 10:52:42.193 Error: Domoticz received fatal signal 11 !...
2018-01-29 10:52:42.199 Error: /home/pi/domoticz/domoticz() [0x23a99c]
2018-01-29 10:52:42.199 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x23aa54]
2018-01-29 10:52:42.199 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0) [0x76bf86b0]
Code: Select all
pi@raspberrypi3:/ $ lsb_release -a
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.3 (stretch)
Release: 9.3
Codename: stretch
Code: Select all
pi@raspberrypi3:/ $ uname -a
Linux raspberrypi3 4.9.59-v7+ #1047 SMP Sun Oct 29 12:19:23 GMT 2017 armv7l GNU/Linux
Code: Select all
pi@raspberrypi3:/ $ python --version
Python 2.7.13
pi@raspberrypi3:/ $ python3 --version
Python 3.5.3
Code: Select all
pi@raspberrypi3:/ $ dpkg --list | grep python
ii dh-python 2.20170125 all Debian helper tools for packaging Python libraries and applications
ii libpython-stdlib:armhf 2.7.13-2 armhf interactive high-level object-oriented language (default python version)
ii libpython2.7-minimal:armhf 2.7.13-2+deb9u2 armhf Minimal subset of the Python language (version 2.7)
ii libpython2.7-stdlib:armhf 2.7.13-2+deb9u2 armhf Interactive high-level object-oriented language (standard library, version 2.7)
ii libpython3-dev:armhf 3.5.3-1 armhf header files and a static library for Python (default)
ii libpython3-stdlib:armhf 3.5.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii libpython3.4:armhf 3.4.4-3 armhf Shared Python runtime library (version 3.4)
ii libpython3.4-minimal:armhf 3.4.4-3 armhf Minimal subset of the Python language (version 3.4)
ii libpython3.4-stdlib:armhf 3.4.4-3 armhf Interactive high-level object-oriented language (standard library, version 3.4)
ii libpython3.5:armhf 3.5.3-1 armhf Shared Python runtime library (version 3.5)
ii libpython3.5-dev:armhf 3.5.3-1 armhf Header files and a static library for Python (v3.5)
ii libpython3.5-minimal:armhf 3.5.3-1 armhf Minimal subset of the Python language (version 3.5)
ii libpython3.5-stdlib:armhf 3.5.3-1 armhf Interactive high-level object-oriented language (standard library, version 3.5)
ii python 2.7.13-2 armhf interactive high-level object-oriented language (default version)
ii python-apt-common 1.1.0~beta5 all Python interface to libapt-pkg (locales)
ii python-minimal 2.7.13-2 armhf minimal subset of the Python language (default version)
ii python-rpi.gpio 0.6.3~stretch-1 armhf Python GPIO module for Raspberry Pi
ii python2.7 2.7.13-2+deb9u2 armhf Interactive high-level object-oriented language (version 2.7)
ii python2.7-minimal 2.7.13-2+deb9u2 armhf Minimal subset of the Python language (version 2.7)
ii python3 3.5.3-1 armhf interactive high-level object-oriented language (default python3 version)
ii python3-apt 1.1.0~beta5 armhf Python 3 interface to libapt-pkg
ii python3-dev 3.5.3-1 armhf header files and a static library for Python (default)
ii python3-minimal 3.5.3-1 armhf minimal subset of the Python language (default python3 version)
ii python3.5 3.5.3-1 armhf Interactive high-level object-oriented language (version 3.5)
ii python3.5-dev 3.5.3-1 armhf Header files and a static library for Python (v3.5)
ii python3.5-minimal 3.5.3-1 armhf Minimal subset of the Python language (version 3.5)
pi@raspberrypi3:/ $