-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added new MQTT API #222
base: master
Are you sure you want to change the base?
Added new MQTT API #222
Conversation
Added support for MQTT API and lightning detector
Added support for MQTT API and lightning detector
O.K., I think I've got my code settled down now. Now I've got to build the other side of it on the Arduino to publish some test data... |
This is awesome. I just got WeeWX outputting mqtt, and would love to switch to that vs json files |
Hey, sorry I haven't gone further with this project (got distracted by other stuff), but if you can make use of it or test it, you're welcome! |
I'm in the process of building my own custom weather station to integrate into my Homekit-based smart home, using Arduino and some sensors, and I plan to use MQTT to relay data back to a Raspberry Pi running Homebridge and the mosquitto MQTT broker. As homebridge-weather-plus didn't yet support MQTT, but did have ways of reading JSONs, I'd like to contribute a new API to support getting the JSON from an MQTT broker, as well as supporting two new observations (which unfortunately can't be displayed in Eve App) based on data from the Austrian Microsystems (AMS) AS3935 Lighting Sensor. (Your use of changing the name of the Homekit accessories to display new data is ingenious, by the way!) While I haven't tested my code yet, Github says it can be "automatically merged" (which sounds good 😉).
Thanks also to CHAMLEX, whose WeeWX API code I used as a template for how to do this.