Get Started with the Home Assistant MQTT Integration

  Рет қаралды 16,917

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

Пікірлер: 23
@MINUS_Stl
@MINUS_Stl 8 ай бұрын
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
@jeeva3984
@jeeva3984 7 ай бұрын
Hi i'm running home_assistant in docker container how to install mosquitto because there is no add-ons 😒
@panchoflies7910
@panchoflies7910 5 ай бұрын
Thanks for your excellent video!
@ThePulsar14
@ThePulsar14 Ай бұрын
Great Video! Good start for experimentation 👍👍👍
@sssrgo
@sssrgo 7 ай бұрын
Liked. Subscribed. Continue please!
@josephinep6567
@josephinep6567 2 ай бұрын
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 8 ай бұрын
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 2 ай бұрын
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!!
@toly11041982
@toly11041982 4 ай бұрын
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 ☺️👍
@joeking5211
@joeking5211 2 ай бұрын
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
@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 5 ай бұрын
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 5 ай бұрын
have you tried `core-mosquitto` for Broker?
@ThijsLiefhebber
@ThijsLiefhebber 2 ай бұрын
If you don't have the addons option, it's because you're running on Docker.
@RasimTech
@RasimTech 6 ай бұрын
How can I communicate with you?
@daveogfans413
@daveogfans413 Ай бұрын
heello bautiful ladi, may i chat u plis?
@BrettSeibert
@BrettSeibert 4 күн бұрын
I’ll bet a million dollars none of this works…… like fucking every other thing having to do with home assistant
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 106 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 14 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 36 МЛН
Secret Experiment Toothpaste Pt.4 😱 #shorts
00:35
Mr DegrEE
Рет қаралды 20 МЛН
Getting Started With Home Assistant Yellow!
19:12
Everything Smart Home
Рет қаралды 78 М.
Remote Access to Home Assistant Using Tailscale
4:59
Joyce Lin
Рет қаралды 2,4 М.
Home Assistant - Mosquitto broker, Zigbee2mqtt, MQTT - October 2023
20:50
Alex Kvazis - технологии умного дома
Рет қаралды 45 М.
When to Use Home Assistant Automations, Scripts, and Scenes
7:08
MQTT 101: Integrate your DIY Devices into Home Assistant
28:06
ResinChem Tech
Рет қаралды 69 М.
How to Get Started with MQTT
13:38
Opto Video
Рет қаралды 399 М.
How My New Smart Home Dashboard is GENIUS
9:00
Smart Home Solver
Рет қаралды 150 М.
Connecting Victron to Home Assistant using MQTT
17:38
Melon Monkey Garage
Рет қаралды 12 М.
Запрещенный Гаджет для Авто с aliexpress 2
0:50
Тимур Сидельников
Рет қаралды 531 М.
ВАЖНО! Не проверяйте на своем iPhone после установки на экран!
0:19
ГЛАЗУРЬ СТЕКЛО для iPhone и аксессуары OTU
Рет қаралды 6 МЛН
Лазер против камеры смартфона
1:01
Newtonlabs
Рет қаралды 717 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 422 М.