Using Message Queues (MQTT) in Home Assistant to Trigger Automations more Efficiently!

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 30

  • @warizzle
    @warizzle 2 года назад +1

    Searched for a video like this for a while and this had exactly the info I needed! Thanks a bunch!

  • @miketony2069
    @miketony2069 Год назад +1

    Really nice! I'm familiar with mqtt with playing eith it on esp32s but never quite got aroune to understanding how to make it work in HA. This opens up so many possibilities! Thats for a well thought out tutorial!

  • @kissp79
    @kissp79 Год назад +1

    Hello!
    Do I want to automate with an MQTT message from a tasmota sonoff rf-bridge in Home Assistant? Is it possible at all? The messages go in, but the automation doesn't run at all. How should something happen simply by pressing an RF button?

    • @AwesomeOpenSource
      @AwesomeOpenSource  Год назад +1

      I haven't really messed with RF on home assistant, but I believe @paulhibbert has covered it a while back. You might search his channel.

    • @kissp79
      @kissp79 Год назад

      @@AwesomeOpenSource THX!

  • @petah2521
    @petah2521 2 года назад +1

    exactly what i needed! thanks for ur video

  • @yahmk3978
    @yahmk3978 Год назад +1

    Thank you very much!

  • @DeeJay1984
    @DeeJay1984 2 года назад +1

    Hi. Where did you get the template json from?

    • @AwesomeOpenSource
      @AwesomeOpenSource  2 года назад

      Are you talking about the topic info that I put in for the message MQTT is listening for?

    • @DeeJay1984
      @DeeJay1984 2 года назад +1

      Hi. Thanks for responding.
      At about 31:30 you are talking about conditions and choose Template.
      Here you paste in {{ trigger.payload_json.event == "S" }}
      The "S" is from the Shelly button. Where did you get the rest from?
      Also you got "SS" from double clicking. How do you find all the text a device can send?
      On a button you can press multible times and make long presses.
      How do you know about all features especially on more complicated devices?
      Thank you for a very good video

    • @diedrichg
      @diedrichg 2 года назад +1

      @@AwesomeOpenSource +1 You never mention how you found the JSON text for the template.

    • @johnconley4118
      @johnconley4118 2 месяца назад

      Great video...
      I miss this part too. Please explain where you got it from.

  • @mandeepmails
    @mandeepmails 2 года назад

    Nice Video. Very useful. i've got NodeRed MQTT setup that's working pleasantly for few years.
    However, For Frigate i'm trying my luck with HomeAssistant, no doubt HA installation itself has many gotchas...strangest thing, some people have got supervisor, some have got HACS, and some have got it on with docker..which makes sense but shouldn't there be just one straighforward universal UI and the options.
    quick question - could you share a dummy sample for the automations.yaml file where MQTT trigger is sending the messages on Telegram for example ( just sample) reason i could "manually" Run Actions and get the message. but for some reason the automations aren't triggering.
    All i'm trying to achieve is when a person is detected, HA should be able to trigger the automation and send the clip/snapshot to the Telegram 🙂

  • @bofloa
    @bofloa 3 года назад +1

    Good job man

  • @bofloa
    @bofloa 3 года назад +1

    Hey I follow you from the caribbean ...love to have one of those

    • @AwesomeOpenSource
      @AwesomeOpenSource  3 года назад

      Keep watching, I'll have details in the next couple of weeks!

  • @PaPaTheGMan1215
    @PaPaTheGMan1215 3 года назад

    So, when I configure and try to change the user/password, the broker says failed to connect. If I leave it alone it seems to be happy. The user is homeassistant and the password is a large string of random characters.

    • @AwesomeOpenSource
      @AwesomeOpenSource  3 года назад

      Just for testing try a shorter string of characters, and make sure to copy and paste it in the configure dialog as well as your device configuration. If it still doesn’t work, make sure there are no leading or trailing spaces.

  • @lakromani8172
    @lakromani8172 9 месяцев назад +1

    Topic should never start with / (learned from other video) it will add a 0 level above making 0/media/brian/on (it will work)

  • @dwaynelarose278
    @dwaynelarose278 3 года назад +1

    you should look into 433 mhz stuff. much faster