Page 6 of 20
Re: Buienradar Weather Lookup Plugin
Posted: Tuesday 28 February 2017 13:46
by schulpr
Hi ffes,
I hope you can find some time to implement the other available weather data soon. I think it's very stable.
<zichtmeters>39000</zichtmeters>
<windstotenMS>13.8</windstotenMS>
<zonintensiteitWM2>292</zonintensiteitWM2>
Thanks for all your work!
Rob
Re: Buienradar Weather Lookup Plugin
Posted: Tuesday 28 February 2017 13:55
by ffes
@sander815
And when it stops working, what is shown in the log? Do you see the plugin's log lines appear?
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 04 March 2017 19:15
by ffes
I just released a new version of my Buienradar plugin. This uses the new Settings dictionary that was added to the Python plugin in recent betas. So before you upgrade to this version of the Buienradar plugin be sure to have the latest beta of Domoticz.
So for new users there is zero configuration to get the plugin running initially.
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 04 March 2017 22:25
by Bengelen
It works for me now, is it hard or possible to get data from buienradar.be also?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 13:14
by ffes
Bengelen wrote:Is it hard or possible to get data from buienradar.be also?
That seems not possible. I use
http://xml.buienradar.nl to get the weather information.
http://xml.buienradar.be doesn't work, so there is no data to use for me.
Also notice that things they provide on
http://www.buienradar.be/overbuienradar ... uw-website is much smaller then
http://www.buienradar.nl/overbuienradar ... uw-website. Maybe multiple requests from various Belgian users will help them to bring those features to Belgium as well.
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 14:50
by RayAmsterdam
Beta 3.6863
Rpi 3b
Today I installed the plugin. After selecting it in the hardware menu, it said the devices are added to the devices tab. Unfortunately they aren't. Am I missing something?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 17:50
by EdwinK
When trying to restart domoticz I get the following
root@DiskStation:/volume3/@appstore/domoticz/plugins/buienrader# sudo service domoticz.sh restart
sudo: service: command not found
Stopping and restarting from Synology panel didn't help either
Running on Synology 6.1
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 18:30
by ffes
RayAmsterdam wrote:Today I installed the plugin. After selecting it in the hardware menu, it said the devices are added to the devices tab. Unfortunately they aren't. Am I missing something?
What do you see in the log? Did you try to filter the devices based on the name you gave on the hardware page?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 18:32
by RayAmsterdam
ffes wrote:RayAmsterdam wrote:Today I installed the plugin. After selecting it in the hardware menu, it said the devices are added to the devices tab. Unfortunately they aren't. Am I missing something?
What do you see in the log? Did you try to filter the devices based on the name you gave on the hardware page?
I get error "Error: Buienradar hardware (21) thread seems to have ended unexpectedly" in the log. I used the filter.
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 18:40
by ffes
RayAmsterdam wrote:I get error "Error: Buienradar hardware (21) thread seems to have ended unexpectedly" in the log. I used the filter.
Pfff, I have never seen that before. I don't think it is something I can do much about. A script should not be able to end a thread that way, I would think.
Do you run the latest beta of domoticz? Could you restart domoticz and look at the logs?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 05 March 2017 18:47
by RayAmsterdam
ffes wrote:RayAmsterdam wrote:I get error "Error: Buienradar hardware (21) thread seems to have ended unexpectedly" in the log. I used the filter.
Pfff, I have never seen that before. I don't think it is something I can do much about. A script should not be able to end a thread that way, I would think.
Do you run the latest beta of domoticz? Could you restart domoticz and look at the logs?
Yep, running latest beta. Already restarted Domoticz and pi. Sonos plugin is running normal.
Re: Buienradar Weather Lookup Plugin
Posted: Tuesday 07 March 2017 20:54
by RayAmsterdam
I reinstalled the plugin and reconfugured it in Domoticz. It stated again the hardware is created and devices added. I got the following errors in the log:
Code: Select all
2017-03-07 20:50:34.186 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/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-03-07 20:50:34.186 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2017-03-07 20:50:34.186 Error: (Buienradar) Module Import failed: ' Name: buienradar'
Buienradar Weather Lookup Plugin
Posted: Wednesday 08 March 2017 12:34
by Snowtiger
RayAmsterdam wrote:I reinstalled the plugin and reconfugured it in Domoticz. It stated again the hardware is created and devices added. I got the following errors in the log:
Code: Select all
2017-03-07 20:50:34.186 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/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-03-07 20:50:34.186 Error: (Buienradar) Module Import failed, exception: 'ImportError'
2017-03-07 20:50:34.186 Error: (Buienradar) Module Import failed: ' Name: buienradar'
there is a problem with the library the plugin uses - in your error code you see /plugins/Buienradar - if you do a
you get /plugins/domoticz-buienradar, this discrepancy can also be read in the Readme.md in Git
Code: Select all
1.In your domoticz/plugins directory do
cd domoticz/plugins
git clone https://github.com/ffes/domoticz-buienradar.git
2.Alternatively you can download the latest version from https://github.com/ffes/domoticz-buienradar/archive/master.zip and unzip it. Then create a directory on your Domoticz device in domoticz/plugins named buienradar and transfer all the files to your device.
So - if you use the 2nd method the plugin should work.
@ffes should update git to get the modules in /plugins/Buienradar to let this work via git - my choice of method btw
I created an issue in Git to address this
Re: Buienradar Weather Lookup Plugin
Posted: Wednesday 08 March 2017 12:37
by RayAmsterdam
Thanks! I missed the files.
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 7:35
by Derik
mmm
Is there a how to for plugins?
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 10:04
by htca
I got this error:
Code: Select all
2017-03-09 09:54:20.583 (buienradar) Initialized version 1.1.0, author 'ffes'
2017-03-09 09:54:20.663 (buienradar) Devices created.
2017-03-09 09:54:20.663 Error: (buienradar) 'onStart' failed 'NameError':'name 'Settings' is not defined'.
2017-03-09 09:54:20.663 Error: (buienradar) ----> Line 55 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart
My version is 3.6802
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 10:17
by EdwinK
EdKo66 wrote:When trying to restart domoticz I get the following
root@DiskStation:/volume3/@appstore/domoticz/plugins/buienrader# sudo service domoticz.sh restart
sudo: service: command not found
Stopping and restarting from Synology panel didn't help either
Running on Synology 6.1
No one?
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 13:00
by ffes
htca wrote:I got this error:
Code: Select all
2017-03-09 09:54:20.583 (buienradar) Initialized version 1.1.0, author 'ffes'
2017-03-09 09:54:20.663 (buienradar) Devices created.
2017-03-09 09:54:20.663 Error: (buienradar) 'onStart' failed 'NameError':'name 'Settings' is not defined'.
2017-03-09 09:54:20.663 Error: (buienradar) ----> Line 55 in /home/pi/domoticz/plugins/domoticz-buienradar/plugin.py, function onStart
My version is 3.6802
Not sure which version of the beta the Settings were added, but I know in 3.6839 they were available. At the moment the latest beta is 3.6882. So please upgrade to the latest beta and that will most likely solve your issue.
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 13:06
by ffes
EdKo66 wrote:EdKo66 wrote:When trying to restart domoticz I get the following
root@DiskStation:/volume3/@appstore/domoticz/plugins/buienrader# sudo service domoticz.sh restart
sudo: service: command not found
Stopping and restarting from Synology panel didn't help either
Running on Synology 6.1
No one?
No sorry. Don't own a Synology so can't really help you. There has to be a way to restart a service without restarting the entire device though.
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 09 March 2017 13:16
by EdwinK
Thanks. I hope someone here will have a Synology and will answer.