Page 1 of 1

WS6006 3G/4G - Ecowitt

Posted: Tue 15 Aug 2023 10:13 am
by vimpc
Hi,

I have several Ecowitt type stations working great with Cumulus. But I have one, the WS6006 (4G/3G), which does not have some configuration options to make it work with Cumulus, although the system it uses is the same as the others, such as Ecowitt or Wunderground.

This are the parametres than I can config:

Image

I can read with another program this:

Image

Would it be possible that it could work with Cumulus? The type is wunderground (only have this protocol), and can’t configure path.

Thank you and greetings.

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Wed 16 Aug 2023 9:39 am
by mcrossley
If it can only post a JSON formatted content to a receiver, then no Cumulus cannot currently support this station.

Re: WS6006 3G/4G - Ecowitt

Posted: Mon 21 Aug 2023 10:49 am
by vimpc
Hi,

No, this json makes this program, but the data the station sends, is the same than the other weather stations that upload with wunderground protocol. The only problem is that can't personalize the path.

For Cumulus MX, this are the options:

Configure your station to send data to Cumulus using the Wunderground protocol

Note: If possible use the Ecowitt protocol rather than this one

In WS View configure the Custom Server to use:-
Protocol: Wunderground
Server: CMX IP Address
Path: /station/wunderground?
Station Id: 1
Key: 1
Port: 8998
Interval: 20

The path must be for this station /weatherstation/updateweatherstation.php? and we don't have the possibility to change. And interval is 1 minute.

If you want to try someting, I have one in my house now, and I can send you the data wherever you want.

Greetings.

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Mon 21 Aug 2023 3:43 pm
by mcrossley
I see. I may be able to add an additional path of /weatherstation/updateweatherstation.php on port 8998 that performs the same function as the current /station/wunderground

BUT, that would mean you would also have to expose MX to the internet somehow. Doing that directly is not a good idea as MX is not secure enough. I guess you could it via a HTTP proxy server that only allowed certain traffic I guess. Or a firewall rule that only allowed access from your WS6006 IP address.

Re: WS6006 3G/4G - Ecowitt

Posted: Mon 21 Aug 2023 5:14 pm
by freddie
If MX is going to be exposed to the internet and you use a reverse proxy, then there's no need for an additional MX endpoint that's identical to the existing, as the mapping from /weatherstation/updateweatherstation.php to /station/wunderground can be done in the reverse proxy too.

Re: WS6006 3G/4G - Ecowitt

Posted: Tue 22 Aug 2023 7:17 pm
by vimpc
Hi,

First of all, thank you for your interest.

Currently what I do, is send the data to my house through a ddns. I assign a port to each station, and in the router I redirect to the computer and the port that I have selected, so that I have 5 Cumulus (with 5 diferent ports) at the same time.

I think the ideal would be to create a type of station that would be WS6006 (wunderground protocol), in which the path would simply be the one we have discussed previously, leaving everything else the same. If you want, I can test it.

I have written to Ecowitt, to see if that path could be changed through firmware, but they have replied that because of the way that gateway is made, it is not possible.

I don't know how to do what you say about the proxy, but perhaps, so that everyone can use it in a simple way, it's not the best way.

Greetings.

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Tue 22 Aug 2023 7:30 pm
by SamiS
vimpc wrote: Tue 22 Aug 2023 7:17 pm Currently what I do, is send the data to my house through a ddns. I assign a port to each station, and in the router I redirect to the computer and the port that I have selected, so that I have 5 Cumulus (with 5 diferent ports) at the same time.
Just a reminder, as said before, it is not recommeded to expose Cumulus to internet like you do now, since basically anyone in the world can then access your dashboard, change your settings, edit your data etc. Of course this can be mitigated if you restrict incoming traffic to ip’s of your stations, but on mobile network the ip addresses tend to change often.

Re: WS6006 3G/4G - Ecowitt

