Example Config for Wifi Logger 2 and WeeWX-MQTTSubscribe?

274 views
Skip to first unread message

t...@tom.org

unread,
Mar 29, 2022, 7:29:26 AM3/29/22
to weewx-user
Hi all,

I want to change the architecture of at least one of my weewx installs such that instead of weewx using the Wifi Logger as a data logger, my Wifi Logger is posting MQTT messages and a weewx instance picks up the messages and stores loop and archive records.

In searching around, I was unable to find a complete example of this, but I suspect it has been done before.

I think the main thing would be the mapping from the elements in the MQTT message posted by the Wifi Logger to fields in weewx, and I am also unsure how weewx ingests those messages and knows to generate archive records.

I apologize if this his out there and obvious. But if anyone has an end-to-end example that helps me avoid reinventing the wheel, I would be grateful for a link or example weewx.conf. If not, I will do the work and share it.

Thanks in advance.

bell...@gmail.com

unread,
Mar 29, 2022, 8:55:17 AM3/29/22
to weewx-user
Hi,
This  issue, https://github.com/bellrichm/WeeWX-MQTTSubscribe/issues/105 has some information that might help you. When you get a full config, I'd love to add it to my examples, https://github.com/bellrichm/WeeWX-MQTTSubscribe/tree/master/exampleConfigs.

When running MQTTSubscribe as a driver, it takes each MQTT message and creates a WeeWX loop packet. WeeWX then creates archive records from these.

If you need help getting the configuration set up, let me know
- rich

t...@tom.org

unread,
Mar 29, 2022, 5:08:17 PM3/29/22
to weewx-user
Rich, thanks. I found that thread and will dig into it further. If anyone has more info or something to add, I'm all ears. I will be working on this and will definitely share what I come up with.
Reply all
Reply to author
Forward
0 new messages