Home Assistant MQTT Broker Install

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

ความคิดเห็น • 30

  • @TechTutorialsDavidMcKone
    @TechTutorialsDavidMcKone  2 ปีที่แล้ว +1

    If you want to learn more about Home Assistant, this series will help you out
    th-cam.com/video/NQuqIDwJ324/w-d-xo.html

  • @zoschfrosch4550
    @zoschfrosch4550 2 ปีที่แล้ว +3

    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!

  • @expertstatue7138
    @expertstatue7138 ปีที่แล้ว +1

    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

  • @igorvoronin8301
    @igorvoronin8301 2 ปีที่แล้ว +1

    Не помогло ни разу. У меня нет ни каких аддонов в меню ((( не знаю как подключить новое устройство - сенсор в home assistant. mqtt брокер - его видит и принимает сообщения в топике, но в home assitant не понятно как увидеть показания с этого сенсора

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  2 ปีที่แล้ว +1

      Надеюсь, это переводится правильно Видео охватывает только установку брокера Но в качестве примера я установил Room Assistant и ESPresence в дополнение к этому. После того, как датчики были настроены для общения с MQTT Broker, Home Assistant узнает об этих датчиках У меня нет других датчиков MQTT для сравнения, но похоже, что Home Assistant не распознает ваши датчики Я установил Home Assistant и оставил настройки по умолчанию, чтобы разрешить MQTT работать автоматически Но разработчики сделали все необходимое, чтобы позволить этим двум системам работать с Home Assistant.

  • @francescmaciavfx
    @francescmaciavfx 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว

      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

  • @MrPeregrines
    @MrPeregrines 2 ปีที่แล้ว +1

    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  2 ปีที่แล้ว

      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

  • @tanmayalex32
    @tanmayalex32 2 ปีที่แล้ว +1

    If i want to connect my Tasmota from outside the network it is not connecting.

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  2 ปีที่แล้ว

      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

  • @ppi57
    @ppi57 2 ปีที่แล้ว +2

    @ 9:35, (MQTT Explorer) where did you get the "Host" name from? Thx for the Vid!

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  2 ปีที่แล้ว

      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 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว +1

      @@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 2 ปีที่แล้ว

      @@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  2 ปีที่แล้ว

      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

  • @askjeeves4981
    @askjeeves4981 2 ปีที่แล้ว +1

    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

  • @seanvalencia9480
    @seanvalencia9480 ปีที่แล้ว +1

    Really helpful getting my home assistant up and running. Thanks!🙏

  • @oleksandrdykyi734
    @oleksandrdykyi734 ปีที่แล้ว +1

    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

  • @MartinIngridDenouden
    @MartinIngridDenouden 6 หลายเดือนก่อน +1

    mooie fijne beschrijving

  • @yahmk3978
    @yahmk3978 10 หลายเดือนก่อน +1

    Thank you!

    • @TechTutorialsDavidMcKone
      @TechTutorialsDavidMcKone  10 หลายเดือนก่อน

      Glad you found the video helpful, and thanks for taking the time to leave a comment