Page 3 of 3
Re: Http Ecowitt - polling interval and wind
Posted: Thu 02 Dec 2021 5:15 pm
by sutne
But you did not adress the curious fact that the console send 3 times pr minute, but CMX only updates the console by 2 of them. And I presume: loses some data for the avg wind speed.
Re: Http Ecowitt - polling interval and wind
Posted: Thu 02 Dec 2021 5:26 pm
by mcrossley
I didn't but I cannot see how it can happen either. I see the dashboard time update every time a message is received.
Your log shows the final message from ProcessData function being output so there are no errors, and the dashboard time is updated just before that message is output.
If there were an error, then every one of them is caught and a message logged anyway.
ProcessData uses your computer clock time and ignores the timestamp in the sent data so there can be no difference it time settings coming into play.
So I'm at a loss to explain what you see at the moment.
Is the "Last Cumulus update" time definitely incrementing every 3 seconds?
Re: Http Ecowitt - polling interval and wind
Posted: Thu 02 Dec 2021 5:34 pm
by sutne
Ok, at the moment CMX is doing the job. Last Station Update is now 10, 38 and 54 each minute.
CMX update is every 2 or 3 sec.
So this probably is a Ecowitt issue.
Re: Http Ecowitt - polling interval and wind
Posted: Sat 04 Dec 2021 8:24 am
by nicktitan46
I do have a ws80 (ultrasone) but I only see the 20 sec. Message appear in the cmx log. There is no 4 sec update. So why would you poll at 4 sec if the gw1100 only sends at the 20 sec frequency? Apart from that: cmx does not know i have a ws80, it only sees the gw1100 which assembles all data and sends it in one message to cmx.
video streaming
Re: Http Ecowitt - polling interval and wind
Posted: Sat 04 Dec 2021 12:21 pm
by mcrossley
OK, I'll try again...
You can configure the GW1000 in two ways in CMX.
The recommended way is to set it as a GW1000 station. Then CMX POLLS the GW1000, it uses the GW1000 API which can interrogate everything about your station and sensors. So CMX DOES know you have WS80 attached. So it knows for instance what your reception for each sensor is like and logs it. Because CMX is polling the GW1000 it can do so at whatever rate it likes. If it detects you have a WS80, then it decreases the poll interval to 4 seconds to catch every 4.75 second wind update.
You can also configure the GW1000 as a HTTP Station (Ecowitt). That is intended to be used for Ecowitt consoles which do not have a local API like the GW1000.
If you use that setting, then everything is controlled by the station/GW1000. CMX just sits there waiting for some data to be sent to it. And yes it has no idea what sensors you have attached.