Page 7 of 20
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 12 March 2017 21:11
by curious
I finally got this working and like it very much. Perhaps you should emphasize on github that it only works with the beta-version. Toke me some time to find out.
I tried to compare the results with those from buienradar it self.
Especially the wind-data did not match, or I compared them with the wrong data.
Could you please tell me what the data means ?
My guess
1. Winddirection in degrees
2. winddirection in text
3. Windspeed
4. Gust
5. (Wind ?) temperature
6. Windfeel
Is it possible to get the windspeed in beaufort ?
Is is possible to show what weatherstation the data comes from ?
Thank you for answering
Buienradar Weather Lookup Plugin
Posted: Sunday 12 March 2017 22:41
by Snowtiger
curious wrote:I finally got this working and like it very much. Perhaps you should emphasize on github that it only works with the beta-version. Toke me some time to find out.
I tried to compare the results with those from buienradar it self.
Especially the wind-data did not match, or I compared them with the wrong data.
Could you please tell me what the data means ?
My guess
1. Winddirection in degrees
2. winddirection in text
3. Windspeed
4. Gust
5. (Wind ?) temperature
6. Windfeel
Is it possible to get the windspeed in beaufort ?
Is is possible to show what weatherstation the data comes from ?
Thank you for answering
edit 13-03 13:01 Check your Domoticz log after Domoticz startup - the first time the Buienradar plugin is active it display the Weather Station used and the distance to your location specified in the Domoticz settings, all other times it gives an an overview of the data received
Your wind data assumption is correct - the temperature in the wind part is just a copy of the real temperature - the Wind Device is modeled after Wunderground information where the same information is available. Do not get confused by m/s and km/h
Re: Buienradar Weather Lookup Plugin
Posted: Wednesday 15 March 2017 15:22
by Ewaldharmsen
ffes wrote: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.
I have the same problem...
How can I update from stable to beta?
I run on Ubuntu (Udoobunto to be precise)
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 8:34
by pvm
Choose for beta in the Domoticz general settings and update
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 11:29
by Ewaldharmsen
pvm wrote:Choose for beta in the Domoticz general settings and update
Thanks found it, it a bit hidden:)
But it is still not working, it cannot import Domoticz...
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$ python plugin.py
Traceback (most recent call last):
File "plugin.py", line 29, in <module>
import Domoticz
ImportError: No module named Domoticz
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 15:16
by ffes
pvm wrote:But it is still not working, it cannot import Domoticz...
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$ python plugin.py
Traceback (most recent call last):
File "plugin.py", line 29, in <module>
import Domoticz
ImportError: No module named Domoticz
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$
But that is not the way to run it. Just place the files in the directory (that appears to be done) and restart domoticz. You should see the plugin con to live in the log screen.
If you want to try the plugin without domoticz, you can use "localtest.py". That fakes the Domoticz.Log().
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 17:46
by waaren
EdKo66 wrote:Thanks. I hope someone here will have a Synology and will answer.
Hi Edko66,
I sent you a PM.
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 19:49
by EdwinK
waaren wrote:EdKo66 wrote:Thanks. I hope someone here will have a Synology and will answer.
Hi Edko66,
I sent you a PM.
Got it, and working on it right now.
Thanks
Re: Buienradar Weather Lookup Plugin
Posted: Thursday 16 March 2017 22:43
by EdwinK
Still trying to get this to work.
Domoticz is running, and is in DiskStation:/volume3/@appstore/domoticz/ and the buienradar is in DiskStation:/volume3/@appstore/domoticz/plugins/buienradar
Restarted domitcz with
Code: Select all
var/packages/domoticz/scripts# ash start-stop-status restart
Still no hardware found. I think this is a beta version of Domoticz version 3.6953.
Tried some of the things written in here, but still no luck.c
Re: Buienradar Weather Lookup Plugin
Posted: Friday 17 March 2017 0:10
by waaren
Hi EdKo66,
do you have the Beta version with Python plugin enabled ? (there are also Beta versions without) and do you have the right version of Python installed ?
waaren@LM46:/volume1/Synology/Domotica:$
python3 --version
Python 3.6.0
and is your buienradar plugin in the right directory ?
waaren@LM46:/usr/local/domoticz/var/plugins/domoticz-buienradar:$ll
total 40
drwxr-sr-x 1 waaren root 192 Feb 19 23:04 .
drwxr-sr-x 1 waaren root 134 Mar 5 23:06 ..
-rw-r--r-- 1 waaren root 10686 Feb 19 22:41 buienradar.py
-rw-r--r-- 1 waaren root 196 Feb 19 22:41 .editorconfig
-rw-r--r-- 1 waaren root 368 Feb 19 22:41 fakeDomoticz.py
drwxr-sr-x 1 waaren root 138 Feb 19 22:41 .git
-rw-r--r-- 1 waaren root 29 Feb 19 22:41 .gitignore
-rw-r--r-- 1 waaren root 810 Feb 19 22:41 localtest.py
-rw-r--r-- 1 waaren root 7614 Feb 19 22:41 plugin.py
drwxr-sr-x 1 root root 92 Feb 19 22:44 __pycache__
-rw-r--r-- 1 waaren root 3666 Feb 19 22:41 ReadMe.md
- DomBeta.JPG (46.17 KiB) Viewed 2872 times
Re: Buienradar Weather Lookup Plugin
Posted: Friday 17 March 2017 9:11
by Ewaldharmsen
ffes wrote:pvm wrote:But it is still not working, it cannot import Domoticz...
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$ python plugin.py
Traceback (most recent call last):
File "plugin.py", line 29, in <module>
import Domoticz
ImportError: No module named Domoticz
udooer@udoo:~/domoticz/plugins/domoticz-buienradar$
But that is not the way to run it. Just place the files in the directory (that appears to be done) and restart domoticz. You should see the plugin con to live in the log screen.
If you want to try the plugin without domoticz, you can use "localtest.py". That fakes the Domoticz.Log().
Thanks, it is working now.
Re: Buienradar Weather Lookup Plugin
Posted: Friday 17 March 2017 9:53
by EdwinK
deleted- obsulete
Re: Buienradar Weather Lookup Plugin
Posted: Friday 17 March 2017 10:02
by EdwinK
Okay, now the hardware is found. Moving to the next step.
Re: Buienradar Weather Lookup Plugin
Posted: Saturday 18 March 2017 9:59
by schulpr
Hi Frank,
I hope you can find some time to add wind speed in Beaufort (windsnelheidBF) and visibility (zichtmeters). It will be highly appreciated!
Thanks again for the great plugin!
Kind regards, Rob
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 19 March 2017 14:15
by ffes
schulpr wrote:I hope you can find some time to add wind speed in Beaufort (windsnelheidBF) and visibility (zichtmeters). It will be highly appreciated!
The wind speed in Beaufort you can set in "Settings", "Meters/Counters"
For "visibility" there is an open issue:
https://github.com/ffes/domoticz-buienradar/issues/2
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 19 March 2017 17:00
by schulpr
I was hoping to have both values with your plugin. I use an additional LUA script to calculate the Beaufort value now for use in my weather dashboard. If it's in your plugin I can delete this LUA script.
Isn't it possible to put the visibility value as it is in the xml in a custom sensor?
Regards, Rob
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 19 March 2017 20:56
by curious
Just updated to v3.7041
First message in log is :
2017-03-19 20:43:57.758 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-buienradar/:/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'.
2017-03-19 20:43:57.758 Error: (Buienradar) Module Import failed, exception: 'MemoryError'
Is it caused by the update or something else
Re: Buienradar Weather Lookup Plugin
Posted: Monday 20 March 2017 23:23
by ffes
curious wrote:Just updated to v3.7041
First message in log is :
2017-03-19 20:43:57.758 Error: (Buienradar) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/domoticz-buienradar/:/usr/lib/python3.4/:/usr/lib/python3.4/plat-arm-linux-gnueabihf:/usr/lib/python3.4/lib-dynload'.
2017-03-19 20:43:57.758 Error: (Buienradar) Module Import failed, exception: 'MemoryError'
Is it caused by the update or something else
No idea. Just updated to 3.7067 and everything works as expected
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 02 April 2017 16:03
by Plaagje
Henk50 wrote:Are you running the beta version? That's necessary.
Have you done the following steps (Raspberry Pi)?
sudo apt-get update
sudo apt-get upgrade
sudo apt install python3.4
sudo apt install libpython3.4
sudo apt install python3-dev
Whats in the Domoticz log?
Running stable here.
how to fix this?
Re: Buienradar Weather Lookup Plugin
Posted: Sunday 02 April 2017 17:46
by gerardvs