MQTT 102: Add Home Assistant Discovery to your Devices

Описание к видео MQTT 102: Add Home Assistant Discovery to your Devices

Instead of asking users to manually enter a bunch of YAML to integrate your MQTT device, you can easily add Home Assistant MQTT discovery to your project and integrate your entities straight into Home Assistant. No fancy APIs or coding necessary. Just add a couple of MQTT messages to your device setup. I'll show you the basics, along with some recommendations for your own projects to make your device as easy to add to Home Assistant as any other native integration.

You can find additional information, along with code snippets and more in the written version of this project:
https://resinchemtech.blogspot.com/20...

Chapter Links:
=============
00:00 Intro and Requirements
02:33 Discovery Topics and Payloads
06:12 Providing a Discovery Option
07:36 Publishing a Single Entity
10:12 Importance of Unique IDs
13:00 Creating a Home Assistant Device
19:29 Wrap Up and More Info

Additional Links and information:
================================
Written Guide: https://resinchemtech.blogspot.com/20...
Github Gist of pertinent code used in this video: https://gist.github.com/Resinchem/ecd...
DIY Home Assistant Integrations:    • MQTT 101: Integrate your DIY Devices ...  
Official Home Assistant Doc (including discovery info): https://www.home-assistant.io/integra...

If you'd like to help support this channel, or just say thanks, you can consider buying me a cup of coffee:
https://www.buymeacoffee.com/resinche...

#mqtt #homeassistant

Комментарии

Информация по комментариям в разработке