Alecto WS 5500 weather station

Others (MiLight, Hue, Toon etc...)

Moderator: leecollings

popo
Posts: 9
Joined: Saturday 22 April 2023 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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?
popo
Posts: 9
Joined: Saturday 22 April 2023 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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
Kedi
Posts: 537
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Alecto WS 5500 weather station

Post 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?
Logic will get you from A to B. Imagination will take you everywhere.
popo
Posts: 9
Joined: Saturday 22 April 2023 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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
Kedi
Posts: 537
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Alecto WS 5500 weather station

Post by Kedi »

Oke, Tnx.
Logic will get you from A to B. Imagination will take you everywhere.
jberinga
Posts: 53
Joined: Tuesday 11 August 2015 14:20
Target OS: NAS (Synology & others)
Domoticz version: 2.2903
Location: The Netherlands
Contact:

Re: Alecto WS 5500 weather station

Post 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.
jberinga
Posts: 53
Joined: Tuesday 11 August 2015 14:20
Target OS: NAS (Synology & others)
Domoticz version: 2.2903
Location: The Netherlands
Contact:

Re: Alecto WS 5500 weather station

Post 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.
fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Re: Alecto WS 5500 weather station

Post 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
Huis1
Posts: 9
Joined: Friday 06 January 2023 23:41
Target OS: -
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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

fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Re: Alecto WS 5500 weather station

Post 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….
Huis1
Posts: 9
Joined: Friday 06 January 2023 23:41
Target OS: -
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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 Image

Verstuurd vanaf mijn LE2113 met Tapatalk

fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Re: Alecto WS 5500 weather station

Post 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….😁
Huis1
Posts: 9
Joined: Friday 06 January 2023 23:41
Target OS: -
Domoticz version:
Contact:

Re: Alecto WS 5500 weather station

Post 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….Image
Image sorry, I don't know. I can't remember that I must use an username and/or password.

Verstuurd vanaf mijn LE2113 met Tapatalk

Kedi
Posts: 537
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Alecto WS 5500 weather station

Post 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.
Logic will get you from A to B. Imagination will take you everywhere.
fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Re: Alecto WS 5500 weather station

Post 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!
fjuppe
Posts: 42
Joined: Thursday 14 September 2023 19:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 16341
Location: Stockholm
Contact:

Re: Alecto WS 5500 weather station

Post 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
Kedi
Posts: 537
Joined: Monday 20 March 2023 14:41
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Somewhere in NL
Contact:

Re: Alecto WS 5500 weather station

Post 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.
Logic will get you from A to B. Imagination will take you everywhere.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest