Re:Home Assistant: Open-source home automation platform runn...
by jasonjayr on Thursday August 23, 2018 @10:20AM
(#17827446)
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..
[ Parent
| on HN ]
Re:Home Assistant: Open-source home automation platform runn...
by selvakn on Thursday August 23, 2018 @10:31AM
(#17827563)
You can always leverage existing MQTT based components 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/ho... and other components. You implement couple of methods of existing traits, in this case, SwitchDevice.
Re:Home Assistant: Open-source home automation platform runn...
by nijave on Thursday August 23, 2018 @11:08AM
(#17827863)
You 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