Author Topic: WS View "Customized"  (Read 22616 times)

0 Members and 2 Guests are viewing this topic.

Offline McMelloW

  • Member
  • *
  • Posts: 5
Re: WS View "Customized"
« Reply #125 on: November 18, 2021, 08:44:55 AM »
Hi to all,

My name is McMelloW and new to this forum. This week, I bought a Fine Offset Clone called Waldbeck Huygens. 
This has to be configured wit WS View (plus)  It all went fine, made a connections to my WiFi  and found a device  EasyWeather-WIFIxxxx with an IP address etc.  Sending data to a WU station works fine is.

However switch to a customized server does not work at all. I have tried a station a www.pwsweather.com  or to my Raspberry Pi  but both servers are not receiving any data at all.

Any one with a golden tip or hint?

Greetings, McMelloW
Greetings McMelloW

Offline olicat

  • Forecaster
  • *****
  • Posts: 1515
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3800C
    • FOSHKplugin
Re: WS View "Customized"
« Reply #126 on: November 18, 2021, 08:59:36 AM »
Hi!

For PWSWeather you should configure in the Customized Server-settings:
Code: [Select]
Customized: Enable
Protocol: Wunderground
Server IP: www.pwsweather.com (without http and slash!)
Path: /pwsupdate/pwsupdate.php? (keep the ? in mind!)
Station ID: (your PWSWeather-ID)
Station Key: (your PWSWeather-Key)
Port: 80
Upload Interval: 300
A connection to your Raspi would also have to be configured in the same way. No http and no path information in the host name and don't forget the question mark in the path.
Your router should be configured so that devices can communicate with each other. (The Fritzbox has a corresponding configuration point.)
Ecowitt-protocol will be transferred as http/POST; Wunderground is sent by http/GET.

Oliver

Offline McMelloW

  • Member
  • *
  • Posts: 5
Re: WS View "Customized"
« Reply #127 on: November 18, 2021, 09:31:03 AM »
Hi!

For PWSWeather you should configure in the Customized Server-settings:
Code: [Select]
Customized: Enable
Protocol: Wunderground
Server IP: www.pwsweather.com (without http and slash!)
Path: /pwsupdate/pwsupdate.php? (keep the ? in mind!)
Station ID: (your PWSWeather-ID)
Station Key: (your PWSWeather-Key)
Port: 80
Upload Interval: 300
A connection to your Raspi would also have to be configured in the same way. No http and no path information in the host name and don't forget the question mark in the path.
Your router should be configured so that devices can communicate with each other. (The Fritzbox has a corresponding configuration point.)
Ecowitt-protocol will be transferred as http/POST; Wunderground is sent by http/GET.

Oliver

Thanks very much for your reply.
This is exact what I used for pwsweather.com  But the station has not received any data.
WS View Plus reports as EasyWeater v1.5.9

McMelloW
Greetings McMelloW

Offline olicat

  • Forecaster
  • *****
  • Posts: 1515
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3800C
    • FOSHKplugin
Re: WS View "Customized"
« Reply #128 on: November 18, 2021, 09:56:59 AM »
Hi!

Quote
WS View Plus reports as EasyWeater v1.5.9
Which station is this in reality? Please check here.
Perhaps you have to update the device firmware, if it is a HP2551C. There were some problems regarding cusom server fixed recently.

Oliver
 

Offline McMelloW

  • Member
  • *
  • Posts: 5
Re: WS View "Customized"
« Reply #129 on: November 18, 2021, 11:29:07 AM »
Hi!

Which station is this in reality? Please check here.
Perhaps you have to update the device firmware, if it is a HP2551C. There were some problems regarding cusom server fixed recently.

Oliver
My PWS is Waldbeck Huygens (10032850). Seen in the column with also WH2910, WH3000SE, WS-2902AB etc.  It comes with a 5-1 sensor set. 
How can I discover the firmware version and how can you update the firmware?

« Last Edit: November 18, 2021, 11:41:11 AM by McMelloW »
Greetings McMelloW

Offline olicat

  • Forecaster
  • *****
  • Posts: 1515
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3800C
    • FOSHKplugin
Re: WS View "Customized"
« Reply #130 on: November 18, 2021, 11:42:29 AM »
Hi!

Since it is a WH2910 you can not update the device firmware.
So the problem is somewhere else.
You could try to install FOSHKplugin onto your Raspi. Then you would see the incoming data there (and have the possibility to monitor the outgoing data to PWSWeather.
But probably this is another thing ...
Beside that I do not have an idea, sorry.

Oliver

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 1989
    • Mini Wind and Solar Data project
Re: WS View "Customized"
« Reply #131 on: November 18, 2021, 12:11:31 PM »
One of us should really setup a site to receive requests and print out the  request , header , and body contents .
I would but my PHP foo not great, I work in JAVA/.Net and I don't have an accessible site that I can use for this with those technologies.
Ambient:
  WS-2000
  PM 2.5(2)
  WH31B(2)
  WH40E
  WH31P
EcoWitt:
  GW1100
  GW1000(4)
  WH31(2)
  WH57
  WH51(12),
  WH40
  WH5360B
  WN34S
  WittBoy WS90 + GW2000
  WS90 (other one) + GW1100
Personal Sites: Weather Cam

Offline olicat

  • Forecaster
  • *****
  • Posts: 1515
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3800C
    • FOSHKplugin
Re: WS View "Customized"
« Reply #132 on: November 18, 2021, 12:24:26 PM »
Hi!

I'm already working on this.

Oliver

Addendum: Tool's ready!

Offline davidefa

  • Forecaster
  • *****
  • Posts: 436
Re: WS View "Customized"
« Reply #133 on: November 18, 2021, 12:27:58 PM »
If you want a small script that logs the requests you can use the attached one ( it logs the requests in a file called params.txt )
You can use it directly online here: http://www.fanometeo.it/template/params.php ( the log file is http://www.fanometeo.it/template/params.txt )


 [ You are not allowed to view attachments ]

P.S.
Sorry forgot to specify: 1 euro cent / call ; - )
« Last Edit: November 18, 2021, 12:45:56 PM by davidefa »

Offline Rover1822

  • Forecaster
  • *****
  • Posts: 1989
    • Mini Wind and Solar Data project
Re: WS View "Customized"
« Reply #134 on: November 18, 2021, 12:49:55 PM »
Not bad Davidefa.
But I would like the raw data, and then perhaps a pretty version of the data. Also , since you are outputting to a single .txt file , which gets overwritten on the next request, might be a better to generate a separate file per request, and as part of the code, create a URL link on another static page to the distinct   data file. There would be concerns about privacy as the key is / may be transmitted and the data would be accessible by anyone.

Other option is to have an argument added to the URL that would then become part of the output file name. So not as public,  does not address every privacy issue , but you would have to know the unique name you supplied as the argument.

I'm thinking of those that do not have a lot of skills , this would be a simple test
 
Ambient:
  WS-2000
  PM 2.5(2)
  WH31B(2)
  WH40E
  WH31P
EcoWitt:
  GW1100
  GW1000(4)
  WH31(2)
  WH57
  WH51(12),
  WH40
  WH5360B
  WN34S
  WittBoy WS90 + GW2000
  WS90 (other one) + GW1100
Personal Sites: Weather Cam

Offline McMelloW

  • Member
  • *
  • Posts: 5
Re: WS View "Customized"
« Reply #135 on: November 18, 2021, 01:01:55 PM »
Hi!

