Get Started with the Home Assistant MQTT Integration

  Рет қаралды 15,690

Joyce Lin

Joyce Lin

Күн бұрын

Home Assistant is a popular open-source automation platform that lets you control and monitor smart devices from different brands using a unified interface. in this video, let's learn more about the MQTT protocol, and explore the Home Assistant MQTT integration in Postman.
0:00 Start
0:08 Introduction to MQTT
0:55 Create a new Home Assistant user
1:47 Install and start message broker add-on
2:25 Add and configure MQTT integration
4:10 Fork the Postman collection
5:00 Authorize MQTT API in Postman
6:09 Send MQTT message in Postman
6:40 Subscribe to MQTT topic in Postman
7:28 Example of Tasmota smart switch
8:43 Example of streaming real-time sensor data
Step-by-step tutorial:
quickstarts.postman.com/guide...
Home Assistant developer documentation:
www.home-assistant.io/integra...
Home Assistant MQTT API Postman collection:
www.postman.com/postman/works...

Пікірлер: 22
@MINUS_Stl
@MINUS_Stl 7 ай бұрын
Thank you for this! I need to set up MQTT in my Home Assistant and this was nice and easy to follow.
@colormaker5070
@colormaker5070 5 ай бұрын
Not knowing anything about mqtt in HA this was so easy to follow. Thank you subscribed
@panchoflies7910
@panchoflies7910 5 ай бұрын
Thanks for your excellent video!
@ThePulsar14
@ThePulsar14 28 күн бұрын
Great Video! Good start for experimentation 👍👍👍
@sssrgo
@sssrgo 6 ай бұрын
Liked. Subscribed. Continue please!
@josephinep6567
@josephinep6567 Ай бұрын
Thanks for this! Looking forward to more MQTT content from you. I'm currently working on MQTT low power client side firmware implementations for sensor data acquisition. Have you explored MQTT QOS on the client side before?
@george_gav24
@george_gav24 7 ай бұрын
Excellent video Joyce, I’ve been tinkering with HA for a few months and have made a little phython script that fetches my icloud battery status from various devices and sends it to HA via Mqtt but I think it”s very rudimentary, maybe you can show us how to make a little add-on to run python scripts and have it under supervisor, I am just an enthusiast btw, cheers
@rdflo6739
@rdflo6739 Ай бұрын
Thanks for this great explanation. I somehow managed to get to this point too, and I have messaged coming into the mqtt broker. However, how do I get ha to pick up the data and make it available to a dashboard.. could you show the lightswitch working in ha, for example? Or a graph of a temperature sensor over time? Thanks for the content!!
@joeking5211
@joeking5211 Ай бұрын
How the heck do you turn off mqtt Auto Discovery and delete old/no longer unused Tasmota mqtt devices. This HA is just a nightmare, as you are fully in control of mqtt in HA I can only assume you know the 'secret', would you be so kind to enlighten us to get rid of these unwanted / unused devices. Thks so much
@jeeva3984
@jeeva3984 6 ай бұрын
Hi i'm running home_assistant in docker container how to install mosquitto because there is no add-ons 😒
@toly11041982
@toly11041982 3 ай бұрын
Thank you. I am waiting my sonoff dongle because cannot get the skyconnect to work with z2m , so, after i receive it i will get back to you as i have some devices that didn’t work in ZHA , do i will start playing with z2m . Great video ☺️👍
@toly11041982
@toly11041982 3 ай бұрын
Can you please help me? I am trying to get into garden lighting with HA. I just wonder what is the best protocol to start with : thread or zigbee 3.0 based ? Thank you for your guidance !
@joeking5211
@joeking5211 7 ай бұрын
Joyce, just spotted your vid before finally scrapping HA for good.Your vid for me is superb up to 4:11. My I explain. I have used many Tasmota switches etc and programmed control of these using nodered for many years so no noobe to either mqtt or mqtt hardware etc, but have just returned to 'maintaining' things after a long while and learned that nodered will be stopping the NR Dashboard at some point, what a pity, and had heard over the years that HA's Dashboards are really good and more configurable than NR. So 5 days ago I got HA up and running ( OS 11.1, got updated today to 11.2 ) and proceeded to view countless YT vids just to get a MQTT device ( a tasmota switch in my test case ), configured into HA for some testing with the view to migrating. I do not want to use the 'Tasmota' Add-On, as I should like to be 'in contol' in the long run, and will use other generic mqtt devices as I am still not sure what the 'Tasmota Add-On' does ( i'm only 5 days of seeing HA ), as a Tasmota device is just a mqtt device assuming it is set for mqtt off course, and so like your vid you dont add it, all other vids I have seen do and don't really see why as mqtt is mqtt. But joice, this is where all things go worng. I have a Tasmota device that been added succesfully to the config yaml, I use the broker.hivemq.com broker in all my NR setups, very convenient and so set everything up as your vid upto 4:11 perfectly including the test @ 3:08 so I know the device is working from the HA test screen. BUT I cannot see the device on the HA 'Overview' screen and cannot see it in the 'Integrations' 'Devices' or 'Entites', even doing a search, nothing shows ie there is nothing to 'click' on, no graphic or anything anywhere that I can find to control it within HA except on the test page ( your vid 3:08 time ) whichn operates it perfectly with both pub & sub results. I actually put 2 of my Tasmota devices in and the yaml entry is as follows: mqtt: switch: - unique_id: night_light_switch name: "Night Light" state_topic: "stat/A/B/POC_1/POWER" command_topic: "cmnd/A/B/POC_1/POWER" availability_topic: "tele/A/B/POC_1/LWT" payload_on: "ON" payload_off: "OFF" qos: 0 retain: false - unique_id: Riden_RD6006-1_switch name: "Riden RD6006 PSU" state_topic: "stat/A/B/Riden_RD6006-1/POWER" command_topic: "cmnd/A/B/Riden_RD6006-1/POWER" availability_topic: "tele/A/B/Riden_RD6006-1/LWT" payload_on: "ON" payload_off: "OFF" qos: 0 retain: false Joyce, you are my last hope here as all other so called YT HA experts just wander off it the depths of the so called marvels of HA without getting you off the start line first. I would be most grateful even if you can't help maybe direct me to a source that may, as your vid is closest yet to my problems. Warmest Rgds. A totally bemused and defeated HA potential user. Thks.
@Obtuse94
@Obtuse94 7 ай бұрын
Have you posted these questions to the HA forum?
@thomastommy9864
@thomastommy9864 4 ай бұрын
At 2:45, Mine was not added so I had to add manually. You didn't go through the configuration of that process. It's asking for Broker, Port, Username & Password. I guess I could fill out Port and Username and Password, but what do I enter for Broker? I've tried a few entries, but I get errors. Now I have to find another video to explain that and then come back here. As you can tell, I'm new to HA. EDIT: Okay, you fast forwarded over the part where you pressed the Start option. After that, it shows up now.
@joycejetson
@joycejetson 4 ай бұрын
have you tried `core-mosquitto` for Broker?
@ThijsLiefhebber
@ThijsLiefhebber Ай бұрын
If you don't have the addons option, it's because you're running on Docker.
@RasimTech
@RasimTech 5 ай бұрын
How can I communicate with you?
@daveogfans413
@daveogfans413 18 күн бұрын
heello bautiful ladi, may i chat u plis?
MQTT and Home Assistant: An Abridged Version
10:55
ResinChem Tech
Рет қаралды 2 М.
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 36 МЛН
Me: Don't cross there's cars coming
00:16
LOL
Рет қаралды 15 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
HOW DID HE WIN? 😱
00:33
Topper Guild
Рет қаралды 40 МЛН
Home Assistant - Mosquitto broker, Zigbee2mqtt, MQTT - October 2023
20:50
Alex Kvazis - технологии умного дома
Рет қаралды 44 М.
Get Started with the Home Assistant WebSocket API in Postman
11:27
Everything New In Home Assistant 2024.6!
10:20
Everything Smart Home
Рет қаралды 65 М.
MQTT and Home Assistant
11:38
Home Automation Guy
Рет қаралды 107 М.
5 Home Assistant Automations For Better Smart Lights!
15:58
Everything Smart Home
Рет қаралды 127 М.
Every Home Assistant Install Should Use This
9:05
Let's Automate
Рет қаралды 27 М.
Meet Spook. A new toolbox for Home Assistant. It's SCARY!
30:46
mostlychris
Рет қаралды 46 М.
Remote Access to Home Assistant Using Tailscale
4:59
Joyce Lin
Рет қаралды 2 М.
DIY Guide: 8 Essential Sensors to Give Your Smart Home Superpowers
23:07
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 259 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН