Garage Door Automation with Home Assistant and Shelly 1 Plus

Sdílet
Vložit
  • čas přidán 29. 11. 2021
  • This video will show you how to use the Shelly 1 plus and home assistant to create your own smart garage door automation.
    The following are useful links for the project:
    Supplies (I earn a small commission on these links):
    Power Supply: amzn.to/3spTOFW
    Magnetic Reed Switches (5 Count): amzn.to/3BZxINN
    Magnetic Reed Switches (2 Count): amzn.to/3CZH50A
    Shelly Plus 1: amzn.to/3wxM1ap
    The configuration.yaml file, as well as the stl and f3d files for shelly mount:
    drive.google.com/drive/folder...
  • Věda a technologie

Komentáře • 86

  • @cameronphillips789
    @cameronphillips789 Před rokem +4

    Thank you very much for this tutorial, and for making the YAML code accessible.
    Just in case someone stumbles on this and is trying to figure out why theirs isn't working: I have a Chamberlain with the MyQ stuff on it. However, I am not able to access my MyQ for a number of reasons, so I am working on this project. Turns out those openers use a RF signal to open the garage, not a physical button connection. I'm going to have to solder some wires on an extra button you can get for like $15 on amazon and use that for the button press.
    Thanks again!

  • @wimmooij1236
    @wimmooij1236 Před 2 lety +1

    Thanks for the video! It took me a bit of time to appreciate the creative use of the switch input of the shelly as a 'continuity sensor' that can be adapted to determine door closed/open status.

  • @Mark55Ellis
    @Mark55Ellis Před rokem +1

    Thank you for helping a nube on his Home Assistant journey.

  • @ericapelz260
    @ericapelz260 Před 7 měsíci +1

    Thanks! Your YAML saved me a bunch of time since I didn't have to write and debug my own.

  • @tombomb600
    @tombomb600 Před 18 dny

    Thank you so much for the video and sharing your config file. It's helped so much :)

  • @karlmee1234
    @karlmee1234 Před 2 lety

    Just came back to say that when I originally commented on your video, I had no idea what home assistant was. Since then I have set it all up and used your guide to set a Shelly 1 plus up with my garage door, including notifications for when it's is Opened, closed and left open for a certain period of time.
    I'd like to say thanks for the intuitive guide, it's is very well explained, even for a home assistant newbie like myself

  • @lemster101
    @lemster101 Před 11 měsíci +1

    Greatly appreciate your video. Thank you for showing all the steps really clearly and taking the time to explain why you set things up in a certain way, rather then just saying "press here".

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 11 měsíci +1

      I'm glad you found it helpful!

    • @lemster101
      @lemster101 Před 11 měsíci +1

      @@esmcustomcreations5247 It is exactly how it's installed in my house now, haha. I just changed the button press to be a press and hold and added a confirmation dialog window. Just to avoid accidental openings.
      Thanks again!

  • @flintstones712
    @flintstones712 Před rokem +1

    Thanks so much for the excellent video and accompanying yaml config file! I'm new to Home Assistant and just getting started with adding automation functionality to my home and this is my first Shelly project. The video has certainly been very helpful to get me up and running quickly. I've used it to succesfully automate the two doors on my garage and learnt a few things along the way which could have taken me some time to realise otherwise ... like using the switch input in detached mode as a binary sensor! Thanks!

  • @p23rodriguez
    @p23rodriguez Před 8 měsíci

    Thank you so much! This inspired me to keep learning YAML to help tweak what I want to see in Home Assistant!

  • @gary57210
    @gary57210 Před 9 měsíci +1

    Thanks for your feedback. I did finally get it to work. It seems that HA is kinda slow to my changes. I just went back to try somemore and it was all working. Now I'm going to do one for my shop door. Thanks again for you help.

  • @glen4cindy
    @glen4cindy Před 8 měsíci

    Nice video. I'm trying to adapt this to a Shelly 2.5 and 2 garage doors. I'm also planning on adding an alert "Door left open" that will trigger after a set length of time. I'm still learning how to use HA so it's a challenge. Videos like yours really help.

  • @waelzayed
    @waelzayed Před rokem +1

    Very well done video. Thank you for putting this together

  • @saabmagicman2588
    @saabmagicman2588 Před 6 měsíci +1

    Awesome instructions. Did this to Garage Door today, one of my first automations with HA. Thanks!

  • @CyberMattLee
    @CyberMattLee Před 8 měsíci

    Excellent video and a GREAT way to stay off public net. Thank you for this.

  • @ukuleledanno
    @ukuleledanno Před 2 lety

    Great tutorial and easy to follow. And kudos for uploading the 3D files and YAML! Thanks!

  • @jjrony7
    @jjrony7 Před 2 lety

    Great Video. I look forward to your upcoming videos. Very helpful just subscribed.

  • @LuisRRodas
    @LuisRRodas Před 2 lety +1

    Great Video. I look forward to your upcoming videos. Just subscribed.

  • @philipcook7608
    @philipcook7608 Před rokem +2

    Nice video! Thanks for the template and cover work. I ended up having to swap the ons and offs in the sensor section to get it to work right for me. I'm guessing it's normally open vs normally closed sensors.

  • @chocker72
    @chocker72 Před rokem

    Very helpful - My set up is working perfectly now. Thanks

  • @alexmiller3425
    @alexmiller3425 Před 2 lety +2

    wow this is very help ful

  • @MartdeGraaf
    @MartdeGraaf Před 2 lety

    Thank you for your informative video. Some more information on where the reed switch is placed was handy, i viewed that part like 8 times. I just got it to work. I also used a Shelly plus 1. The only difference is that i could take power from the garage door system.

  • @10138707
    @10138707 Před 2 lety

    great video. thanks been looking for looking forward to new videos

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Thanks bro! I appreciate that!

    • @10138707
      @10138707 Před 2 lety

      @@esmcustomcreations5247 okay have everything some what working but my home assistant doesn't work like yours i have everything the same as yours but when you chose cover garage door this doesn't acted like a button or change states when i make or break the switch thanks

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      @@10138707 I'm sorry you are having issues! Software configuration can definitely be a pain. Is it still giving you issues?
      If so, did you try rebooting home assistant, after making changes to configuration.yaml?
      When you add a card to lovelace, are you selecting the button card? Then for entity selecting cover.garage_door?
      Assuming so, try making the entity the switch, and not the cover. The state won't change properly, but if the door opens, then that will tell you it's a problem with the configuration, and not the hardware. If it still doesn't work, does it work if you trigger the switch from the Shelly web server?
      I usually try to break the problem into little steps, and test each along the way, to find the exact issue.
      Also, If you go on the left menu to Configurations then Devices at the top, and then click on the shellyplus1 you installed. You can toggle the switch there, and see the value of the Switch input change. If that doesn't work, then it's probably a hardware issue. Sounds like that isn't your problem, but just trying to give some ideas.
      I hope you figure it out! Best of luck!!

  • @alexmiller3425
    @alexmiller3425 Před 2 lety +3

    hi dad nice video

  • @budclarkson
    @budclarkson Před 2 lety +1

    Subscribed!

  • @triplerinse
    @triplerinse Před 2 lety

    I was looking at using a cover template. But it was so much easier to use condition button. Just made 2 buttons one will show when garage door is closed and another for when it's open.

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Hey, that's pretty cool!! Thanks for pointing it out. Always more than one way to accomplish a task I suppose.

  • @huofeng81
    @huofeng81 Před rokem +1

    Super! Can you post the wiring?😊

  • @lsaarave
    @lsaarave Před 2 lety

    Great work ! would be good if you could go through and show us exactly how you wired it and how you wired the open close sensor to the shelly and add the STL file for the holder!

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Hi Loui,
      I added a download link for the STL, as well as the f3d (fusion 360) file to the description section of the video.
      Are you saying it would be good to add a schematic for how it's wired, or that it would have been good to have shown how I pulled the wired, and connected everything?
      I can definitely attach a schematic of the hookup, and can see how that would be useful.
      Thanks for your comments!

    • @lsaarave
      @lsaarave Před 2 lety

      @@esmcustomcreations5247 Thank you for taking the time to up load the files, am printing the holder as I text! yes a schematic would help a great deal but for visual learners like my self going through, if you have the time, showing what wire goes where would make this project very doable for your viewers that aren't so tech-savvy but are enthusiast. please do not take this as criticism it is a really good video and am looking forward to doing it my self when I acquire all the parts keep up the great work and look foreword to future projects.

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Ok, thanks for the feedback, I appreciate it!

  • @modelSUB
    @modelSUB Před 5 měsíci

    Hello and very good video! Please can you tell me if I only can connect the Shelly by bluetooth to my sliding gate motor? I have a router but no WiFi Internet connection in my house yet so I wish use the Shelly to make the same functions of a remote control but using my smartphone and the App to open the door. Many Thanks and cheers from Spain!

  • @gary57210
    @gary57210 Před 9 měsíci

    The icon does change color while the relay is turned on.

  • @teekayfourtwoone4686
    @teekayfourtwoone4686 Před 2 lety

    My remotes are intermittent (work sometimes, not others), and there's no push button in the house, just inside the garage (not attached to house). Was wanting to use a Pi Zero W or something, but they are hard to come by at the moment, and this looks like it would be perfect. Thanks.

  • @nyx574
    @nyx574 Před 2 lety

    You can actually use a newer opener as well. I just did it this weekend.

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      When you say a newer opener, I assume you mean a garage door opener that doesn't use a simple continuity switch to open it? If so, that's cool! I wasn't sure how that would be accomplished, since I don't own one. I think mine is original to my house, so about 20 years old now.

  • @Haiyami
    @Haiyami Před rokem

    I have a craftsman model 139.55918 garage door and I have tried to hook up my shelly 1 plus to the proper spots to get the garage door to open but all I hear is clicking sounds. I should have everything wired correctly. I don't know what I am doing wrong. I am trying to test via the shelly app to just get the door to open and close.

  • @hurm5484
    @hurm5484 Před 8 měsíci +1

    Hello great vid but i have one question what is inside your groups.yaml because its completly empty in my visual code could you please help?

  • @delinquense
    @delinquense Před 7 měsíci

    And those of us who might wish to use something other than Home Assistant, such as Google Home and then Google Assistant? What options have we?

  • @divelandy
    @divelandy Před 7 měsíci

    Why didn't you use the 24v from the garage door opener to power the shelly?

  • @walterschoenmann5162
    @walterschoenmann5162 Před 11 měsíci

    found your video very useful. Any idea why my cover icon would change to purple when open? I was expecting yellow..

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 11 měsíci

      Thanks! Mine is actually purple now as well. I just noticed that. They must have made a default theme change at some point. There are lots of different themes available if you want to change it, though.

  • @gary57210
    @gary57210 Před 9 měsíci

    I have duplicated your setup and can't seem to get the icons to change. I have copied your yaml file and wired everything like you had it. The only thing I can think of is that I don't have something on the Shelly configured right. Right now I'm just running it at my desk until I can get the icons to work. any suggestions?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 9 měsíci

      @gary57210, sorry for the slow reply. Were you able to get it figured out? I would look in home assistant at the sensor value and see if it's changing there, outside of any of the yaml you've written. If it is, then it's likely an issue with your home assistant setup. If it isn't, then the issue is probably on the shelly side. Best of luck!

  • @LuisRRodas
    @LuisRRodas Před 2 lety

    If I have a second garage door what changes would I need to make in order for it work for the second door?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Hi Luis,
      I also have two garage doors configured.
      What I did was to duplicate the hardware, and template data, but name the sensor and switch something else for the second shelly device. I named mine shop_door, and garage_door.
      I included my configuration.yaml file in the downloads in the description section, with both doors configured.
      Let me know if you have any questions.

    • @LuisRRodas
      @LuisRRodas Před 2 lety

      @@esmcustomcreations5247 Thank you so much for your assistance and including the yaml file! I finally got one shelly installed. The only issue I have, is it shows open when closed and closed when open. I am going to install the other this upcoming week. I plan to use the door switch sensor to trigger my garage lights to turn on for a couple of minutes when the door opens to help illuminate the garage when we get home. Again I really appreciate all your help.

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      @Lois Rodas, awesome, glad you got it installed!!
      If you haven't figured it out yet, you can probably just move the wire on the magnetic reed switch to fix the issue of it showing open when closed and vise versa. From what I read, those are frequently mislabeled, so if you move the wire from NO to NC, or vise versa, that should fix it. The other option would be to reverse the sensor code in the yaml file.
      The light automation will be cool. I also configured mine to send me a notification on my phone if the door is open for more than 10 minutes. My kids sometimes leave it open, and this way, I get notified when they do.

  • @karlmee1234
    @karlmee1234 Před 2 lety

    If you’re using google home, do you have to edit a yaml file?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Hi Karl. I don't have Google Home, so I can't speak authoritatively about it. From the Shelly website though, it appears they offer direct integration with Google Home, so you should be able to set it up separately from Home Assistant. All of the yaml stuff I do in this video is only applicable to Home Assistant, which wouldn't be used if you do a direct integration with Google.

  • @dillonray2975
    @dillonray2975 Před 6 měsíci

    I have all but duplicated your setup including copying and modifying your yaml config. I have the sensor and the switch in HA and can view the status of the sensor and switch to operate the door.
    However i cannot get the cover to work, when i tap the cover i get no response, i have to hold it to open the switch and press the middle stop button which will cycle the door. any suggestions?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 6 měsíci

      Hi. It sounds like you might be missing the step in the shelly settings that revert the relay to the open position after 1 second. I show that at 7 minutes into the video, although the shelly interface has changed since I created this. Hope that helps, and you get it working!

    • @dillonray2975
      @dillonray2975 Před 6 měsíci

      got that bit, the binary sensor reports closed-opening-open when the switch cycles as it should. still cant get the cover to trigger the switch or change with the state. Im assuming that its something amiss with my code.
      Edit: it seems the cover is not getting the binary sensor data

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 6 měsíci

      @@dillonray2975 it's been a while, but I believe when I first completed the project, I created a debug screen with all the sensor values so I could see how they changed. Good luck man, hope you get it figured out!

  • @modicon1108
    @modicon1108 Před 2 lety

    Nice video. Thanks.
    If you get a moment... the link for the configuration.yaml does not point to the correct files.
    Thanks again.

  • @Kiloptero
    @Kiloptero Před rokem

    Hi the sensor show open when the sensor is near the connector.. its the contrary.. some configuration mistake?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 11 měsíci

      Hi @Kiloptero, sorry for the slow reply. There are two ways those switches can be wired. Normally Open, or Normally closed. Sounds like you likely have them wired the opposite from how I configured the YAML file. You could try either reversing your wiring or changing the YAML. Reversing the connection on the switch would be the easier option.

  • @gary57210
    @gary57210 Před 10 měsíci

    Could I use a wifi sensor instead of a hard wired switch?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 10 měsíci

      Sure. You would just need to program it a little differently, but I don't see any reason that you couldn't do that.

  • @gary57210
    @gary57210 Před 10 měsíci

    What kind of connector did you use for the power supply?

  • @brar5353
    @brar5353 Před 2 lety

    My garage door automatically closes after few minutes. If shelly1 opens the door, and it automatically closes in few minutes, will it know that its closed already?

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Hi Harj.
      Yes, if you install the magnetic reed switches as I show in the video, then home assistant will know if the door is closed, regardless of how it gets closed.
      That's interesting that your door has that functionality. Mine is old, and I haven't really looked into the new doors.
      Thanks for commenting!

    • @brar5353
      @brar5353 Před 2 lety

      @@esmcustomcreations5247 I have turned the function off yesterday. its a PITA. it can dent your car or your head if you forget that its going to close in couple mins

    • @esmcustomcreations5247
      @esmcustomcreations5247  Před 2 lety

      Haha. I wondered about that, but thought maybe I was missing something.