Page 14 of 20
Re: Buienradar Weather Lookup Plugin
Posted: Tuesday 19 December 2017 15:05
by rjblake
waaren wrote: ↑Wednesday 06 December 2017 8:46
Still the same problem with version Domoticz V3.8771 and one or more active plugins.
I use buienradar, homewizard, NUT_UPS and Sonos. If I make any or all of these plugins active, domoticz crashes with:
2017-12-06 08:38:18.481 PluginSystem: Entering work loop.
2017-12-06 08:38:18.650 Error: Domoticz received fatal signal 11 !...
2017-12-06 08:38:18.651 Error: /opt/domoticz/domoticz() [0x236254]
2017-12-06 08:38:18.652 Error: /opt/domoticz/domoticz(_Z14signal_handleri+0x4c) [0x23630c]
2017-12-06 08:38:18.652 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer+0) [0x76c7e6b0]
on my RPI3 latest working Beta is domoticz.v3.8627
Still causes Domoticz to crash/fail to start on Raspberry Pi v3.8793 in my case. I have another Python plugin (Denon AVR) that is working just fine
Re: Buienradar Weather Lookup Plugin
Posted: Wednesday 20 December 2017 11:08
by AndreFR
I noticed that the buienrader plugin is giving some errors:
2017-12-20 08:08:38.909 Error: (Buienradar ) Error: URL:
http://xml.buienradar.nl/
2017-12-20 08:08:38.913 Error: (Buienradar ) Error: URL:
https://api.buienradar.nl/
2017-12-20 08:19:08.951 Error: (Buienradar ) 'onHeartbeat' failed 'TypeError':'type NoneType doesn't define __round__ method'.
2017-12-20 08:19:08.951 Error: (Buienradar ) ----> Line 143 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-12-20 08:19:08.951 Error: (Buienradar ) ----> Line 133 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onHeartbeat
2017-12-20 08:19:08.951 Error: (Buienradar ) ----> Line 277 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function fillDevices
(above is repeating xx minutes).
I've nothing changed on my Raspberry Pi, even after reboot of the Pi the errors are occurin. Any solution???
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 07 January 2018 23:21
by Derik
Dear developer....
Is there perhaps a option to use the wind chill separate as 1 device?
I think this a extra option in the winter...
The data is in the list:
Code: Select all
2018-01-07 23:10:58.332 (D.M.: Buienradar) Wind Speed: 5.19 | Wind Bearing: 60.0 | Wind Direction: ENE | Wind Speed Gusts: 10.0 | Wind Chill: -6.4
Or can you make this in your plugin like the text funtion etc etc
Code: Select all
2018-01-07 23:10:58.333 (D.M.: Buienradar) Weather prediction today: Wind maakt het extra koud (Opgesteld op zondag 7 jan 2018 om 10:15)
Thanks from my kids... when they get a mail how cold it feels when they have to go school..
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 12:55
by EddyG
If you want, you can do it manually by adding device 13 in the file plugin.py. It works for me.
@ffes This could be a choice in the setup.
Code: Select all
# Add the wind (and wind chill?) device
if Parameters["Mode5"] == "True":
if 6 not in Devices:
Domoticz.Device(Name="Wind", Unit=6, TypeName="Wind+Temp+Chill", Used=1).Create()
else:
if 5 not in Devices:
Domoticz.Device(Name="Wind", Unit=5, TypeName="Wind", Used=1).Create()
if 13 not in Devices:
Domoticz.Device(Name="Wind Chill", Unit=13, TypeName="Temperature", Used=1).Create()
and
Code: Select all
# Wind
if br.windBearing != None and br.windSpeed != None and br.windSpeedGusts != None:
UpdateDevice(5, 0, str(br.windBearing)
+ ";" + br.getWindDirection()
+ ";" + str(round(br.windSpeed * 10))
+ ";" + str(round(br.windSpeedGusts * 10))
+ ";0;0")
# Wind and Wind Chill
UpdateDevice(6, 0, str(br.windBearing)
+ ";" + br.getWindDirection()
+ ";" + str(round(br.windSpeed * 10))
+ ";" + str(round(br.windSpeedGusts * 10))
+ ";" + str(round(br.temperature, 1))
+ ";" + str(br.getWindChill()))
# Wind Chill
UpdateDevice(13, 0, str(br.getWindChill()))
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 13:17
by Derik
@ Eddy...
Thanks looks great...
Make no different where in the plugin.py?
And is there then a new device visible in domoticz?
Please some more info..
Thanks
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 14:54
by EddyG
Put it in the place where I put it. It the code with unit 13.
You can see by the code where.
Yes there will be a new device in the Temperature tab with 'Buienrader Wind Chill'
The parts to be added are:
Code: Select all
if 13 not in Devices:
Domoticz.Device(Name="Wind Chill", Unit=13, TypeName="Temperature", Used=1).Create()
and
Code: Select all
# Wind Chill
UpdateDevice(13, 0, str(br.getWindChill()))
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 16:26
by Derik
mmm Get an error:
Code: Select all
2018-01-08 16:13:32.751 Error: D.M.: Buienradar hardware (76) thread seems to have ended unexpectedly
Did use 1 of the first version and never did a update..
Perhaps there is a pr in github possible?
To make this standard...
Edit:
Start again everything removed..
New plugin install latest version...
Copy paste your latest code
Only error in the log:
Code: Select all
2018-01-08 16:37:25.382 (Solar: Dummy) Started.
2018-01-08 16:37:25.455 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/root/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'.
2018-01-08 16:37:25.455 Error: (Solar: Dummy) Module Import failed, exception: 'IndentationError'
2018-01-08 16:37:25.456 Error: (Solar: Dummy) Import detail: File: /home/root/domoticz/plugins/domoticz-buienradar/plugin.py, Line: -1239619133, offset: 232
2018-01-08 16:37:25.456 Error: (Solar: Dummy) Error Line ' if 13 not in Devices:
Perhaps you can share your plugin.py code?
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 16:55
by EddyG
This my plugin.py (I had to upload with py changed in txt)
The "exception: 'IndentationError'" explains why.
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 17:30
by Derik
@ Edy THANKS!!!
this did the tric
Got him:
- ScreenShot111.png (31.71 KiB) Viewed 3342 times
And the thing i mis i think:
- ScreenShot112.png (13.42 KiB) Viewed 3342 times
Thanks for the support!!
Re: Buienradar Weather Lookup Plugin
Posted: Monday 08 January 2018 20:31
by EddyG
Not completely the same:
In the Temperature tab 2 Temperature device like below.
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 20 January 2018 17:31
by Derik
mmm
I did a new install because there was something wrong...
Only now i get an error in the wget step:
Code: Select all
root@odroidxu4:/home/root/domoticz/plugins# git clone https://github.com/ffes/domoticz-buienradar.git
Cloning into 'domoticz-buienradar'...
fatal: unable to access 'https://github.com/ffes/domoticz-buienradar.git/': Could not resolve host: github.com
Perhaps something changed???
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 20 January 2018 18:32
by EdwinK
I just tried this myself a couple of minutes ago, and no errors cloning this plugin.
(still can't get it to work though)
Code: Select all
sudo git clone https://github.com/ffes/domoticz-buienradar.git Buienradar
Cloning into 'Buienradar'...
remote: Counting objects: 154, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 154 (delta 2), reused 8 (delta 2), pack-reused 143
Receiving objects: 100% (154/154), 51.65 KiB | 38.00 KiB/s, done.
Resolving deltas: 100% (85/85), done.
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 20 January 2018 18:42
by tezzlicious
Following happens on beta 3.8862 (removed and readded Buienradar hardware):
Code: Select all
2018-01-20 18:36:23.075 (Buienradar) Found Meetstation Heino (ID: 6278) at 23.6 km from your home location
2018-01-20 18:36:23.076 (Buienradar) No Barometer and Visibility info found in your weather station, getting info from weather station De Bilt
2018-01-20 18:36:23.077 (Buienradar) Temperature: 2.8
2018-01-20 18:36:23.077 (Buienradar) Wind Speed: 0.92 | Wind Bearing: 95.0 | Wind Direction: E | Wind Speed Gusts: 1.2 | Wind Chill: 2.8
2018-01-20 18:36:23.077 (Buienradar) Barometer: 1000.44 | Barometer Forecast: 2
2018-01-20 18:36:23.077 (Buienradar) Humidity: 97 | Humidity status: 3
2018-01-20 18:36:23.077 (Buienradar) Visibility: 15600.0
2018-01-20 18:36:23.077 (Buienradar) Solar Irradiance: None
2018-01-20 18:36:23.077 (Buienradar) Rain rate: None
2018-01-20 18:36:23.078 (Buienradar) Weather prediction today: Af en toe nog winters (Opgesteld op zaterdag 20 jan 2018 om 05:45)
2018-01-20 18:36:23.079 Error: Domoticz received fatal signal 11 !...
2018-01-20 18:36:23.081 Error: /home/pi/domoticz/domoticz() [0x209a84]
2018-01-20 18:36:23.081 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x209b3c]
2018-01-20 18:36:23.081 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76bf3180]
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 21 January 2018 20:33
by dutchy
Dear members,
I'm trying to install buienradar in my Windows setup, but I'm unable to find the plugins folder. I've been trying to use the manual on the github page, but it seems that I'm missing something.
Can someone help me out?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 21 January 2018 20:49
by htilburgs
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?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 21 January 2018 22:45
by Derik
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
[email protected]'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..
Buienradar Weather Lookup Plugin
Posted: Monday 22 January 2018 12:07
by Snowtiger
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
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
Re: Buienradar Weather Lookup Plugin
Posted: Monday 22 January 2018 12:24
by Derik
Mmmm think it is in the python versions..
I did upgrade tot latest python and then all my plugin fuckup.
Re: Buienradar Weather Lookup Plugin
Posted: Monday 22 January 2018 12:31
by EdwinK
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.
Buienradar Weather Lookup Plugin
Posted: Monday 22 January 2018 12:58
by Snowtiger
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)