Page 2 of 2
Re: Alecto WS 5500 weather station
Posted: Friday 07 July 2023 20:36
by popo
Is there a way to share the plugin.py file of Xorfor? I presume this code doesn’t contain errors and I also presume that this code will create devices with English names?
Re: Alecto WS 5500 weather station
Posted: Friday 07 July 2023 22:39
by popo
popo wrote:Is there a way to share the plugin.py file of Xorfor? I presume this code doesn’t contain errors and I also presume that this code will create devices with English names?
This is not necessary anymore, in the history of this project in git, I see the latest version of Xorfor.
Verzonden vanaf mijn iPad met Tapatalk
Re: Alecto WS 5500 weather station
Posted: Saturday 08 July 2023 16:05
by Kedi
Huis1 wrote: ↑Tuesday 04 July 2023 18:33
Yes, that's possible.
I have a refreshment every 60 seconds using the PWS plug in. I also use wheatear underground as a backup.
Verstuurd vanaf mijn LE2113 met Tapatalk
Still wondering how you use Weather Underground as backup?
You send PWS data to the Domoticz Xorfor plugin, but how do you send that data to WU?
Re: Alecto WS 5500 weather station
Posted: Saturday 08 July 2023 18:00
by popo
Kedi wrote:Huis1 wrote: ↑Tuesday 04 July 2023 18:33
Yes, that's possible.
I have a refreshment every 60 seconds using the PWS plug in. I also use wheatear underground as a backup.
Verstuurd vanaf mijn LE2113 met Tapatalk
Still wondering how you use Weather Underground as backup?
You send PWS data to the Domoticz Xorfor plugin, but how do you send that data to WU?
That was also my question, but Huis1 explained me that you can use the app WS-View (I use WSView Plus) to send the data of your PWS to WU (tab Wunderground) AND that you can use the tab Customized to send the data also to Domoticz . This is working fine!
Verzonden vanaf mijn iPad met Tapatalk
Re: Alecto WS 5500 weather station
Posted: Saturday 08 July 2023 18:54
by Kedi
Oke, Tnx.
Re: Alecto WS 5500 weather station
Posted: Wednesday 06 September 2023 12:21
by jberinga
Since yesterday I have this error for the PWS plugin:
Code: Select all
2023-09-06 12:09:32.241 Error: weer: Call to function 'onMessage' failed, exception details:
2023-09-06 12:09:32.241 Error: weer: Traceback (most recent call last):
2023-09-06 12:09:32.241 Error: weer: File "/opt/domoticz/userdata/plugins/Domoticz-PWS-Plugin-master/plugin.py", line 411, in onMessage
2023-09-06 12:09:32.242 Error: weer: _plugin.onMessage(Connection, Data)
2023-09-06 12:09:32.242 Error: weer: File "/opt/domoticz/userdata/plugins/Domoticz-PWS-Plugin-master/plugin.py", line 243, in onMessage
2023-09-06 12:09:32.242 Error: weer: self.raincounter = float(old_values[1]) - dailyrainmm
2023-09-06 12:09:32.242 Error: weer: TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
Anyone else having this too? I have already deleted the hardware and created it again, but no success.
There was a rain fall of -1800 mm yesterday and it looks like that triggered this error, but I can't find a fix to get it workin again so the weather data is being updated in Domoticz again.
Re: Alecto WS 5500 weather station
Posted: Wednesday 06 September 2023 20:30
by jberinga
jberinga wrote: ↑Wednesday 06 September 2023 12:21
Since yesterday I have this error for the PWS plugin:
Code: Select all
2023-09-06 12:09:32.241 Error: weer: Call to function 'onMessage' failed, exception details:
2023-09-06 12:09:32.241 Error: weer: Traceback (most recent call last):
2023-09-06 12:09:32.241 Error: weer: File "/opt/domoticz/userdata/plugins/Domoticz-PWS-Plugin-master/plugin.py", line 411, in onMessage
2023-09-06 12:09:32.242 Error: weer: _plugin.onMessage(Connection, Data)
2023-09-06 12:09:32.242 Error: weer: File "/opt/domoticz/userdata/plugins/Domoticz-PWS-Plugin-master/plugin.py", line 243, in onMessage
2023-09-06 12:09:32.242 Error: weer: self.raincounter = float(old_values[1]) - dailyrainmm
2023-09-06 12:09:32.242 Error: weer: TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'
Anyone else having this too? I have already deleted the hardware and created it again, but no success.
There was a rain fall of -1800 mm yesterday and it looks like that triggered this error, but I can't find a fix to get it workin again so the weather data is being updated in Domoticz again.
Okay, nevermind.... The recharable batteries of the weather station died... After replacing them, all is working again.
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 17:13
by fjuppe
Hello,
How can I get access to a working PWS plugin for Domoticz as mentionned in this post. I can not use the clone command, getting errors on password validation.
I am new to github so bare with me for not understanding
Thank you in advance
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 18:45
by Huis1
fjuppe wrote:Hello,
How can I get access to a working PWS plugin for Domoticz as mentionned in this post. I can not use the clone command, getting errors on password validation.
I am new to github so bare with me for not understanding
Thank you in advance
Did you follow the instructions? Did you get the PWS plugin and the WS-view app?
Verstuurd vanaf mijn LE2113 met Tapatalk
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 19:04
by fjuppe
Yes, I folloeed the instructions. But I can not clone the plugin since I dont know how to log into github to get the plug in file. I understand my password on github is not accepted but need some token instead… that is where I am stuck….
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 19:35
by Huis1
fjuppe wrote:Yes, I folloeed the instructions. But I can not clone the plugin since I dont know how to log into github to get the plug in file. I understand my password on github is not accepted but need some token instead… that is where I am stuck….
I don't think that you must login to GitHub to get the installation file.
You can find it here;
https://github.com/kovariktomas/Domoticz-PWS-Plugin
When you do need to login to GitHub make an account on GitHub and search the www to get the plugin to work in Linux.
Ik Googled al my Raspberry pi knowledge
Verstuurd vanaf mijn LE2113 met Tapatalk
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 20:02
by fjuppe
When I follow the instruction for installation and use the ”clone” command, it asks for a user name and password. I have an account on Github but the password must be a token, not my password on Github.
Is there only one .py file to put in the domoticz/plugin folder? I think I can get it there. Do I need any command in Linux to get it working or only restart Domoticz and the plugin would show up?
Thanks a lot for your help!
I am new to this….
Re: Alecto WS 5500 weather station
Posted: Wednesday 11 October 2023 20:13
by Huis1
fjuppe wrote:When I follow the instruction for installation and use the ”clone” command, it asks for a user name and password. I have an account on Github but the password must be a token, not my password on Github.
Is there only one .py file to put in the domoticz/plugin folder? I think I can get it there. Do I need any command in Linux to get it working or only restart Domoticz and the plugin would show up?
Thanks a lot for your help!
I am new to this….
sorry, I don't know. I can't remember that I must use an username and/or password.
Verstuurd vanaf mijn LE2113 met Tapatalk
Re: Alecto WS 5500 weather station
Posted: Thursday 12 October 2023 10:23
by Kedi
You do not have to login to GitHub. Just use in the /home/pi/domoticz/plugins directory
Code: Select all
git clone https://github.com/kovariktomas/Domoticz-PWS-Plugin.git
And all the files will be "cloned"
If for some reason that does not work for you then use:
Code: Select all
wget https://github.com/kovariktomas/Domoticz-PWS-Plugin/archive/refs/heads/master.zip
or
Code: Select all
curl -s https://github.com/kovariktomas/Domoticz-PWS-Plugin/archive/refs/heads/master.zip
and unzip that file in the /home/pi/domoticz/plugins/Domoticz-PWS-Plugin directory.
And yes you only need the plugin.py file.
Re: Alecto WS 5500 weather station
Posted: Thursday 12 October 2023 11:04
by fjuppe
OK, your suggestions fixed my problem.
I now have the plugin working in Domoticz.
Just translated the .py file into Swedish and now only waiting for my weather station to arrive.
Thank you to all!
Re: Alecto WS 5500 weather station
Posted: Wednesday 18 October 2023 12:03
by fjuppe
Hello,
Now I have set up my weather station (Ventus W830W, should be the same as WS-5500). The plugin is working but I have a few problems that I am asking for help for. all devices are created correctly. The Baro device says Absolute pressure but weather displays shows Relative pressure and this I can not change...
All values are transferred to WU correctly, Rain and Baro also.
1. I have and entry in the Domoticz logfile every time the plugin is run:
Code: Select all
2023-10-18 09:09:04.157 Error: W830: Call to function 'onMessage' failed, exception details:
2023-10-18 09:09:04.157 Error: W830: Traceback (most recent call last):
2023-10-18 09:09:04.157 Error: W830: File "/domoticz/plugins/Domoticz-PWS-Plugin/plugin.py", line 432, in onMessage
2023-10-18 09:09:04.157 Error: W830: _plugin.onMessage(Connection, Data)
2023-10-18 09:09:04.157 Error: W830: File "/domoticz/plugins/Domoticz-PWS-Plugin/plugin.py", line 352, in onMessage
2023-10-18 09:09:04.157 Error: W830: "{} ({}): {}: [{},{},{},{},{}]".format(Connection.Address, softwaretype, protocol, rainmm, dailyrainmm, weeklyraininmm, monthlyraininmm, yearlyraininmm),
2023-10-18 09:09:04.157 Error: W830: UnboundLocalError: local variable 'softwaretype' referenced before assignment
2. The Rain, rainrate and Baro values are not transferred to Domoticz devices. Maybe depending on above error ??
Any ideas?
Any help is much appreciated, but remember, I am not so familiar with Linux commands
BR
Re: Alecto WS 5500 weather station
Posted: Wednesday 18 October 2023 19:56
by Kedi
I use the plugin from
https://github.com/Xorfor
It is not available anymore because the user switch to HA.
You could ask him for the source or search in history.