Hacker News new | past | comments | ask | show | jobs | submit login

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..



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.


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

https://www.home-assistant.io/components/#all




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: