Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

GW2000 Extra Sensors

GW1000 WiFi gateway
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

GW2000 Extra Sensors

Post by jchurch »

Strange issue. CMX V4.0.1 Extra Sensors causes GW2000 to disconnect and stop sending data. This happens a few minutes to a couple hours after connecting to CMX. Data is from Customized setting in GW2000
Protocol: Ecowitt
Server: 192.168.1.16
Path: /station/ecowittextra
Port: 8998
Interval: 20

As soon as I disable Extra Sensors, connection is restored and I can disable Customized on the GW2000. It will run forever without this enabled. FYI, Using Davis Vantage as primary Station. No errors showing up in CMX.

Thanks for all input.;
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: GW2000 Extra Sensors

Post by freddie »

Could you please enable debug and data logging, and send a log file capturing the disconnection. Log files are in the MXdiags folder of your installation. You may need to zip up the log file before attaching it to a reply to this topic. Log files are named with a series of numbers (actually date and time info) and have a .txt extension.
Freddie
Image
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: GW2000 Extra Sensors

Post by water01 »

Have you disabled all the sensors on the GW2000 you are not using, as sometimes if you don't it causes problems?
David
Image
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

Re: GW2000 Extra Sensors

Post by jchurch »

Yes. All disabled. Running data capture now.

Thanks.
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

Re: GW2000 Extra Sensors

Post by jchurch »

Here is the data capture. It ran for 2 hours and a few minutes before the hub shut down and quit sending data. FYI, I ran the hub for 24 hours with no errors without CMX. All was updating correctly until failure.

Thanks for the assist. I am baffled.
20240610-081541.zip
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: GW2000 Extra Sensors

Post by water01 »

Well it looks like something is passing a clean shutdown CTRL+C to the executable and because of that it shuts down.

Have you a CRON job running that does a reboot / shutdown. Cannot think of a setting that would cause this so it must be an external source. Is the program running out of swap space and the Pi automatically shuts down?

Clutching at straws. It may be beneficial to switch debug logging on and run it to the point of shutdown and see what shows up. Data logging will not be of any use as the data all looks good.
David
Image
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: GW2000 Extra Sensors

Post by freddie »

From your log file, MX was still receiving data from Ecowitt just before you closed it down:

Code: Select all

2024-06-10 09:12:22.835 ProcessExtraData: Processing posted data
2024-06-10 09:12:22.835 ProcessExtraData: Payload = PASSKEY=<PassKey>&stationtype=GW2000B_V3.1.3&runtime=9&heap=95576&dateutc=2024-06-10+13:12:23&tempinf=74.66&humidityin=46&baromrelin=29.852&baromabsin=29.852&freq=915M&model=GW2000B&interval=20
2024-06-10 09:12:22.836 ApplyExtraData: Complete
2024-06-10 09:12:22.836 ProcessExtraData: Complete
You shut down MX 12 seconds after this data was received - which is shorter than the 20 second interval between Ecowitt updates.

Code: Select all

2024-06-10 09:12:34.160 Ctrl + C pressed
2024-06-10 09:12:34.161 Cumulus closing
Freddie
Image
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

Re: GW2000 Extra Sensors

Post by jchurch »

I shut it down when the hub lights went off and sensor data went away. I am going to rerun and leave it until I receive the 10 minute alert of no data transmitted to Ecowitt.Net.

Thanks for the quick response.
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

Re: GW2000 Extra Sensors

Post by jchurch »

Ok. Alll is working. Here is a screenshot of both GW2000 and CMX updating solar as expected.

Thanks again.
You do not have the required permissions to view the files attached to this post.
water01
Posts: 3669
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: GW2000 Extra Sensors

Post by water01 »

Are you talking about the hub lights on your router, in which case is it not a problem with your router, such as a lease renewal time in your DHCP settings?
David
Image
User avatar
dazza1223
Posts: 910
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: GW2000 Extra Sensors

Post by dazza1223 »

no he talking about the gateway hub the lights go off... i had this same prob i just gave up on them
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
jchurch
Posts: 11
Joined: Mon 10 Jun 2024 1:36 am
Weather Station: Davis Vantage
Operating System: Win 10

Re: GW2000 Extra Sensors

Post by jchurch »

Here it is again failed. New logs. Also screen grab. Turn off CMX and everything comes back..

Thanks again.
CMX Failed.png
20240610-095944.zip
You do not have the required permissions to view the files attached to this post.
freddie
Posts: 2870
Joined: Wed 08 Jun 2011 11:19 am
Weather Station: Davis Vantage Pro 2 + Ecowitt
Operating System: GNU/Linux Ubuntu 24.04 LXC
Location: Alcaston, Shropshire, UK
Contact:

Re: GW2000 Extra Sensors

Post by freddie »

Sounds almost like the hub is crashing after sending x requests to CMX. That will be a problem with the hub, not MX, if that is the case. Interesting to hear you experienced the same issue dazza.
Freddie
Image
SamiS
Posts: 510
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: GW2000 Extra Sensors

Post by SamiS »

It would be very interesting to know if the behaviour is same with CMX v3.x.

After all, when CMX configured as a custom server to the gw, CMX is just a webserver that responds to post request made by the gateway. So basically it should not be possible for CMX to cause GW to crash. But if there is a bug on the gw firmware regarding connection handling, and CMX does something differently than other webservers, anything is possible.
User avatar
dazza1223
Posts: 910
Joined: Sun 25 Jan 2015 8:41 pm
Weather Station: Davis Vantage Pro 2 plus
Operating System: Raspberry pi 4 (4gb)
Location: Worthing
Contact:

Re: GW2000 Extra Sensors

Post by dazza1223 »

freddie wrote: Mon 10 Jun 2024 2:35 pm Sounds almost like the hub is crashing after sending x requests to CMX. That will be a problem with the hub, not MX, if that is the case. Interesting to hear you experienced the same issue dazza.
i got them to send me a new hub and it the same happened to that one to
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply