Using mbar with Belchertown and MQTT

65 views
Skip to first unread message

Kev D

unread,
Jun 21, 2019, 10:21:59 AM6/21/19
to weewx-user
Hi all,

I wanted to change my pressure units from inHg to mbar which I was able to do via weewx.conf, however, it appears once the MQTT starts to update it will revert back to inHg. 
pressure.JPG

 I assume I need to make an adjustment to the MQTT broker but not sure where. I created my own server by following Pat's instructions here: https://obrienlabs.net/how-to-setup-your-own-mqtt-broker/ Any guidance would be greatly appreciated!

Thanks,

Kev


rich T

unread,
Jun 21, 2019, 12:13:25 PM6/21/19
to weewx-user

In weewx.conf try adding 

[[MQTT]]
       ......

        [[[inputs]]]
            [[[[barometer]]]]
                units = mbar

Kev D

unread,
Jun 21, 2019, 1:24:46 PM6/21/19
to weewx-user
This worked perfectly, thank you!

rich T

unread,
Jun 21, 2019, 11:26:00 PM6/21/19
to weewx-user
Glad to help
Reply all
Reply to author
Forward
0 new messages