Home Assistant MQTT Broker Install

  Рет қаралды 29,716

Tech Tutorials - David McKone

Tech Tutorials - David McKone

Күн бұрын

In this video we show you how to install and configure the Mosquitto MQTT Broker in Home Assistant
MQTT is a messaging protocol for IOT devices that opens up a lot of possibilities for Home Assistant
It doesn't need additional hardware because it will run on your existing computer network
But MQTT does require a broker to acts a bit like a Post Office for all the messages
Fortunately Home Assistant is supplied with an MQTT broker add-on
Useful links:
mqtt-explorer.com/
=============================
SUPPORT THE CHANNEL
Donate through Paypal:
paypal.me/DavidMcKone
Donate through Buy Me A Coffee:
buymeacoffee.com/dmckone
Become a monthly contributor on Patreon:
/ dmckone
Become a monthly contributor on KZfaq:
/ @techtutorialsdavidmckone
==============================
==============================
MEDIA LINKS:
Website - www.techtutorials.tv/
Twitter - / dsmckone1
Facebook - / dsmckone
Linkedin - / dmckone
Instagram - / david.mckone
==============================
Steps Taken
1) Install Broker
For Home Assistant, we'll install an add-on called Mosquitto broker
2) Create HA user account
We'll create a separate account for the integration software to login with
3) Install Integration
HA needs to connect to the broker so we'll install the MQTT integration
4) Create device account
We'll create a separate account for MQTT devices to login with
5) MQTT-Explorer
This is a very useful tool and we use it to demo how to connect to the broker
Chapters
00:00 Intro
00:44 Install Add-On
02:44 Create HA user account
04:27 Install Integration
06:24 Create device account
07:33 MQTT-Explorer
Credits
LoveLife | Instrumental Prod. Blue Mango | EQMUSEQ.COM by Don Da Vinci
soundcloud.com/eqmuseq/loveli...
mqtt protocol,mqtt home assistant,mqtt esp32,mqtt home assistant configuration,mqtt home automation,mqtt home assistant broker,mqtt home assistant example,mqtt home assistant sensor,home assistant mqtt setup,home assistant mqtt sensor,home assistant mqtt automation,home assistant mqtt broker setup,home assistant mqtt broker,home assistant mqtt settings,home assistant mqtt url,home assistant mqtt address,mqtt broker homeassistant,home assistant mqtt install
Home Assistant MQTT Broker Install

