Python Plugin: WuDirect interface for Personal Weather Stations
Moderator: leecollings
- rolandtwilt
- Posts: 74
- Joined: Monday 05 October 2020 18:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- 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
Xorfor is not supporting this plugin anymore ... see his statement on github !brommetje wrote: ↑Monday 19 July 2021 15:35 Hi @rolandtwilt
Alecto WS-5500 is working fine for more than a year and using plugin https://github.com/Xorfor/Domoticz-PWS-Plugin
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
- 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
thanx!
Do you have any advice on which affordable weather station works in Domoticz in combination with the RFLink?
Do you have any advice on which affordable weather station works in Domoticz in combination with the RFLink?
- 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
Has anyone ever been able to link a device to Domoticz? It is special for sunshades and uses the 433.92MHz
It is a rain, wind and light sensor
It is a rain, wind and light sensor
-
- 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
WuDirect works fine with
https://www.conrad.com/p/renkforce-wh26 ... rs-1267654
https://www.coolblue.nl/en/product/7764 ... -5500.html
https://www.conrad.com/p/renkforce-wh26 ... rs-1267654
https://www.coolblue.nl/en/product/7764 ... -5500.html
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
- 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
that is a lot of money
- 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
thanks for your comment! an Alecto WS-5500 is quite an expensive joke (for me)brommetje wrote: ↑Monday 19 July 2021 15:35 Hi @rolandtwilt
Alecto WS-5500 is working fine for more than a year and using plugin https://github.com/Xorfor/Domoticz-PWS-Plugin
- 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
Hi, the plugin works and the settings have remained the default (port 8080) but still it doesn't work
all devices are listed, but not updated afterwards.
Help?
all devices are listed, but not updated afterwards.
Help?
-
- 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
did you confg your PWS to send the data to your plugin ?
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
- 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
Martijn684 wrote: ↑Sunday 06 June 2021 12:38
Your WS View app should allow you to configure a "Customized" output.
You should set the settings as follows:
- Enable
- Protocol Type Same As: Wunderground
- Server IP / Hostname: <the IP address of your Domoticz
- Path: /weatherstation/updateweatherstation.php?
- Station ID (not used): ID
- Station key (not used): NoKeyNeeded
- Port (default is 8008): 8008
- Upload interval: 60
I have obtained a Waldbeck Huygens PWS. This is working OK with Weather Underground, the device is online at WU and receiving my data. The dat is also visible at the WU Dashboard in WS-View.
However changing the PWS to Domoticz according the above list, there seems to be no data send to my domoticz.
Question what is the purpose of the line: Path: /weatherstation/updateweatherstation.php? After activating the Hardware WuDirect, 19 device are created and the have a initial value. But not updated since.
Can somebody give me a hint in the right direction to get this working?
Greetings McMelloW
- 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
Anybody an tip or hint.
It seems the customize option of WS-View is not working on my console. Trying to connect with www.pwsweather.com and this does not work either. This must be configured with the customize option also.
Thanks in advance
It seems the customize option of WS-View is not working on my console. Trying to connect with www.pwsweather.com and this does not work either. This must be configured with the customize option also.
Thanks in advance
Greetings McMelloW
-
- 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,
normally the pws sends its data to a server @ wunderground. this is done to a specific url <server>/weatherstation/updateweatherstation.php?
IF you change the <server> in the config of your pws, the data is sent to the new <server> and the path above ...
That path should be created by the WuDirect plugin on the machine you are running the WuDirect plugin on ...
in my case :
root@domoticz:~# netstat -antp | grep LIST
tcp 0 0 0.0.0.0:8008 0.0.0.0:* LISTEN 25206/domoticz
that is the listener for WuDirect
normally the pws sends its data to a server @ wunderground. this is done to a specific url <server>/weatherstation/updateweatherstation.php?
IF you change the <server> in the config of your pws, the data is sent to the new <server> and the path above ...
That path should be created by the WuDirect plugin on the machine you are running the WuDirect plugin on ...
in my case :
root@domoticz:~# netstat -antp | grep LIST
tcp 0 0 0.0.0.0:8008 0.0.0.0:* LISTEN 25206/domoticz
that is the listener for WuDirect
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
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
- 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
It looks my PWS Console seems to have a problem with empty fields, there must be something. So in my situations I have filled in the followingMartijn684 wrote: ↑Sunday 06 June 2021 12:38 Your WS View app should allow you to configure a "Customized" output.
You should set the settings as follows:
- Enable
- Protocol Type Same As: Wunderground
- Server IP / Hostname: <the IP address of your Domoticz
- Path: /weatherstation/updateweatherstation.php?
- Station ID (not used): ID
- Station key (not used): NoKeyNeeded
- Port (default is 8008): 8008
- Upload interval: 60
[*] Path: /?
[*] Station ID: PWS
[*] Station Key: 123
Now it works OK for me.
Greetings McMelloW
- 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
Hi eddieb.eddieb wrote: ↑Friday 19 November 2021 9:44 Btw,
I upgraded my detailed posting in how I got it working
viewtopic.php?p=275810#p275810
My router is a KPN Experia V10 box. As far as I know I can not make any NAT and MASQ rules on my router? Is it possible to redirect the WU information to wunderground and/or to other websites?
Greetings McMelloW
-
- 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,
that experiabox is not going to bring you redirection of the traffic from Wunderground to the WuDirect plugin
BUT, there are (at least) 2 ways to do so
1 - redirect in a router
2 - adjusting the destination in your PWS
As you allready did #2 you allready redirected the traffic.
You could redirect the traffic to a splitter like I did and send it to different endpoints from within that splitter.
that experiabox is not going to bring you redirection of the traffic from Wunderground to the WuDirect plugin
BUT, there are (at least) 2 ways to do so
1 - redirect in a router
2 - adjusting the destination in your PWS
As you allready did #2 you allready redirected the traffic.
You could redirect the traffic to a splitter like I did and send it to different endpoints from within that splitter.
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
- 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 your reply.eddieb wrote: ↑Sunday 21 November 2021 11:51 Hi,
that experiabox is not going to bring you redirection of the traffic from Wunderground to the WuDirect plugin
BUT, there are (at least) 2 ways to do so
1 - redirect in a router
2 - adjusting the destination in your PWS
As you allready did #2 you allready redirected the traffic.
You could redirect the traffic to a splitter like I did and send it to different endpoints from within that splitter.
For my understanding. The spillter is the file updateweatherstation.php?
And in the customized section of WS View the path is filled in as ? /weatherstation/updateweatherstation.php?
Greetings McMelloW
-
- 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
Yes,
WuDirect runs on your domoticz port 8008 and the customized section of WS View points to that.
IF you create your own /weatherstation/updateweatherrstation.php on a different port and point to that in WS View.
Modify the updateweatherstation.php to your needs ..
WuDirect runs on your domoticz port 8008 and the customized section of WS View points to that.
IF you create your own /weatherstation/updateweatherrstation.php on a different port and point to that in WS View.
Modify the updateweatherstation.php to your needs ..
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
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...
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...
-
- 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
for my updated Conrad WH2600 the record is
/weatherstation/updateweatherstation.php?ID=IXXXXXX8&PASSWORD=NoKeyNeeded&tempf=37.2&humidity=94&dewptf=35.6&windchillf=32.9&winddir=246&windspeedmph=5.37&windgustmph=7.61&rainin=0.00&dailyrainin=0.78&weeklyrainin=7.33&monthlyrainin=1.55&yearlyrainin=30.27&solarradiation=39.43&UV=0&indoortempf=69.1&indoorhumidity=46&baromin=29.10&lowbatt=0&dateutc=now&softwaretype=WH2602%20V4.5.7&action=updateraw&realtime=1&rtfreq=5
/weatherstation/updateweatherstation.php?ID=IXXXXXX8&PASSWORD=NoKeyNeeded&tempf=37.2&humidity=94&dewptf=35.6&windchillf=32.9&winddir=246&windspeedmph=5.37&windgustmph=7.61&rainin=0.00&dailyrainin=0.78&weeklyrainin=7.33&monthlyrainin=1.55&yearlyrainin=30.27&solarradiation=39.43&UV=0&indoortempf=69.1&indoorhumidity=46&baromin=29.10&lowbatt=0&dateutc=now&softwaretype=WH2602%20V4.5.7&action=updateraw&realtime=1&rtfreq=5
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: No registered users and 0 guests