In this video, I'm going to show you how to use MQTT to integrate your custom DIY devices into Home Assistant. After covering the basics of MQTT and how it works, I'll show some examples of using MQTT in Home Assistant, how it can be added to your custom device and how to integrate that device into Home Assisant via automations, sensors and switches. I'll show all this with a real world example of a DIY device I integrated into Home Assistant using MQTT. Chapter Breaks: ============== 00:00 Intro 01:48 What is MQTT? 02:34 Overview of how MQTT works 05:32 MQTT payloads 06:30 Publishing and subscribing in Home Assistant 07:54 MQTT Broker options 09:18 Additionl MQTT terms 10:05 Overview of MQTT-based matrix clock 12:03 Home Assistant MQTT-based dashboard and features 13:39 Why this device needs to subscribe and publish 14:20 Using the MQTT retain flag 21:10 Adding MQTT to your custom DIY device 22:36 Adding device MQTT entities to Home Assistant 26:54 Wrap up and alternatives Links to utilities and code shown: ================================= MQTT Explorer Utility: Arduino and Home Assistant Code Used: Links to video of projects shown in intro: ========================================= Matrix Clock and More: Virtual Window: Raspberry Pi Parking and Vehicle Presence: TM1638 7-Segment LED Display: Animatronic Halloween Props: ESP8266 and WS2812b Parking Assistant: DIY Amplifier: New video with MQTT coming soon! You can help support this channel, or just say thanks, by buying me a cup of coffee at: #mqtt #homeassistant #diyelectronics











