G3rard wrote: ↑Monday 21 August 2017 23:58
I have made some updates to the Buienradar script of @ffes.
Added the following devices (data from xml.buienradar.nl):
* Visibility
* Solar radiation
* Rain rate
* Weather forecast
* Rain forecast (uses data from https://gps.buienradar.nl/getrr.php?lat=51&lon=3)
Check this Dutch site for more information on the rain forecast.
I have made a pull request for this and hopefully it will be merged
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
After that I have rebooted domoticz.sh
There's buienradar-domoticz in the plugin dir and when I run the localtest.py it's working.
Did I forgot something?
I went back to the stable version 8153 and buienradar is now in the hardwarelist
The only thing now is that the script is not working.
In the logging I see only: 2017-09-03 17:55:02.809 (Buienradar) Initialized version 1.1.0, author 'ffes'
No further remarks.
Did I forgot something?
It works!
rickvanakkeren wrote: ↑Friday 08 September 2017 18:40
I'm also using the stable version of Domoticz. I can see the buienradar plugin in the hardware list, but no devices are created. In the log I see
2017-09-08 18:36:49.715 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-buienradar/:/usr/local/lib/python35.zip:/usr/local/lib/python3.5/:/usr/local/lib/python3.5/plat-linux:/usr/local/lib/python3.5/lib-dynload'.
2017-09-08 18:36:49.715 Error: (Buienradar) Module Import failed, exception: 'SyntaxError'
2017-09-08 18:36:49.716 Error: (Buienradar) Import detail: File: /home/pi/domoticz/plugins/domoticz-buienradar/rainforecast.py, Line: 1734047936, offset: 92
2017-09-08 18:36:49.716 Error: (Buienradar) Error Line ' Domoticz.Log("No data found from Buienradar containing rain forecast, assuming rain forecast is 0)
Can someone help me?
Yep, I see you are using my updated version from https://github.com/gerard33/domoticz-buienradar.
I missed a " in line 92 of rainforecast.py. Just updated this on Github.
If you use the latest version of rainforecast.py from Github it should work.
Yep that is by design. Sometimes the url is not reachable, so I have added a second URL which will be checked if the first one fails. So this error should only be there occasionally.
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.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
I just updated my Domoticz to the latest stable release.
After the update I installed the Buienradar Weather Lookup plugin.
Now I can see the new hardware in Domoticz but the hardware cannot be added.
Does sombody has any idea why the hardware cannot be added?
Well, I´d really like this plugin to start working... but, if I did I wouldn´t post this
Read the entire thread, installed all Python dependencies, restarted service etc. but also in my case I caný find the entry with Buienradar.
The python3 localtest.py works ok
Retrieve weather data from http://xml.buienradar.nl/
XML file contains weather station information
Found Meetstation Lauwersoog (ID: 6277) at 7.7 km from your home location
No Barometer and Visibility info found in your weather station, getting info from weather station De Bilt
Temperature: 14.7
Wind Speed: 11.96 | Wind Bearing: 182.0 | Wind Direction: S | Wind Speed Gusts: 16.0 | Wind Chill: 14.7
Barometer: 994.51 | Barometer Forecast: 2
Humidity: 80 | Humidity status: 3
Visibility: 14800.0
Solar Irradiance: None
Rain rate: None
Weather prediction today: Winderige en natte nacht (Opgesteld op zondag 10 sep 2017 om 11:45)
First of all: I really like the plugin, I've been using it on my raspberry pi domoticz install
An idea: Is it possible to include this plugin in domoticz itself (no need to get from seperate repository and related steps) ?
It would be easier to use and for more Domoticz users.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
Well, I´d really like this plugin to start working... but, if I did I wouldn´t post this
Read the entire thread, installed all Python dependencies, restarted service etc. but also in my case I caný find the entry with Buienradar.
The python3 localtest.py works ok