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

Ecowitt Lightning Sensor Config in CMX

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

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: Ecowitt Lightning Sensor Config in CMX

Post by freddie »

dazza1223 wrote: Thu 07 Oct 2021 3:14 pm
freddie wrote: Thu 07 Oct 2021 2:55 pm Good job @stefanbagnato got there in the end. For once it wasn't DNS :D
@dazza1223 probably need an incoming rule on your Windows firewall for port 8998.
and i haven't got windows im ruining GW-1000 on the big boys toy Linux i was pinging in on windows as it was on the same network
Okay, I don't think GW1000 runs an HTTP server so not surprised that wget failed to work.
You need to try pinging from the box that is hosting your MX installation rather than from another host. Perhaps you have an IPTables rule preventing incoming traffic on port 8998?
Freddie
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

freddie wrote: Thu 07 Oct 2021 3:49 pm
dazza1223 wrote: Thu 07 Oct 2021 3:14 pm
freddie wrote: Thu 07 Oct 2021 2:55 pm Good job @stefanbagnato got there in the end. For once it wasn't DNS :D
@dazza1223 probably need an incoming rule on your Windows firewall for port 8998.
and i haven't got windows im ruining GW-1000 on the big boys toy Linux i was pinging in on windows as it was on the same network
Okay, I don't think GW1000 runs an HTTP server so not surprised that wget failed to work.
You need to try pinging from the box that is hosting your MX installation rather than from another host. Perhaps you have an IPTables rule preventing incoming traffic on port 8998?


maybe if i ping my GW1000 that looking good

PING 10.0.0.15 (10.0.0.15) 56(84) bytes of data.
64 bytes from 10.0.0.15: icmp_seq=1 ttl=255 time=3.30 ms
64 bytes from 10.0.0.15: icmp_seq=2 ttl=255 time=8.20 ms
64 bytes from 10.0.0.15: icmp_seq=3 ttl=255 time=2.86 ms
64 bytes from 10.0.0.15: icmp_seq=4 ttl=255 time=2.85 ms
64 bytes from 10.0.0.15: icmp_seq=5 ttl=255 time=2.96 ms
64 bytes from 10.0.0.15: icmp_seq=6 ttl=255 time=3.28 ms
64 bytes from 10.0.0.15: icmp_seq=7 ttl=255 time=5.19 ms
64 bytes from 10.0.0.15: icmp_seq=8 ttl=255 time=2.81 ms
64 bytes from 10.0.0.15: icmp_seq=9 ttl=255 time=2.63 ms
64 bytes from 10.0.0.15: icmp_seq=10 ttl=255 time=5.10 ms
64 bytes from 10.0.0.15: icmp_seq=11 ttl=255 time=10.7 ms
64 bytes from 10.0.0.15: icmp_seq=12 ttl=255 time=2.63 ms

that from where Cumulus is from and i ping that ip and that good two?

PING 10.0.0.35 (10.0.0.35) 56(84) bytes of data.
64 bytes from 10.0.0.35: icmp_seq=1 ttl=64 time=0.092 ms
64 bytes from 10.0.0.35: icmp_seq=2 ttl=64 time=0.094 ms
64 bytes from 10.0.0.35: icmp_seq=3 ttl=64 time=0.073 ms
64 bytes from 10.0.0.35: icmp_seq=4 ttl=64 time=0.092 ms
64 bytes from 10.0.0.35: icmp_seq=5 ttl=64 time=0.066 ms
64 bytes from 10.0.0.35: icmp_seq=6 ttl=64 time=0.106 ms
64 bytes from 10.0.0.35: icmp_seq=7 ttl=64 time=0.119 ms
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Ecowitt Lightning Sensor Config in CMX

Post by freddie »

Okay so it's visible on the network. You need to check your Linux host firewall that it is allowing incoming traffic on port 8998 from your GW.
Freddie
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

freddie wrote: Thu 07 Oct 2021 4:16 pm Okay so it's visible on the network. You need to check your Linux host firewall that it is allowing incoming traffic on port 8998 from your GW.
lol now ur talking do you know there command line for that i hanvt gone that deep in to Linux :)


is it something like this
https://averagelinuxuser.com/linux-firewall/
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Ecowitt Lightning Sensor Config in CMX

Post by freddie »

Yep that's a start. What Linux distribution are you using?
Freddie
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

thank god im on the right track.... im running raspberry pi 4 buster
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Ecowitt Lightning Sensor Config in CMX

Post by freddie »

Okay so SSH into your pi and type the following:

Code: Select all

ip a
and send the result in a pm
Freddie
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

ok will do
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

hi i just got this for my girlfriend

https://www.amazon.co.uk/gp/product/B09 ... UTF8&psc=1

im setting up Cumulus MX on a laptop on her network

Station model
HTTP (Ecowitt)

Configure your Ecowitt station, or GW-1000 device to send data to Cumulus using the Ecowitt protocol

In WS View configure the Custom Server to use:-
Protocol: Ecowitt
Server: CMX IP Address
Path: /station/ecowitt
Port: 8998


i put all this in the setting but still getting no data?

am i missing somthing as i can see the weather st is on the network?
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Ecowitt Lightning Sensor Config in CMX

Post by mcrossley »

Can you connect to CMX on port 8998 from a browser on computer other than where CMX is installed - to eliminate the local firewall.
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

yep firewall mark all sorted now!!!! is there anyway to change Interval: 20sec to like 3 sec on Cumulus MX setting?

In WS View configure the Custom Server to use:-
Protocol: Ecowitt
Server: CMX IP Address
Path: /station/ecowitt
Port: 8998
Interval: 20
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
water01
Posts: 3670
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: Ecowitt Lightning Sensor Config in CMX

Post by water01 »

Nope that is the minimum.
David
Image
User avatar
Gyvate
Posts: 377
Joined: Wed 16 Dec 2020 2:14 pm
Weather Station: GW1x00/WH2650/HP2553/GW2000/3000
Operating System: Win 11 (PC/RPi), Raspbian 11,WSL
Location: Saarbrücken, Germany
Contact:

Re: Ecowitt Lightning Sensor Config in CMX

Post by Gyvate »

dazza1223 wrote: Wed 17 Nov 2021 1:25 pm yep firewall mark all sorted now!!!! is there anyway to change Interval: 20sec to like 3 sec on Cumulus MX setting?

In WS View configure the Custom Server to use:-
Protocol: Ecowitt
Server: CMX IP Address
Path: /station/ecowitt
Port: 8998
Interval: 20
not in CMX - but in WS View it can be set to 16 seconds (and by the help of a tool like FOSHKplugin even down to 5 seconds)
If this has an effect on how fast, often CMX processes the received messages, I don't know - probably only Mark can tell.
Or you can test ...
In my MXdiags log file I can see that my (console's) posts are processed every 16 seconds - and 16 seconds I have set in WSView for my HP2551 console to post to CMX.
From there I would consider the 20 seconds as a recommendation, not as a hard threshold.

Going below 16 seconds only makes sense if you use a WS80 6-in-1 sensor array whose ultrasonic anemometer transmits every 4.7 seconds.
For all other Ecowitt sensors the lowest transmission interval is 16 seconds.
Post Reply