Since it is a WH2910 you can not update the device firmware.
So the problem is somewhere else.
So if the firmware is not correct and cannot be updated. I have to go back to the shop.
Quote
You could try to install FOSHKplugin onto your Raspi. Then you would see the incoming data there (and have the possibility to monitor the outgoing data to PWSWeather.
I have a Lenovo Laptop with an ubuntu 20.04 partion running.  Can the FOSHKplugin installed and run on ubuntu. Then I can figure out how it works
Quote
But probably this is another thing ...
Beside that I do not have an idea, sorry.

Oliver
I guess there is something with the customized section. It is sending data to the WU website OK now on a regular interval. see https://www.wunderground.com/dashboard/pws/IHARDE61

One last try. I can send the data to WU using the customized set up?  What is the correct website and path.  Do you think this is possible?
« Last Edit: November 18, 2021, 01:11:41 PM by McMelloW »
Greetings McMelloW

Offline olicat

  • Forecaster
  • *****
  • Posts: 1515
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3800C
    • FOSHKplugin
Re: WS View "Customized"
« Reply #136 on: November 18, 2021, 03:38:14 PM »
Hi!

Quote
So if the firmware is not correct and cannot be updated. I have to go back to the shop.
I'm not aware of any faulty firmware for the WH2910 regarding the custom server. It should work in any way.
So this is probably not a problem of your station but of configuration or (network) infrastructure.
But I could be wrong.

Quote
Can the FOSHKplugin installed and run on ubuntu.
FOSHKplugin should work with Ubuntu 20.04 - no problem.

Quote
I can send the data to WU using the customized set up?
Yes. But then you must not send to WU the regular way.
Hostname: rtupdate.wunderground.com
Path: /weatherstation/updateweatherstation.php?
ID: WU-ID
Key: WU-Key
Port: 80

Oliver

Offline McMelloW

  • Member
  • *
  • Posts: 5
Re: WS View "Customized"
« Reply #137 on: November 19, 2021, 05:10:27 AM »
Hi!

Yes. But then you must not send to WU the regular way.
Hostname: rtupdate.wunderground.com
Path: /weatherstation/updateweatherstation.php?
ID: WU-ID
Key: WU-Key
Port: 80

Oliver
Thanks for the info. I have got this working OK.

Finally I found out how to send it to my Raspberry Pi with Domoticz.
Domoticz does not need a path, station ID and station key.  But someway my PWS Console wants something else as empty in these fields. So I filled in Path: /? and something for the station ID and key and it works like a charm.

Thanks for you patience and help.
Greetings McMelloW

Offline B3nE

  • Member
  • *
  • Posts: 1
Re: WS View "Customized"
« Reply #138 on: February 20, 2023, 11:24:12 PM »
I got this working with the customised Ecowitt protocol, sending data to a python API > to MongoDb then showing the data on a Flutter application.

Happy to provide more details if anyone wants to do similar.

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3297
Re: WS View "Customized"
« Reply #139 on: February 21, 2023, 11:33:17 AM »
Domoticz does not need a path, station ID and station key.  But someway my PWS Console wants something else as empty in these fields. So I filled in Path: /? and something for the station ID and key and it works like a charm.
when time allows I will add a "custom server" section to the MUST READ thread
station ID and key are not needed, (unless this is data the receiver expects)
but when the console doesn't find a minimum path e.g. "/" in the path field, it will not post. That applies for every Ecowitt (clone) console.
WS2350 1.6.7, GW1000(3) 1.7.7,WH2650 WiFi (2) 1.7.7 (test/backup), GW1100 2.3.1, GW2000(3) 3.1.1, HP2551 1.9.5,5.1.5;HP3500 1.7.2,WS3800 1.2.8, WN1910 1.2.3,WN1980 1.2.3;
Ecowitt WS90(2)1.3.5/1.4.0, WS80(2)1.2.5, WS68, WS69, WH40, WH31, WH31-EP, WN30, WN34L, WN35, WH32, WH32-EP, WH32B, WH57 [Lightning], WH41 [PM2.5], WH51, WH45, WH55
MeteobridgePro(2)[test,prod] 5.8 Mar 01 2024, 15185 - Blake-Larsen Sun Recorder - RPi4/weewx 4.8.0/4.10.2/CumulusMX 3283/Meteobridge RPi4B-2GB(3169)
Barani Meteoshield Pro, MetSpec Rad02 - Ecowitt 5763,34418;WU ISAARB3(WH4000SE),ISAARB22(HP2553), http://meshka.eu

 

anything