3 ms·
I couldn't find this easily before, but are there docs for how to build a new device that would be Home Assistant-ready right away to facilitate easy integratio
by jasonjayr 8y ago
I couldn't find this easily before, but are there docs for how to build a new device that would be Home Assistant-ready right away to facilitate easy integration? Most of the docs appear to be how to get existing devices managed by Home Assistant..
- selvakn 8y agoYou can always leverage existing MQTT based components https://www.home-assistant.io/components/mqtt/ https://www.home-assistant.io/components/mqtt/, by making your component MQTT compatible. Adding new component is also relatively straight forward. For ex, have a look at https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/switch/zigbee.py https://github.com/home-assistant/home-assistant/blob/dev/ho... and other components. You implement couple of methods of existing traits, in this case, SwitchDevice.
- nijave 8y agoYou should be able to look through the supported Home Assistant components. MQTT, as mentioned, is a good example. You could also do a RESTful interface and use the REST component https://www.home-assistant.io/components/#all https://www.home-assistant.io/components/#all