That's because your direction was already (intermittently) giving 7FFF but your wind speed was zero, so the set of wind data didn't get ignored as it did subsequently.
Dealing with that set of data (valid wind speeds but invalid wind direction) sensibly is quite tricky. What I can do is check for the 7FFF value separately and use zero instead. The only issue with that is that any offset would still get applied. Doing anything about that is very messy because the offset is applied in the common code.
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
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
CMX and <#wdirdata>
Moderator: mcrossley
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CMX and <#wdirdata>
Steve
- 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: CMX and <#wdirdata>
Does that apply to the insert at the end of file though? The wind speeds are being reported as...
2017-01-22 19:22:00.327 Ignoring wind speeds. Speed=255 mph, Avg=255 mph.
just before the insert, and for every data packet received above that after I changed station.
Anyway, I have fixed my relay code so this shouldn't happen any more (intermittent 'not connected' messages), but I'm not sure I fully understand what MX is doing.
2017-01-22 19:22:00.327 Ignoring wind speeds. Speed=255 mph, Avg=255 mph.
just before the insert, and for every data packet received above that after I changed station.
Anyway, I have fixed my relay code so this shouldn't happen any more (intermittent 'not connected' messages), but I'm not sure I fully understand what MX is doing.
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: CMX and <#wdirdata>
Once the speeds went out of range, it started ignoring all of the wind data, so the values in MX stayed at what they were previously.
Steve