Author Topic: Potential issue with my GW1100?  (Read 1208 times)

0 Members and 1 Guest are viewing this topic.

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Potential issue with my GW1100?
« on: November 30, 2022, 06:15:37 PM »
I had noticed recently that while running CumulusMX I was seeing an apparent loss of connection to my GW1100 from which after a minute or 2 CMX would reconnect and carry on, this was running on a Windows 7 PC which is not hugely powerful (a 1900mhz 64bit Celeron) which also runs Weather Display talking to my GW1000 and that is not seeing the same dropouts.

So as I have a second small PC (same h/w) running Linux I have now moved CMX to that PC running under Mono and I still see similar apparent dropouts. This PC also runs WXSim under Wine for testing  which only actually runs 4 times a day so no great load on this PC, the main work is CMX.

Now I did wonder if there could be a wi-fi issue but it would be strange for it to only hit one device although not impossible. Now both gateways run a custom server output, the GW1000 to my Android tablet running  PWT and that sees no alarms for missing data around the same time as CMX is complaining about losing connection to the GW1100. Now the GW1100 custom server sends data to one of my Apache servers so I modified the code to record the time each batch of data is sent using the data time field and I can confirm that the whole period that CMX was having problems the custom server data arrived on schedule on my server. So this is not a connection issue the GW1100 is still connected to wi-fi just fine. The GW1100 is now running the latest f/w but the dropouts were happening on the previous f/w as well.

Now do I have a failing GW1100 or should I be looking at CMX for this problem.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline Gyvate

  • Forecaster
  • *****
  • Posts: 3325
Re: Potential issue with my GW1100?
« Reply #1 on: December 01, 2022, 05:46:43 AM »
I have a similar situation with CMX and a GW2000, every now and then CMX seems to lose connection and shows a "connect to station" message in the console windows (running CMX from a console rather than like a service). It's OS independent, occurs under Windows (11) and Raspbian 11. Neither Weather Display nor weewx complain, and I can't find gaps in my CMX minute based log files either. 
From there I conclude that CMX catches up again within a minute.
The GW2000 also posts to PWT via FOSHKplugin which every now and then complains (120 second timeout), but usually pics up again.
Very rarely weewx has a dropout (which would mean a 2-3 minute gap due to how the Ecowitt Gateway driver is progrmmed).
So it seems to be at first glance a WLAN issue (access point or device) - but not sure if it can be drilled down to an issue at the device end.
I wouldn't suspect CMX either. From my observation it handles the situation properly.
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

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Re: Potential issue with my GW1100?
« Reply #2 on: December 01, 2022, 06:08:09 AM »
I am considering swapping the GW1000 to CMX and the GW1100 to WD and see if anything changes.

I also cannot see any gaps or completely duplicated lines in the CMX data either, on some occasions I get the alarm email but not always when I see the connected message on the console. I can also see from my server that there are no gaps in the 20 second custom server data being sent during the time that CMX says it cannot contact the gateway so it has NOT lost connection to wi-fi that's for sure.

The one thing I do know from my early testing with my own code is that these gateways are very fussy about sockets and you can easily screw them up eventually if you accidentally leave sockets open as they cannot cope with many sockets apparently open even if they are not used.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Re: Potential issue with my GW1100?
« Reply #3 on: December 02, 2022, 05:35:59 AM »
Well CMX has no been running using my GW1000 for about 23 hours now with no signs so far of any disconnections/reconnections having happened.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Re: Potential issue with my GW1100?
« Reply #4 on: December 03, 2022, 05:18:20 PM »
Well now some feedback. I am fairly certain there is an issue with the GW1100.

To start with my GW1000 has now been working with CMX for over 36 hours with no disconnections whatsoever where with the GW1100 it would happen at least once per day and often more maybe 4 or 5 times in a 24 hour period. So the GW1000 is certainly better than the GW1100 in that respect.

Now yesterday I happened to notice the GW1100 wi-fi light was flashing slowly meaning it had stopped uploading to the cloud (Ecowitt) so I checked Weather Display and it was still getting data in the normal way from the GW1100. I could see that my custom server output to my website stopped after 11:53 on 2nd December with a strange date of 2022-05-11 and time of 17:00 very strange. I could ping it on the LAN no problem. I also have a small PHP script which opens a socket to gather data from the GW1100 and it was getting an error saying the recvfrom failed, so socket created and connected but no data received. I also tried the HTTP interface on the LAN but got connection reset by peer! A power off/on reset and everything started working again as it should

During the time the GW1100 was failing to send to Ecowitt the GW1000 was sending its data exactly as it should with no gaps and they are connected to the same wi-fi!

All this indicates to me that the GW1100 has an issue within its firmware which causes these issues. It is NOT a wi-fi issue as it is still connected but failing to work correctly with anything which is not already connected like Weather Display.

I must also point out that these two gateways are the only 2.4ghz devices I have, everything else is set up for 5ghz.

Now all I need is to get Ecowitt to understand this scenario and see what they come up with.