Posted: Tue 22 Aug 2023 11:12 pm
by vimpc
Hi,

I have a restriction on my router; I have a checklist of my IPs, and only the IP associated with DDNS can enter into my network, and I don't use the classic port 8998.

Greetings.

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Tue 22 Aug 2023 11:17 pm
by vimpc
Hi,

In case it was helpful, I found this secuence in the local Log that the station generates when you have it connected by usb:

OK

AT+QIOPEN=1,0,"TCP","xxxx.ddns.net",200,0,1

OK

+QIOPEN: 0,0

AT+QISEND=0,522

> GET /weatherstation/updateweatherstation.php?ID=1&PASSWORD=1&indoortempf=-9999&indoorhumidity=-9999&tempf=83.1&humidity=73&dewptf=73.6&winddir=0&windspeedmph=0.895&windgustmph=2.237&rainin=0&dailyrainin=0&weeklyrainin=0&monthlyrainin=0&yearlyrainin=0&solarradiation=0&UV=0&baromin=30.026&absbaro=30.141&AqPM2.5=6553.5&battery=71&wh65batt=1&dateutc=2023-08-11+23%3A36%3A39&softwaretype=3G%20Vicent%20V1.1.30&action=updateraw&realtime=1&rtfreq=5 HTTP/1.0

Accept: */*

Host: xxxx.ddns.net

Connection: Close

SEND OK


>GET to 1.0 is in one line

Greetings

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Wed 23 Aug 2023 3:18 pm
by mcrossley
Does this station also upload to the Ecowitt cloud storage?

Re: WS6006 3G/4G - Ecowitt

Posted: Thu 24 Aug 2023 1:54 pm
by vimpc
Hi,

Yes, I put the log:

+QIOPEN: 0,0

AT+QISEND=0,578


> POSreport/ HTTP/1.1

HOST: cdnrtpdate.ecowitt.net

Connection: Close

Content-Type: application/x-www-form-urlencoded

Content-Length:428



PASSKEY=96FA5A168F055B3C87C45F81B740CAF9&stationtype=WS6006_V1.1.30&dateutc=2023-08-22+23%3A08%3A24&tempf=79.7&humidity=71&winddir=280&windspeedmph=0&windgustmph=0&rainratein=0&eventrainin=0&hourlyrainin=0&dailyrainin=0&weeklyrainin=0&monthlyrainin=0&yearlyrainin=0&totalrainin=0&solarradiation=0&uv=0&baromabsin=30.029&baromrelin=29.908&pm25_ch1=6553.5&pm25_avg_24h_ch1=6553.5&wh65batt=0&ws6006batt=91&freq=433M&model=WS6006_3G

SEND OK

But in personalized upload, I can't select the type (wunderground or Ecowitt) like in the other Ecowitt Stations. Only can send in wunderground format.

Greetings

Vicente.

Re: WS6006 3G/4G - Ecowitt

Posted: Thu 24 Aug 2023 2:18 pm
by mcrossley
I may something in the pipeline of interest. It was really for remotely installed stations that have no direct connectivity to CMX. It downloads the data from the Ecowitt cloud servers. It does mean the data only updates once a minute, but that may be a solution that WS6006/7 users could use as well.

Re: WS6006 3G/4G - Ecowitt

Posted: Thu 07 Sep 2023 9:29 am
by vimpc
Hi,

It's not a bad idea... the problem is that I think in Ecowitt only can get 1 date in 5 minutes (I don't know sure), and we loss data, specially wind.

Greetings.

Vicent

Re: WS6006 3G/4G - Ecowitt

Posted: Thu 07 Sep 2023 6:18 pm
by mcrossley
You can fetch 1 minute data from Ecowitt cloud.
I have it working, and it seems ok so far - with that limitation of course.

Re: WS6006 3G/4G - Ecowitt

Posted: Wed 13 Sep 2023 6:28 am
by vimpc
Hi,

Thanks!!!

Vicent