Python Plugin: WuDirect interface for Personal Weather Stations
Moderator: leecollings
-
- Posts: 10
- Joined: Friday 02 March 2018 12:26
- Target OS: NAS (Synology & others)
- Domoticz version: 2021.1
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
Looks fine to me - the order of the parameters is different but that is not important either...
- McMelloW
- Posts: 427
- Joined: Monday 20 November 2017 17:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V2024.1
- Location: Harderwijk, NL
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
Thanks for the additional info. The PWS works for me OK now.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...
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.
Greetings McMelloW
- rolandtwilt
- Posts: 74
- Joined: Monday 05 October 2020 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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'
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'
-
- Posts: 10
- Joined: Friday 02 March 2018 12:26
- Target OS: NAS (Synology & others)
- Domoticz version: 2021.1
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
Well for starters, it's not WuDirect that you're using but some other plugin.
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
@rolandtwilt is using https://github.com/Xorfor/Domoticz-PWS-Plugin
that is plugin is not maintained anymore and probably wil fail in the future.
that is plugin is not maintained anymore and probably wil fail in the future.
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 10
- Joined: Friday 02 March 2018 12:26
- Target OS: NAS (Synology & others)
- Domoticz version: 2021.1
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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.
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.
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
perhaps replace the rainsensor ? It is possible to buy them seperatly ...
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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 itMartijn684 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.
thanks for your support so far !
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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
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
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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
I created a github issue on it
https://github.com/vaneeten/domoticz-wudirect/issues/9
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
Re: Python Plugin: WuDirect interface for Personal Weather Stations
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
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
RFXcom433e ver1009,Raspberry Pi,Domoticz v3.5877
KaKu:16c remote,dimmer,wall-sockets,sunscreenswitch
Promax:wall sockets Elro:wall sockets Somfy:RFY screens
TFA:weather station Chinese temperature sensors, smoke detectors, power switches
KaKu:16c remote,dimmer,wall-sockets,sunscreenswitch
Promax:wall sockets Elro:wall sockets Somfy:RFY screens
TFA:weather station Chinese temperature sensors, smoke detectors, power switches
-
- Posts: 279
- Joined: Wednesday 04 July 2018 7:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: Python Plugin: WuDirect interface for Personal Weather Stations
Hi,
the windmeter setting is a domoticz setting, under meters/counters
I don't recall a setting for the solar radiation
the windmeter setting is a domoticz setting, under meters/counters
I don't recall a setting for the solar radiation
RPI4 Beta / Tasmota / ZigBee2MQTT / P1meter / Haier AC with Node-Red and MQTT / SolarEdge SE3500H modbus_tcp / Opentherm gateway / Plugwise Anna/Smile / ObserverIP weatherstation thru WuDirect
Feeding ADSB https://adsb.im/home
Feeding ADSB https://adsb.im/home
Who is online
Users browsing this forum: Bing [Bot] and 1 guest