Stuart
« Last Edit: December 03, 2022, 05:29:37 PM by broadstairs »
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #5 on: October 15, 2023, 01:00:13 PM »
same issue with GW2000 ,cumulus running on raspberry pi, replaced raspberry pi 3 with raspberry compute module, problem stayed (booth units were connected to the router with ethernet). Base station blinks as if no connection, and mostly not accessible, but can be pinged, cumulus keeps working but the weather services from the base station stop uploading after a while. If cumulus is disconnected base station is back to normal. Seems like the base station is overworked.
Regards
« Last Edit: October 15, 2023, 01:14:34 PM by moonfarms »

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Re: Potential issue with my GW1100?
« Reply #6 on: October 15, 2023, 01:14:30 PM »
Interesting, my GW1100 on the latest f/w has been working well now for some months with no problems, and my GW2000 is also working well with CumulusMX.  Neither has had any disconnect issue now for ages. Both are on the latest f/w.

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #7 on: October 15, 2023, 01:22:37 PM »
I got my wittyboy for about 2 months before the problem started. The first was a disk problem on the raspberry compute module, so i reinstalled the software. However a few days later the base station problem started. So thinking it was a cumulus problem i installed cumulus on a raspberry pi3. Problem persists, but if cumulus is disconnected the weather services on the GW2000 work fine. Trying to find out a way the reset the firmware if the base station. Thanks for the help
Regards.

Online olicat

  • Forecaster
  • *****
  • Posts: 1521
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3xx0C
    • FOSHKplugin
Re: Potential issue with my GW1100?
« Reply #8 on: October 15, 2023, 02:02:11 PM »
Hi!

What did you specify as the station type in CMX? HTTP (Ecowitt) or Ecowitt Local API?

Oliver

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #9 on: October 15, 2023, 02:51:28 PM »
Hello Oliver, I used the Local API. Thanks for the help, will now try with HTTP (Ecowitt). My Bad, I used HTTP (Ecowitt), now trying with Ecowitt Local API.
Thanks again, regards, Paul
« Last Edit: October 15, 2023, 03:59:52 PM by moonfarms »

Online olicat

  • Forecaster
  • *****
  • Posts: 1521
  • GWxx00, HPx5x1C, WN1900C, WN1980C & WS3xx0C
    • FOSHKplugin
Re: Potential issue with my GW1100?
« Reply #10 on: October 15, 2023, 05:19:09 PM »
Hi!

Is your CMX installation up to date? What version number is displayed at the bottom? (here: Cumulus MX 3.26.0 b3248)

Oliver

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #11 on: October 16, 2023, 02:42:06 AM »
Hello Oliver, my station setting was HTTP (Ecowitt), now is set to Ecowitt Local API and everything WORKS FINE. Seems like if the setting is HTTP (Ecowitt) the station cannot cope with the traffic. I also have the latest Cumulus MX 3.26.0 b.
Really appreciate your help.
Regards, Paul

Offline mcrossley

  • Forecaster
  • *****
  • Posts: 1137
    • Wilmslow Astro
Re: Potential issue with my GW1100?
« Reply #12 on: October 16, 2023, 04:01:38 AM »
Interesting, as the HTTP station is under the GW1100 control as it is the custom station, and transmits just like the other 3rd party uploads. The API station is MX polling the GW1100 - usually more frequently than the custom station transmits!
Mark

Offline broadstairs

  • Forecaster
  • *****
  • Posts: 858
Re: Potential issue with my GW1100?
« Reply #13 on: October 16, 2023, 04:59:20 AM »
I wonder how many weather services his gateway sends to? If it is all of them then perhaps there could be a loading issue on either the gateway or even the RPi3?

Stuart
Ecowitt GW1003 with ultrasonic wind gauge, lightning sensor and PM2.5 sensor with Personal Weather Tablet as a console.

Offline kavka

  • Member
  • *
  • Posts: 2
Re: Potential issue with my GW1100?
« Reply #14 on: October 22, 2023, 03:53:17 AM »
I have exactly the same problem like moonfarms with ecowitt 200 GW, but I am using the ecowitt local api but it does not help. Could you please send the cumulus.ini file with the settings you have (remove of course the secret infos like passwords with xxx and so on). I am curious about what else to do to make it working. It would be a great help I am struggling with that for a week now and do not have any idea what to do more...

Thanks

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #15 on: October 22, 2023, 04:34:09 AM »
Hello kavka, find attached screenshots and CMX.ini file. All the best
« Last Edit: October 22, 2023, 05:45:48 AM by moonfarms »

Offline mcrossley

  • Forecaster
  • *****
  • Posts: 1137
    • Wilmslow Astro
Re: Potential issue with my GW1100?
« Reply #16 on: October 22, 2023, 05:27:36 AM »
It's a really bad idea to post your cumulus.ini file, it has all your userids and passwords and/or API keys in it for every service you use.
Mark

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #17 on: October 22, 2023, 05:37:11 AM »
Hello mcrossley, you are right, will delete and repost.

Offline kavka

  • Member
  • *
  • Posts: 2
Re: Potential issue with my GW1100?
« Reply #18 on: October 22, 2023, 06:35:41 AM »
Hello moonfarms,

thanks a lot , what I had different was the setting in GW 2000 for Weather servis customized I had enabled, I changed it to disabled and now it works for 3 hours, which seems promising. 
After that I had to reboot the cumulux mx too. ALthough I had the settings in cumulusmx to Ecowitt (Local API) it could still use the HTTP when ecowitt was sending the data?
I will wait few hours more and if it still crashes I will go through your cumulus.ini file and compare the differences.
Thank you once again!

Offline moonfarms

  • Member
  • *
  • Posts: 7
Re: Potential issue with my GW1100?
« Reply #19 on: October 23, 2023, 05:15:56 AM »
Glad you got it working, I myself was also lost before Olicat gave me his suggestion. All merit to Olicat