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

MQTT not published when the data arrives for the Tempest weatherstation

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

Post Reply
Dinant
Posts: 101
Joined: Sat 17 Aug 2013 9:11 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 2012 R2
Location: Markelo
Contact:

MQTT not published when the data arrives for the Tempest weatherstation

Post by Dinant »

Cumulus MX 3.28.6 b3283

I've two weatherstatons. The first a Davis Vantage Pro 2 publishes the wind values to mqtt when the data updates.

Code: Select all

2024-04-01 14:07:35.038 WLL Broadcast: {"did":"001D0A7104DC","ts":1711973254,"conditions":[{"lsid":309782,"data_structure_type":1,"txid":1,"wind_>
2024-04-01 14:07:35.039 DoWind: latest=14.5, speed=-1.0 - Current: gust=20.9, speed=9.0
2024-04-01 14:07:35.040 DoWind: New: gust=20.9, speed=9.0, latest:14.5
2024-04-01 14:07:35.043 Writing to Month.ini file
2024-04-01 14:07:35.047 End writing to Month.ini file
2024-04-01 14:07:35.047 MQTT: Processing DataUpdate Topic: cumulusmx/dataupdate/weatherstation/state
2024-04-01 14:07:35.048 MQTT: publishing to topic 'cumulusmx/dataupdate/weatherstation/state', message '{"time":"2024-04-01 14:07:35","wlatest":1>
2
The second a WeatherFlow Tempest also broadcast wind values but those are not published to mqtt when the data has arrived.

Code: Select all

2024-04-01 14:07:02.462 Received a Rapid Wind message
2024-04-01 14:07:02.462 Wind Data - speed: 1.91, direction: 288
2024-04-01 14:07:02.462 DoWind: latest=6.9, speed=-1.0 - Current: gust=14.1, speed=4.4
2024-04-01 14:07:02.463 DoWind: New: gust=14.1, speed=4.4, latest:6.9
2024-04-01 14:07:05.253 Received a Rapid Wind message
2024-04-01 14:07:05.253 Wind Data - speed: 2.15, direction: 285
2024-04-01 14:07:05.253 DoWind: latest=7.7, speed=-1.0 - Current: gust=14.1, speed=4.4
2024-04-01 14:07:05.254 DoWind: New: gust=14.1, speed=4.4, latest:7.7
2024-04-01 14:07:08.257 Received a Rapid Wind message
2024-04-01 14:07:08.257 Wind Data - speed: 2.02, direction: 290
2024-04-01 14:07:08.257 DoWind: latest=7.3, speed=-1.0 - Current: gust=14.1, speed=4.4
2024-04-01 14:07:08.258 DoWind: New: gust=14.1, speed=4.4, latest:7.3
2024-04-01 14:07:11.272 Received a Rapid Wind message
2024-04-01 14:07:11.272 Wind Data - speed: 1.66, direction: 333
2024-04-01 14:07:11.273 DoWind: latest=6.0, speed=-1.0 - Current: gust=14.1, speed=4.4
2024-04-01 14:07:11.273 DoWind: New: gust=14.1, speed=4.4, latest:6.0
User avatar
mcrossley
Posts: 14384
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: MQTT not published when the data arrives for the Tempest weatherstation

Post by mcrossley »

I just checked, and you are correct the MQTT update is only called for observation packets, there is no call after a "rapid wind" packet.

I'll get that fixed.
Post Reply