Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Discovery doesn't work for GW1000 at 433MHz

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

Post Reply
zoomx
Posts: 65
Joined: Sat 15 Mar 2014 4:50 pm
Weather Station: Froggit GW1000
Operating System: Windows-Linux
Location: Italy

Discovery doesn't work for GW1000 at 433MHz

Post by zoomx »

I noticed that the autodiscovery doesn't work for a GW1000 at 433MHz that I have.

I believe that the bug is in GW1000Station.cs line 425

Code: Select all

string[] namesToCheck = { "GW1000A", "WH2650A", "EasyWeather", "AMBWeather", "WS1900A" };
because the reply of this GW1000 is .... GW1000 and not GW1000A. I am not sure if all GW1000 at 433MHz reply in this way.

Instead WN1900, I have one, reply as you expected as WS1900A but maybe the 433 MHz lack the A too.
Unfortunately only discovery works, no data is show. It seems that there was a change in the protocol for this small console.

These are the diagnostic

Code: Select all

2021-05-09 14:31:25.297 ERROR: No data received from the GW1000 for 30 seconds
2021-05-09 14:31:25.297 Running GW-1000 auto-discovery...
2021-05-09 14:31:25.454 Attempting to reconnect to GW1000...
2021-05-09 14:31:30.428 Discovered more than one potential GW1000 device.
2021-05-09 14:31:30.428 Please select the IP address from the list and enter it manually into the configuration
2021-05-09 14:31:30.430   discovered IPs = 192.168.1.52 192.168.1.54 192.168.1.90 
2021-05-09 14:31:35.463 Attempting to reconnect to GW1000...
2021-05-09 14:31:45.475 Attempting to reconnect to GW1000...
2021-05-09 14:31:55.306 ERROR: No data received from the GW1000 for 30 seconds
2021-05-09 14:31:55.306 Running GW-1000 auto-discovery...
2021-05-09 14:31:55.478 Attempting to reconnect to GW1000...
Maybe the query packet is different.

I used Wireshark against WSview but my driver doesn't support promiscuous mode because I don't see the GW1000 and others device reply.
liddelljs
Posts: 119
Joined: Sat 31 Oct 2015 10:22 pm
Weather Station: Ecowitt GW1001
Operating System: RPi 3 Raspbian Buster
Location: Perth Western Australia

Re: Discovery doesn't work for GW1000 at 433MHz

Post by liddelljs »

I would second this based on my 433 MHz GW1000 station. I'm not sure which version the problems started but certainly from build 3122 the autodiscovery hasn't worked. I have solved it by reserving an IP address in my router and then entering this IP address and the station MAC address into the GW1000 settings and turning off autodiscovery.

Cheers
Steve
zoomx
Posts: 65
Joined: Sat 15 Mar 2014 4:50 pm
Weather Station: Froggit GW1000
Operating System: Windows-Linux
Location: Italy

Re: Discovery doesn't work for GW1000 at 433MHz

Post by zoomx »

Instead it seems that the protocol was not changed and it works with WN1900.
WN1900 is more slow to reply also with WSview, maybe errors are due to this. But this console is still in beta so maybe thing will change.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Discovery doesn't work for GW1000 at 433MHz

Post by mcrossley »

Cumulus was discovering three potential devices...

Code: Select all

Discovered more than one potential GW1000 device.
Please select the IP address from the list and enter it manually into the configuration
   discovered IPs = 192.168.1.52 192.168.1.54 192.168.1.90 
As there are three devices responding, you have to decide which one you are going to use. Then enter it's IP address manually in the configuration.

Auto-discovery only works if there is a single device to begin with - though it will attempt to "track" the device via its MAC address if it subsequently changes IP address, or another device is added to the network.

I have an enhancement on the long ToDo list to allow you to run discovery from the settings page, then select the device from the discovered list if there is more than one. I'm not sure when/if that will get implemented though.
zoomx
Posts: 65
Joined: Sat 15 Mar 2014 4:50 pm
Weather Station: Froggit GW1000
Operating System: Windows-Linux
Location: Italy

Re: Discovery doesn't work for GW1000 at 433MHz

Post by zoomx »

I have four Devices

192.168.1.51 GW1000-433-1
192.168.1.52 GW1000-868-1
192.168.1.54 GW1000-868-2
192.168.1.90 WN1900

The first one is the one that is not recognized. I don't need it because I know the IP (it's assigned by the router) but maybe for other can be a problem.
I don't know if all GW1000 at 433MHz give the same reply but mine reply with GW1000 and not GW1000A, I know this because I replicated your discovery code in a small program to test this.
User avatar
The Dalek Hunter
Posts: 255
Joined: Wed 05 Aug 2020 11:51 am
Weather Station: Ecowitt GW1000B, Ecowitt GW2000
Operating System: macOS Sonoma on a Mac Mini M2
Contact:

Re: Discovery doesn't work for GW1000 at 433MHz

Post by The Dalek Hunter »

Auto-discovery doesn't work with the GW1000B at 915 MHz either.

I have just setup my new Ecowitt Station with the latest CMX (to run alongside my Davis WLL one) - auto-discovery didn't work but as above I gave ithe GW1000 a fixed IP address and set this IP and MAC in the settings and it is fine
zoomx
Posts: 65
Joined: Sat 15 Mar 2014 4:50 pm
Weather Station: Froggit GW1000
Operating System: Windows-Linux
Location: Italy

Re: Discovery doesn't work for GW1000 at 433MHz

Post by zoomx »

So without any letter mean 433MHx, A mean 868 MHz and B mean 915MHz version.
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Discovery doesn't work for GW1000 at 433MHz

Post by mcrossley »

We learn something about Ecowitt stations every week! It's a shame they do not document it all :(
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Discovery doesn't work for GW1000 at 433MHz

Post by mcrossley »

Fixed for the next release.
Post Reply