Page 3 of 4
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 12:19 pm
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.
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 12:22 pm
by dazza1223
Yeah I checked that to and it the default one
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 12:38 pm
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

Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 1:24 pm
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:
?
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

Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 1:51 pm
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:
?
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.
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:05 pm
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:
?
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

Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:19 pm
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
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..
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:26 pm
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

Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:46 pm
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?
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:49 pm
by stefanbagnato
Dazza, try using wget. Also check the firewall.
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:54 pm
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.
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:55 pm
by freddie
Good job @stefanbagnato got there in the end. For once it wasn't DNS
@dazza1223 probably need an incoming rule on your Windows firewall for port 8998.
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 2:56 pm
by freddie
@dazza1223 have you got GW1000 or 1100?
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 3:13 pm
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?
Re: Ecowitt Lightning Sensor Config in CMX
Posted: Thu 07 Oct 2021 3:14 pm
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
@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