Trying to change units in WeeWx-MQTT not completely successful

108 views
Skip to first unread message

L B

unread,
Jun 6, 2025, 1:59:35 AM6/6/25
to weewx-user
I have been using Weewx for some years, and decided to export data to MQTT to put into HomeAssistant. It has been successful on Weewx version = 4.10.2 from Debian with Matthew Wall's MQTT extension.
I have been following some instructions from a 2018 thread https://groups.google.com/g/weewx-user/c/MkP6Tacef7k and have managed to change units for rain on the MQTT extension but not for rainRate.
When I had rainRate set for mm_per_hour Weewx refused to start.

log excerpt for one cycle which was successful and the next try with mm_per_hour in the config is attached

offending part of weewx.conf also attached. Commenting out the three lines allows weewx to run

The 2018 post describes success with using mm_per_hour for rain rate. The designation seems to be a current unit in https://weewx.com/docs/5.0/reference/units/
Can anyone help me to get mm_per_hour not cm_per_hour outputted by mqtt?

Liz


conf_extract.doc
weewx log.doc

Darryn Capes-Davis

unread,
Jun 6, 2025, 7:08:43 PM6/6/25
to weewx-user
Liz,

The log points to a config read error. Looking at what you posted, seems you have a fourth bracket missing after rainRate.

Regards

Darryn

L B

unread,
Jun 7, 2025, 7:14:34 AM6/7/25
to weewx-user

Thanks for that. Weewx has started, now to wait to see if the edit is successful.
Reply all
Reply to author
Forward
0 new messages