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

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 »

I assume you guys are using the default port of 8998, if not you need to set it to the port CMX is using for the interface.
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: Ecowitt Lightning Sensor Config in CMX

Post by dazza1223 »

Yeah I checked that to and it the default one
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Ecowitt Lightning Sensor Config in CMX

Post by stefanbagnato »

freddie wrote: Thu 07 Oct 2021 11:30 am Had a thought last night: I'm assuming you have both made the necessary changes in the MX "Extra Sensor Setting" page in the interface?
Yep double and triple checked.
water01 wrote: Thu 07 Oct 2021 12:19 pm I assume you guys are using the default port of 8998, if not you need to set it to the port CMX is using for the interface.
Yes sir. At this point, as Freddie suggested, I am almost certain it's a network issue and not CMX. I've been making tweak after tweak on my pfsense box (firewall/router) as time allows during the day, then reviewing the logs to see if it helps. I'll continue to do so.

I still get 2 (and exactly 2) FPs a day. Always in the morning, and always at the magical 11 mile distance. I know there is a long thread over on wxforum about this, so I get to chase that gremlin too :D
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 »

stefanbagnato wrote: Thu 07 Oct 2021 12:38 pmI am almost certain it's a network issue and not CMX.
Can you ping your GW from your MX host? It does reply. Also, can you do this:

Code: Select all

wget http://<GW IP>/
?
My GW responds with compressed content (GW1100, not sure about GW1000), so you would need to pipe it to gunzip -d if you wanted to read what it returned. However, if it does return something/anything then your network is working okay in that direction. Have you checked that port 8998 is accessible on your network from the network segment containing the GW? Assuming they may be different, of course :)
Freddie
Image
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Ecowitt Lightning Sensor Config in CMX

Post by stefanbagnato »

freddie wrote: Thu 07 Oct 2021 1:24 pm Can you ping your GW from your MX host? It does reply. Also, can you do this:

Code: Select all

wget http://<GW IP>/
?
My GW responds with compressed content (GW1100, not sure about GW1000), so you would need to pipe it to gunzip -d if you wanted to read what it returned. However, if it does return something/anything then your network is working okay in that direction. Have you checked that port 8998 is accessible on your network from the network segment containing the GW? Assuming they may be different, of course :)
Yes sir, can ping. I'll look up the Windows equiv of wget...I haven't used it before. 8998 shouldn't be available to that entire segment. I've only set a rule for the GW1100 IP. I guess I COULD open it up more as a test option.
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 »

stefanbagnato wrote: Thu 07 Oct 2021 1:51 pm
freddie wrote: Thu 07 Oct 2021 1:24 pm Can you ping your GW from your MX host? It does reply. Also, can you do this:

Code: Select all

wget http://<GW IP>/
?
My GW responds with compressed content (GW1100, not sure about GW1000), so you would need to pipe it to gunzip -d if you wanted to read what it returned. However, if it does return something/anything then your network is working okay in that direction. Have you checked that port 8998 is accessible on your network from the network segment containing the GW? Assuming they may be different, of course :)
Yes sir, can ping. I'll look up the Windows equiv of wget...I haven't used it before. 8998 shouldn't be available to that entire segment. I've only set a rule for the GW1100 IP. I guess I COULD open it up more as a test option.
Ahhh Windows. Incoming rule needed for port 8998 on Windows firewall? I thought you ran MX on Linux :D
Freddie
Image
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Ecowitt Lightning Sensor Config in CMX

Post by stefanbagnato »

freddie wrote: Thu 07 Oct 2021 2:05 pm Ahhh Windows. Incoming rule needed for port 8998 on Windows firewall? I thought you ran MX on Linux :D
Haha, I SHOULD. I have a Pi that runs my WAP controller, but otherwise I don't do too much with Linux. I am stuck in my ways.

I got wget working (stupid Windows environmental variables). Connected to the GW IP, so "looks" good. And true, it could be the servers local firewall..
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Ecowitt Lightning Sensor Config in CMX

Post by stefanbagnato »

Lol sigh. I've been in IT Security for almost ten years now, and this issue was due to a missing route on pfsense and a missing rule on the server firewall.... so sad.... BUT I now have data in CMX! A non-existent lightning strike about 2 hours ago :lol:
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 »

pi@Cumulusmx:~ $ sudo wget http://10.0.0.15/
--2021-10-07 15:52:53-- http://10.0.0.15/
Connecting to 10.0.0.15:80... failed: Connection refused.


ah now that make since is that a firewall prob?
Last edited by dazza1223 on Thu 07 Oct 2021 2:53 pm, edited 1 time in total.
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
stefanbagnato
Posts: 159
Joined: Sun 08 May 2016 9:11 pm
Weather Station: Vantage Pro 2
Operating System: Windows Server 2019
Location: Raleigh, NC

Re: Ecowitt Lightning Sensor Config in CMX

Post by stefanbagnato »

Dazza, try using wget. Also check the 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 »

stefanbagnato wrote: Thu 07 Oct 2021 2:49 pm Dazza, try using wget. Also check the firewall.
pi@Cumulusmx:~ $ sudo wget http://10.0.0.15/
--2021-10-07 15:52:53-- http://10.0.0.15/
Connecting to 10.0.0.15:80... failed: Connection refused.
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 »

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.
Freddie
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 »

@dazza1223 have you got GW1000 or 1100?
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 2:56 pm @dazza1223 have you got GW1000 or 1100?

yes i got GW1000 i just hade to check that lol?
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 »

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
Have fun and keep learning

dazza :D

https://www.davisworthing.co.uk

Image
Post Reply