Пікірлер: 30
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 2 жыл бұрын
If you want to learn more about Home Assistant, this series will help you out kzfaq.info/get/bejne/hLelpKx13LCXYmg.html
@zoschfrosch4550
@zoschfrosch4550 Жыл бұрын
After hours of frustrating try and error I found your video. My HA did not auto detect the MQTT integration. The missing peace of information was the Broker name "core-mosquitto". Thank you very much, great video!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback and glad to know the video helped
@seanvalencia9480
@seanvalencia9480 Жыл бұрын
Really helpful getting my home assistant up and running. Thanks!🙏
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback, really appreciated
@user-vn7hn4nw2q
@user-vn7hn4nw2q 2 ай бұрын
mooie fijne beschrijving
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 2 ай бұрын
Goed om te weten dat de video nuttig was
@oleksandrdykyi734
@oleksandrdykyi734 Жыл бұрын
Thank you. This video helped again
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback, always appreciated For me, having an MQTT broker in HA is proving to be more useful than I expected
@askjeeves4981
@askjeeves4981 Жыл бұрын
Great video. i tried following another guide by someone else but it was too far out of date and confused a first timer like me. Thanks
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback, much appreciated
@MrPeregrines
@MrPeregrines Жыл бұрын
Thank You for your great guide! Its working perfectly - except, I dont get any auto discoveries. Is there anything I can do about it?
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
That's odd as it should be enabled by default Click on Settings, then click Devices & Services Under the MQTT broker integration click Configure Now click Re-Configure MQTT Assuming those settings are fine, click Next Now make sure Enable discovery is enabled and then click Submit
@yahmk3978
@yahmk3978 7 ай бұрын
Thank you!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 7 ай бұрын
Glad you found the video helpful, and thanks for taking the time to leave a comment
@ppi57
@ppi57 Жыл бұрын
@ 9:35, (MQTT Explorer) where did you get the "Host" name from? Thx for the Vid!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
For me it was configured in my DNS server If you don't have a DNS server you can add a static entry to a computer's hosts file to do the translation Otherwise you could just use the IP address
@ppi57
@ppi57 Жыл бұрын
@@TechTutorialsDavidMcKone I've tried the IP address of the Rpi hosting the HA instance... doest connect for some reason. I was going to give it a name in "Terminal" but got a little scared... I don't want to screw anything up. FYI, I'm running Unifi controller if that makes a difference. Thx for the quick reply.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
@@ppi57 Well a basic test is can you reach home assistant itself from this device? Point a web browser to port 8123 and see if the login page comes up If not then there is a connectivity problem that needs fixing Are there any firewalls in the way that could block access to the broker? Did you disable the SSL/TLS option and are using http instead of https?
@ppi57
@ppi57 Жыл бұрын
@@TechTutorialsDavidMcKone I have no trouble connecting to HA from my computers/phones, using 192.xxx.xx.xxx:8123 , and everything is running well
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
In that case it requires deeper troubleshooting You can check the log files for Mosquitto broker to see if that shows anything when you try to connect If you have access to a windows computer try a telnet session to port 1883 If you don't get any response at all then something is wrong on the HA end that will need investigating Otherwise we're into using something like wireshark to see what's going wrong
@francescmaciavfx
@francescmaciavfx Жыл бұрын
Hello, thanks for the tutorial. Only one question, you create a Mqqt Client account, but never show us, where and how to use it, only yhe Mqtt broker account ;) All the best!
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback, much appreciated The MQTT broker will be used by other devices and I didn't want to repeat installing this broker every time I create a video that uses MQTT So this video covers installing the broker but also a user account you would use for MQTT clients
@expertstatue7138
@expertstatue7138 Жыл бұрын
by the way you don't need to edit the username because it auto adds cause it registers if a tasmota or some device connects like shelly or zigbee2mqtt so you do not need to edit the integration mosquito broker add on knows if a device joins via mqtt
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
Thanks for the feedback, much appreciated I prefer to control user accounts to improve security There are plenty of warnings about IoT device security weakness and the last thing I want is any device being able to connect to the broker
@tanmayalex32
@tanmayalex32 Жыл бұрын
If i want to connect my Tasmota from outside the network it is not connecting.
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone Жыл бұрын
A lot depends on how these different networks connect to each other If there's a firewall in the path for instance then it needs to allow the traffic The MQTT client would also need the option disabled that restricts access to the local network
@igorvoronin8301
@igorvoronin8301 2 жыл бұрын
Не помогло ни разу. У меня нет ни каких аддонов в меню ((( не знаю как подключить новое устройство - сенсор в home assistant. mqtt брокер - его видит и принимает сообщения в топике, но в home assitant не понятно как увидеть показания с этого сенсора
@TechTutorialsDavidMcKone
@TechTutorialsDavidMcKone 2 жыл бұрын
Надеюсь, это переводится правильно Видео охватывает только установку брокера Но в качестве примера я установил Room Assistant и ESPresence в дополнение к этому. После того, как датчики были настроены для общения с MQTT Broker, Home Assistant узнает об этих датчиках У меня нет других датчиков MQTT для сравнения, но похоже, что Home Assistant не распознает ваши датчики Я установил Home Assistant и оставил настройки по умолчанию, чтобы разрешить MQTT работать автоматически Но разработчики сделали все необходимое, чтобы позволить этим двум системам работать с Home Assistant.
Home Assistant Node-RED Install Plus Examples
1:14:32
Tech Tutorials - David McKone
Рет қаралды 55 М.
AWESOME EMQX MQTT Broker add-on.  Excellent UI for Home Assistant!
21:33
TRY NOT TO LAUGH 😂
00:56
Feinxy
Рет қаралды 16 МЛН
Why You Should Always Help Others ❤️
00:40
Alan Chikin Chow
Рет қаралды 122 МЛН
Countries Treat the Heart of Palestine #countryballs
00:13
CountryZ
Рет қаралды 30 МЛН
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 11 МЛН
Blog. Home Assistant. MQTT Bridge - Mosquitto broker synchronization
8:10
Alex Kvazis - технологии умного дома
Рет қаралды 11 М.
Home Assistant Zigbee2MQTT Setup
20:30
Tech Tutorials - David McKone
Рет қаралды 17 М.
MQTT 101: Integrate your DIY Devices into Home Assistant
28:06
ResinChem Tech
Рет қаралды 66 М.
Get Started with the Home Assistant MQTT Integration
9:06
Joyce Lin
Рет қаралды 14 М.
What is an MQTT Broker Clearly Explained
10:11
Opto Video
Рет қаралды 187 М.
MQTT and Home Assistant
11:38
Home Automation Guy
Рет қаралды 106 М.
15 Home Assistant Tips You MUST Do
14:28
Everything Smart Home
Рет қаралды 334 М.
Automate Local TLS Certificates With Step-CA
36:57
Tech Tutorials - David McKone
Рет қаралды 1,7 М.
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 2,1 МЛН
Мечта Каждого Геймера
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Купил этот ваш VR.
37:21
Ремонтяш
Рет қаралды 265 М.
Нашел еще 70+ нововведений в iOS 18!
11:04