Increase publish rate for WeeWx to MQTT

172 views
Skip to first unread message

Gary Prade

unread,
Dec 13, 2021, 4:50:18 PM12/13/21
to weewx-user

I am running WeeWx on a Raspi 3B+ running Buster; Weewx version 4.3.0,  MQTT v 0.23.

I have been running WeeWx for several years.  In addition to publishing to a couple of services I use the .csv file on a network server for in house consumption of weather data.  I have recently started converting MQTT, publishing to an in-house MQTT server.  I use this server for other applications as well and it is very responsive with very low latency.  

The .csv file updates every few seconds but the MQTT data is only pushed every few minutes.  For some of the weather data this is adequate but I would like to speed up the publishing rate for MQTT.  How do I control that; there does not seem to be an obvious way to control it?

gjr80

unread,
Dec 13, 2021, 5:15:55 PM12/13/21
to weewx-user
You need to change the MQTT uploader binding to ‘loop’. Refer to the ‘binding’ option description under ‘Options’ in the MQTT uploader readme - https://github.com/weewx/weewx/wiki/mqtt#options

Gary

Gary Prade

unread,
Dec 13, 2021, 6:14:12 PM12/13/21
to weewx-user
Worked.  Thanks!
Reply all
Reply to author
Forward
0 new messages