Page 3 of 3

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 27 November 2021 12:18
by Martijn684
Looks fine to me - the order of the parameters is different but that is not important either...

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 27 November 2021 17:50
by McMelloW
Martijn684 wrote: Saturday 27 November 2021 11:40 Here's some background information that I posted recently on GitHub:

WS View should allow you to configure a Custom output. On this Custom WS View settings page, only a few things are relevant: the protocol switch, which must be Wunderground, "Server IP / Hostname", which must be set to the IP address of your Domoticz server, and "Port" which must correspond to the port number you configured for the WuDirect plugin.

Path can be anything as long as it starts with a "/" and ends with a "?", and "Station ID" and password can also be anything - they are not used in WuDirect at all.

WuDirect only parses the Wunderground data which your PWS should transmit as part of the URL after the question mark, so the bold part in the example below:

/weatherstation/updateweatherstation.php?ID=IXXXXXX&PASSWORD=NoKeyNeeded&indoortempf=72.9&tempf=66.9&dewptf=63.0&windchillf=66.9&indoorhumidity=65&humidity=87&windspeedmph=1.6&windgustmph=2.2&winddir=196&absbaromin=29.740&baromin=29.918&rainin=0.000&dailyrainin=0.059&weeklyrainin=1.220&monthlyrainin=1.500&solarradiation=86.73&UV=0&dateutc=2019-08-17%2012:42:23&softwaretype=EasyWeatherV1.4.1&action=updateraw&realtime=1&rtfreq=5

Hope this may help you set it up with non-standard equipment...
Thanks for the additional info. The PWS works for me OK now.
As I also find out, the WS view app can handle and configure my PWS console with more then 1 website settings. I use the Wunderground screen with settings Stations ID and Key as well as the Customized screen with the correct setting for the WuDirect plugin. Both are updated with data from my PWS.

Tried to change the updateweatherstation.php to redirect and use as splitter. But I was not able to get it working. For now I am happy with the results.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Wednesday 23 March 2022 16:24
by rolandtwilt
the power went out and after everything is restarted everything works again except this plugin from my weather station. I don't understand what's wrong, I hope you do.
Below are the lines from the log:

2022-03-23 16:19:43.480 Error: Weerstation achter: Call to function 'onMessage' failed, exception details:
2022-03-23 16:19:43.481 Error: Weerstation achter: Traceback (most recent call last):
2022-03-23 16:19:43.481 Error: Weerstation achter: File "/home/pi/domoticz/plugins/Domoticz-PWS-Plugin/plugin.py", line 411, in onMessage
2022-03-23 16:19:43.481 Error: Weerstation achter: _plugin.onMessage(Connection, Data)
2022-03-23 16:19:43.481 Error: Weerstation achter: File "/home/pi/domoticz/plugins/Domoticz-PWS-Plugin/plugin.py", line 217, in onMessage
2022-03-23 16:19:43.481 Error: Weerstation achter: if data.get("dewptf") is None
2022-03-23 16:19:43.481 Error: Weerstation achter: File "/home/pi/domoticz/plugins/Domoticz-PWS-Plugin/plugin.py", line 649, in dew_point
2022-03-23 16:19:43.481 Error: Weerstation achter: return round((h / 100) ** (1 / 8) * (112 + 0.9 * t) + 0.1 * t - 112, 2)
2022-03-23 16:19:43.481 Error: Weerstation achter: TypeError: unsupported operand type(s) for /: 'NoneType' and 'int'

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Wednesday 23 March 2022 18:52
by Martijn684
Well for starters, it's not WuDirect that you're using but some other plugin.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 24 March 2022 8:09
by eddieb
@rolandtwilt is using https://github.com/Xorfor/Domoticz-PWS-Plugin
that is plugin is not maintained anymore and probably wil fail in the future.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 24 March 2022 9:15
by Martijn684
On that subject... my own weatherstation stopped measuring rainfall, and I am seriously considering switching to a more robust brand. In fact, as of now I am not using WuDirect myself anymore.

This means that I can probably still fix minor issues, but when Domoticz introduces a major change in the plugin system, I won't make a rewrite of this plugin.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Friday 25 March 2022 7:26
by eddieb
perhaps replace the rainsensor ? It is possible to buy them seperatly ...

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 26 March 2022 8:59
by eddieb
Martijn684 wrote: Thursday 24 March 2022 9:15 On that subject... my own weatherstation stopped measuring rainfall, and I am seriously considering switching to a more robust brand. In fact, as of now I am not using WuDirect myself anymore.

This means that I can probably still fix minor issues, but when Domoticz introduces a major change in the plugin system, I won't make a rewrite of this plugin.
Sorry to read your PWS has troubles and you stopped using it, hopefully your next PWS is capable of communicating with WuDirect and you might reconsider using it :D

thanks for your support so far !

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 26 March 2022 19:58
by eddieb
op ebay kun je in ieder geval reserve onderdelen vinden

ik heb deze http://www.misolie.net/misolip-observer ... p-592.html de misol ws2600 via conrad heet ie anders ;-)
Als je op misol zoekt op ebay dan vind je de losse onderdelen !
evt via aliexpress

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Wednesday 06 April 2022 8:16
by eddieb
I noticed a new error from wudirect in my logging today.

I created a github issue on it

https://github.com/vaneeten/domoticz-wudirect/issues/9

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 12 May 2022 23:50
by Melissen
Hi,

The plugin works... very happy.

But in Domoticz the wind is in km/h and on my display of the weatherstation it is in m/s. I've got an Eurochron EFWS2900 (similiar to the Alecto WS5500).

How can I change km/h to m/s, and also how can I change the solar radiation to KLux instead of Watt/m2

Many thanks in advance

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Friday 13 May 2022 8:06
by eddieb
Hi,
the windmeter setting is a domoticz setting, under meters/counters
I don't recall a setting for the solar radiation