Separate MQTT topics per sensor? #7
PeterQuinn925
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Looks like it can do this. I will be testing it out shortly! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I started with an Acurite weather station using the Acurite driver more than 10 years ago. Over time, I've added new sensors and replaced those that failed on the Acurite. Other than the very first one I built, they all publish to my MQTT server. I have a bunch of tiny services that subscribe to different MQTT topics and write data to a temp file. My bastardized driver reads these temp files.
I've recently abandoned the Acurite station hardware entirely for reasons that are unimportant here.
I'm thinking of ditching the intermediate services and temp files and using a Weewx driver subscribe directly to the various MQTT topics. Can I use this driver with 4 or more MQTT topics? Right now some of the topics have two pieces of data, such as temp and humidity or pressure and temp as JSON. The topics are are weather/* such as weather/rain, weather/aqi.
If this isn't something that this driver supports, I might fork it.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions