Closed zachfi closed 4 years ago
Hi @xaque208,
The open source firmware of ANAVI Miracle Controller follows the Home Assistant community standards with JSON payload of the following MQTT entities:
MQTT Light - for each of the LED strips
MQTT Sensor - for any of the supported I2C sensor attached to ANAVI Miracle Controller
MQTT Discovery - for automatic discovery of the device by Home Assistant
All these specifications for JSON serialized data in the payload defined by Home Assistant have been already partially or fully adopted by other open source IoT platforms like OpenHAB and ioBroker.
It is also possible to use them directly for your custom application, for example this simple HTML5 web page for demo purposes uses the Paho MQTT JavaScript client library has support for ANAVI Miracle Controller. The live demo is available here and you see how it works from user's perspective in this video.
Best regards, Leon
Excellent, thank you for the pointers. That's just what I was after. Cheers.
Hello, just received the controller and very excited to integrate it into my system.
I've connected the controller to a mosquitto server running in my basement, and watching all the messages being sent with
mosquitto_sub
. I'm wondering how to manage the/config
endpoint. Is this a protocol invented by Anavi, or a community standard? Either way, would you mind pointing me at some reading material so I can build something to parse those messages correctly and know how to use them. In this case, I suppose I'd want to change things about the lights and such, but I'm not using home assistant or other platform.