I’m experimenting with a Niko Home Controller 2 and have found (by looking at how they are doing thing on a feature branch for OpenHAB) how to control some lights using MQTT.
It theory it should be easy to write something for NHC2, but I’m new to hass.
I’m calling out to developers who have written integrations and willing to help me.
I have no Python experience (only Java and JS) but am willing to learn or help to get the job done.
Anyway, are there people interested in this topic?
Well, like initial state. You can ask the NHC2 the initial state of all devices, but not of one. How do I set it? It will not be correct if I restart hass. Also the JSON is different the when you get an individual update. And those are not publish with the RETAIN flag
Then there is usability, adding these lamps (etc) mqtt devices is not easy, they are not documented.
And when you do get all the info you need, you are stuck with a API were all the devices are controlled trough 3 topics. One to do calls, one to get responses and one with status updates. So you need to interpret the body to know what lamp we are talking about.
In the end, I’ll get all my devices working I guess, it’s just that, I would think we would want to make it more easy for those who come later. Just put in an IP address/host, get a list of devices …