Beginners guide to use Home Assistant’s webhooks like a pro

Поділитися
Вставка
  • Опубліковано 15 лис 2024

КОМЕНТАРІ • 70

  • @dumpsterdiner
    @dumpsterdiner Рік тому +3

    So much good info packed in here. Simple examples of advanced use cases your viewers can experiment and run with. Great add to the HA YTers community!
    Yesss, let's get started! 🙏🏽

    • @technithusiast
      @technithusiast  Рік тому

      I’m stoked you find this valuable. Much more to come!

  • @NebulaM57
    @NebulaM57 Рік тому +2

    Sir, this was epic! I learned more here than in all the searches I’ve done over the last few weeks! And not just webhooks, but home assistancy, iPhone automations, unthot of ides, etc!! You have definitely been liked and subscribed! Thank you!!

    • @technithusiast
      @technithusiast  Рік тому

      Thanks for the support and I’m so glad you love it! I’m not sure what drew you into my channel but check out some of the other vids here. I have more videos with other interesting ideas :)

  • @AlexBenfica
    @AlexBenfica Рік тому +1

    You explain very well. Keep doing home assistant stuff and red node. You know it all.

  • @MatthewOpsahl
    @MatthewOpsahl Рік тому +2

    How you only have 3900 views is completely beyond me. You have some of the most useful and very well produced videos on UA-cam relating to this stuff. When you get more traction with UA-cam, you are going to explode. Nice work on these!!!

    • @technithusiast
      @technithusiast  Рік тому

      I appreciate the comment! I’m sure YT just needs time 😁

    • @simonknight2973
      @simonknight2973 Рік тому

      Turning down the volume on the music might help. I found it repetitive and quite distracting. Great content, script and delivery though. 👍

  • @louisviciedo
    @louisviciedo Рік тому +1

    Awesome video on webhooks! For anyone that want to step up their HA game, this is the one for you. Using it to trigger motion from a Wyze cam in my garage into HAS via IFTTT

    • @technithusiast
      @technithusiast  Рік тому +1

      Dope to see other people using it. Webhooks are so versatile they allow you to vertically scale your automations and transform seemingly mundane things

  • @gleepwurp1974
    @gleepwurp1974 Рік тому +1

    Very Nice! I'll have to re-view this video again, so much information!

    • @technithusiast
      @technithusiast  Рік тому

      I wanted to provide a lot of value but not overwhelm. I’ll provide some additional ideas in upcoming videos to tie all this information together

  • @latchkeylegion
    @latchkeylegion Рік тому +2

    Liked, Subbed, and saved to Watch Later. This is really good stuff. Please keep going.

  • @hansnorling
    @hansnorling 9 місяців тому +1

    Thank you so much for a brilliant review of webhook along with home assistant.
    You have a perfect charisma which makes it easy to follow your presentation. Even for a Swede like me 🙂
    I subscribe immediately and look forward to more.
    Good luck!

    • @technithusiast
      @technithusiast  9 місяців тому

      I’m really glad you enjoyed it and I hope you enjoy the rest!

  • @DJohnsonDC
    @DJohnsonDC Рік тому +2

    Thank you for this video! My partner has a work-owned phone that we don't feel comfortable giving access to HA. This looks like it might be a solution to act as a trigger when she leaves work.

  • @suprsniper
    @suprsniper 7 місяців тому

    Most useful video. High quality content as the rest of the channel.

    • @technithusiast
      @technithusiast  7 місяців тому

      Glad to hear that! What did you find most useful in the video

  • @GregGranito
    @GregGranito Рік тому +2

    Love your videos. Keep doing it! You're really good at it.

  • @uSlackr
    @uSlackr Рік тому +1

    Love this - thanks.

  • @MarcinBauer
    @MarcinBauer Рік тому +1

    Great video! You mentioned that a website can call this webhook? Im interested in this part, since I want to add a button on my personal website that will turn on a light at my home. How can I achieve that?

    • @technithusiast
      @technithusiast  Рік тому +1

      Ohhhhhhhhhhh you’re in for a treat 😬 I’m releasing a video in a few weeks that should answer this question

  • @SimonPickup
    @SimonPickup Рік тому +1

    Just discovered and loving your channel, listened to a few videos so far. I use Shortcuts to trigger Home Assistant Companion rather than webhooks. What’s the advantage of using webhooks from Shortcuts?

    • @technithusiast
      @technithusiast  Рік тому +1

      Using shortcuts to talk to the companion app is a fantastic way to talk to home assistant and there’s nothing wrong with using it. I don’t have an android so I can’t verify this but reasonably the options available to a user could vary between devices. However with webhooks You could do just about everything the you can achieve through the companion app and since webhooks are agnostic it would work on any device or system that can make a POST call.

  • @videolan
    @videolan Рік тому +1

    It might find it useful to see a call made to ifttt by a device (as the trigger) to sending a webhook to get Home Assistant to do an automation. The steps are not quite as easy when it is not "local" and done via Nabu Casa which many of us use to deal with Alexa and Google devices. Excellent work.

    • @technithusiast
      @technithusiast  Рік тому

      This is definitely doable if you gave your home assistant device a public facing IP. I have a public URL for my HA and can send it webhook signals from anywhere which is pretty dope.

    • @videolan
      @videolan Рік тому

      @@technithusiast I prefer to use Nabu Casa as they take care of all the Alexa, Google and other third party sites. They are pain to deal with locally and Nabu Casa gives me some peace of mind over security issues.

  • @Ma_rMor
    @Ma_rMor 16 днів тому

    Hi, thank you for the video. I learned so much. Now i can realise my lights with webhooks over the shelly walldisplay multitouch geasture.
    But i have one problem, when i try to crate the webhook in nodered there is a message "This node requires Node-RED custom integration version 1.6.0+ to be installed in Home Assistant for it to function."
    How can i fix that problem?
    thank you

  • @KubedPixel
    @KubedPixel 11 місяців тому +1

    I run an AirBnB and I've split my house into 2 'zones'. My zone with all my usual automations and the guest zone which has some slightly different automations but don't negatively impact my automations experience.
    For instance, when I turn guest mode on, the fridge and radiator turn on in the guest room, the bathroom and communal lights dim to 30% between certain hours after sunset.
    When guest mode is off, the communal lights don't trigger as there is enough ambient light as it is from the windows, fridge and radiator turns off, heating turns off as it rarely gets cold enough for me to get cold.
    I don't like how the automations are setup though and that's because I don't know how to use node red and I find the gui automation setup not particularly intuitive so I've had to do it in a messy/hacky way.
    Webbooks: what I'd like to do is setup a local website in my homelab so if the guests want to boost the heating or brighten the bathroom lights, they can do so either via a qr code or by visiting my local website.

    • @technithusiast
      @technithusiast  11 місяців тому

      Sound like an effective setup! You can use web hooks for what you mentioned however you’ll probably need additional APIs to gather the device states

  • @waynenocton
    @waynenocton Рік тому

    Watching this the first time, I was a bit overwhelmed at the first half, so I think I got distracted by the second half, watching it the second time, it all came together much better, perhaps I was just too distracted the first time. I also tend to watch UA-cam at 1.25 speed, not a good idea on some, including yours lol, but I did end up figuring some of it out and it being quite useful. At work we have a very, old school, buzz door, people ring the bell, and from any of several locations they can push a button to buzz people in, it also has a keypad, a very old and annoying keypad, it can only have one 4 digit combo at a time, and people keep giving the digits to people that really shouldn’t have it, so it gets changed, a lot, so often I have to look at my notes on the rare occasions I need it, and hope it didn’t change, again.
    The way I ended up doing it was to hide an RFID tag under a switch block off plate by the door, then, in HA, created a new automation triggered by a webhook.
    Next, add any conditions and actions, in this case it simply toggles a Shelly 1, that’s wired to one of the buttons buzzes people in.
    Finally, enable the webhook in HA, under the cloud section (nabu class needed here), and create a shortcut on the iPhone triggered by that RFID tag, that executes the get contents of the url like in your video.
    I’m sure there are ways to do it without paying the $5/month for Nabu Casa, and I usually avoid monthly fees, but in HA’s case, I think it’s well worth it, I just hope they don’t jack it up over time and make me lose functionality.
    Sorry for the long rant, still loving your videos.

    • @technithusiast
      @technithusiast  Рік тому +1

      Yo this is dope! Im glad webhooks was able to come through for the win! I really enjoyed reading how you used this in a real-world situation. Can't wait to see what you come up with next 😄

    • @waynenocton
      @waynenocton Рік тому

      @@technithusiast oh I have more stuff to share lol, but I really need a basic coding class or something, the json stuff is still kicking my butt.

  • @daniellouquejr
    @daniellouquejr 7 місяців тому

    Great video. Can an action be created to send a web hook? I am not seeing that as an option. Thanks.

    • @technithusiast
      @technithusiast  7 місяців тому

      Can you elaborate a little more? Where are you trying to create an action?

  • @rashadpleasant
    @rashadpleasant Рік тому +2

    I've been looking for a meaningful way to use webhooks as well. Since my phone is connected to HA I just look for the state to change to is_charging to trigger a night scene at night. I also have one that announces via a google nest when the status changes to fully_charged. I'm looking forward to learning something cool in the comments.

    • @technithusiast
      @technithusiast  Рік тому +1

      Don’t worry! I’m dropping a video highlighting some really dope examples that uses webhooks

  • @tobias7581
    @tobias7581 Рік тому +2

    Interesting Video!
    But the background music is way to loud. When im watching the video on my phone (Samsung Galaxy S22 Plus) i can sometimes hardly hear you talk. Especially as a non native speaker is a clear voice important!
    I dont understand anyway the use of background music. It does not really add anything. An if, please keep it at a minimum to not distract from the content. Much appreciated!

  • @uSlackr
    @uSlackr Рік тому +1

    FYI for the future - HA now support GET method as of 2203.5

    • @technithusiast
      @technithusiast  Рік тому

      Yup! I was excited to find this out during their video announcement. This will open up more possibilities for sure :)

  • @DamienLee69
    @DamienLee69 Рік тому +2

    I very well could be wrong here, but could you not just expose the phone sensors via the HA companion app and get similar results? i.e. phone charging=automation triggered

    • @technithusiast
      @technithusiast  Рік тому

      I used the HA companion app at first but those sensors are not real-time and needs the app open/active for the state to change. Great question btw.

    • @DamienLee69
      @DamienLee69 Рік тому

      @@technithusiast Ah, well, at least I was half right, lol. Subbed btw. :)

    • @technithusiast
      @technithusiast  Рік тому

      I appreciate the sub!

    • @TheTeeJayGreen
      @TheTeeJayGreen Рік тому

      @@technithusiast I have a very similar routine setup for when I put my phone on my charger at night. I'm using the HA companion app to trigger it though. I don't have to open the app or have it active, but I'm using Android. I don't think it's quite real-time, but it's pretty quick.

  • @lmorgan1509
    @lmorgan1509 Рік тому +1

    I use webhooks with tasker to trigger automation in home assistant.

    • @technithusiast
      @technithusiast  Рік тому

      I never heard of Tasker before. What's that?

    • @SimonPickup
      @SimonPickup Рік тому +1

      I’m an iOS person myself, but I understand Tasker is the Android equivalent of Shortcuts in iOS.

    • @lmorgan1509
      @lmorgan1509 Рік тому +1

      From my understanding, tasker and IOS shortcuts are about the same imo.

  • @waynemenzi4288
    @waynemenzi4288 Рік тому

    Sure, wish you didn't have the background music in your videos.

    • @technithusiast
      @technithusiast  Рік тому +1

      Some of my earlier videos are a bit rough around the edges but the music becomes less obtrusive with my later videos 😁

    • @waynemenzi4288
      @waynemenzi4288 Рік тому +1

      @@technithusiast love the videos!! Can you do one showing basic node red? I'm trying to figure it out for home assistant, but can't really find any good videos that demonstrate it for dummies😂.

    • @technithusiast
      @technithusiast  Рік тому +1

      @@waynemenzi4288 I feel you on that. I couldn’t find a lot of good videos on it either and had to cobble together whatever I could find. I’ll see if I can do a crash course with node-red

    • @waynemenzi4288
      @waynemenzi4288 Рік тому

      @@technithusiast thanks! Even if it's something stupid easy, like turning on some switches or lights, just to get the hang of it. All of my automations are already setup thru home assistant, but would like to try something new, and I like how you really get into node red.

    • @technithusiast
      @technithusiast  Рік тому +1

      @@waynemenzi4288 good to know. Stay tuned I’ll plan a small masterclass series to teach the basics 👌🏾

  • @jerseyman99
    @jerseyman99 Рік тому +5

    There looked to be so much useful information here, but that background music is SO intrusive that I gave up in the end.

    • @technithusiast
      @technithusiast  Рік тому +1

      Yeah that was my bad. I edited the video without headphones and didn’t realized the music was not where it should’ve been.

  • @cloudsong9437
    @cloudsong9437 4 місяці тому

    A humble recommendation: Do not add any background music/sound to the sections where you are talking. It is too loud, muffles your voice, and quite distracting. I stopped watching as the background music never fades away, and stays on throughout the whole video. It's a shame, as I really wanted to learn more about webhooks.

    • @technithusiast
      @technithusiast  4 місяці тому

      Ah i see you've found my earlier works when I first got started. Perhaps try more recent videos?

    • @cloudsong9437
      @cloudsong9437 4 місяці тому

      @@technithusiast I certainly will. Thank you for all the good work.

  • @CompleteMisc
    @CompleteMisc Рік тому +1

    Boy, I so wanted to understand this but I still don’t understand what a webhook is and why I’d want to use one. And I was totally lost with the discussion of get and put. For a beginners guide that was glossed over. This is a problem with many of the advanced videos I see on home automation. They assume that users understand what things like web hooks and daemons are. I you don’t have that basic knowledge you are lost. Maybe it’s just me…🫤

    • @technithusiast
      @technithusiast  Рік тому +1

      This is good feedback! I’ll see if I can do a part two in the future that simplifies the concepts