Page 2 of 3

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Tuesday 20 July 2021 8:51
by rolandtwilt
thanx!

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 24 July 2021 19:32
by eddieb
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
Xorfor is not supporting this plugin anymore ... see his statement on github !

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 29 July 2021 12:26
by rolandtwilt
thanx!
Do you have any advice on which affordable weather station works in Domoticz in combination with the RFLink?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 07 August 2021 13:28
by rolandtwilt
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

Image

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 07 August 2021 13:34
by eddieb

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Monday 09 August 2021 8:14
by rolandtwilt
that is a lot of money

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Wednesday 25 August 2021 10:29
by rolandtwilt
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
thanks for your comment! an Alecto WS-5500 is quite an expensive joke (for me)

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Monday 08 November 2021 17:55
by rolandtwilt
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?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Monday 08 November 2021 19:48
by eddieb
did you confg your PWS to send the data to your plugin ?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Tuesday 16 November 2021 18:59
by McMelloW
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?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 18 November 2021 10:34
by McMelloW
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

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Thursday 18 November 2021 12:16
by eddieb
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

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Friday 19 November 2021 9:44
by eddieb
Btw,

I upgraded my detailed posting in how I got it working ;-)

viewtopic.php?p=275810#p275810

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Friday 19 November 2021 11:23
by McMelloW
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
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 following
[*] Path: /?
[*] Station ID: PWS
[*] Station Key: 123

Now it works OK for me.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 20 November 2021 13:19
by McMelloW
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
Hi eddieb.

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?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Sunday 21 November 2021 11:51
by eddieb
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.

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Sunday 21 November 2021 12:42
by McMelloW
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.
Thanks for your reply.

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?

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Sunday 21 November 2021 13:55
by eddieb
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 ..

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 27 November 2021 11:40
by Martijn684
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...

Re: Python Plugin: WuDirect interface for Personal Weather Stations

Posted: Saturday 27 November 2021 11:50
by eddieb
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