Це відео не доступне.
Перепрошуємо.
DIY Smart Garage Opener LOCAL Shelly Plus 1 (Bluetooth Bonus)
Вставка
- Опубліковано 16 сер 2024
- Fully local smart garage opener without relying on the cloud or paying fees to open YOUR garage door. Full setup and wiring...more below
Shelly Plus 1 s.click.aliexp...
Shelly Plus 1 (Shelly Store) bit.ly/3qazTtY
Bluetooth Temp Sensors - s.click.aliexp...
Hardened Door Sensor - amzn.to/2ZJZVtm
Smaller Door Sensor- amzn.to/3romwqw
Rules/Console Tasmota Setup Commands www.digiblur.c...
Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you! As an Amazon Associate I earn from qualifying purchases.
⚡Tasmota Templates
Shelly Plus 1 Tasmota Setup (all one command/line below):
backlog template {"NAME":"ShellyPlus1","GPIO":[320,0,0,0,192,0,1,1,0,0,0,0,1,1,0,0,0,0,0,0,0,32,224,0,0,0,0,0,0,0,0,0,0,0,0,0],"FLAG":0,"BASE":1} ; switchmode1 2 ; Delay 1 ; Module 0
⚡Resources
Tasmota32 Solo Bluetooth- github.com/tas...
Previous Garage Shelly Video - • Upgrade Shelly Switche...
Previous Shelly 1 Plus Video Flashing Tasmota - • Shelly Plus 1 ESP32 Sm...
Xiaomi Bluetooth ATC Sensor Project github.com/pvv...
⚡Products We Use/Recommend
Amazon US - amzn.to/2YZNDeO
Amazon UK - amzn.to/2TnG2R4
Amazon CA - amzn.to/2JWsNq5
⚡Be Social!⚡
Main Website - www.digiblur.com
Discord Chat - discord.digibl...
Patreon - patreon.digibl...
Join / @digiblurdiy
Facebook - facebook.digib...
Instagram - instagram.digi...
Please note, the product links above could be affiliate links, using them could earn digiblurDIY a small commission of most purchases and helps with future video projects. Thank you!
00:00 Intro
01:30 How?
06:19 Wiring Guide
09:08 Tasmota Setup
14:43 Bluetooth?
16:14 The BEST Part!
I do love these straight forward examples of getting the absolute most out of these devices. So much punch at a very little price.
Thanks! Appreciate the support as well. Had you mentioned in the latest zigbee video outro IIRC. All about that reliability to price ratio balance for me. I hate just dumping money on stuff and others shouldn't either in this realm.
really really great video... i love to hear youtube folks make people realize how important it is to try and have local control solutions. thank you for helping to educate!
cool! this was the video i was looking for to automate my fishtank. thanks for the explanation
My "goto" for garage doors or power gates is the Fortrezz Mimolite z-wave switches. If you remove the jumper before they are first paired they act as momentary switches so you can just add them in parallel to any door switches you have. (And I really prefer z-wave to help keep the WiFi spectrum uncluttered.)
That MQTT retain for commands = BAD, MQTT retain for status = GOOD (or at least OK) is a great way to remember when retain should be used.
Just did this today using a remote and a buck converter to keep 3.3V instead of a battery. For novice users the Shelly firmware works great in HA with a cover template. No need to get all tasmota + Mqtt it’s a lotta work for the same function.
I had issues with the stock firmware and such myself and prefer the ease of use with Tasmota over it. Plus you get the BLE stuff. I do applaud them for being open out of the box but I like to take it a bit further to unlock the power of things.
@@digiblurDIY I understand your motivation and thanks again for all the good videos and blog right ups
I clicked the like button...I expect a backflip now lol Also great video :)
Challenge accepted! I had some better footage but a damn copyright song started playing.
Great video! You have a really clean garage!
Nice video, but as someone already wrote, you can get the same functionality without flashing the Shelly. I think, many people don't have a homeautomation, they just have some smart devices (like Shellys).
Already answered why too. I keep all of mine the same as well as unlocking the bluetooth
@@digiblurDIY OK, that makes sense
Thanks Travis. 👍🏻
Great set 👍🏻
Sonoff SV works great too :)
Indeed it does. Still a great option as it does have some additional pins exposed for extra stuff. But I do get that not everyone wants to solder or print a case. Options are always great.
Thanks, it works well. But you can do all this without flashing the device.
Indeed you can but some us prefer Tasmota and Esphome firmware to keep things the same across devices.
@@digiblurDIY that makes sense. Hmm I'm considering flashing it too now ;-)
I haven't seen a single video on UA-cam on adding custom sounds to notifications, I have stumbled onto how to do it and thought I'd suggest that you make a video on it. I have notifications for every single external door in my house and both garages, but wow, having to always look at the phone since it's the same sound effect for all is very annoying. In the notification automation, under the "Data" field, simply add "sound: US-EN-Alexa-Patio-Door-Opened.wav" (without the quotes), and do the rest in the app config on your mobile device. You can also add your own from downloaded wav files, or even record your own. Perhaps everyone already knows about this and I just figured it out and am behind, but seems like there's got to be other that want this.
I do some of this in NodeRed with a couple notifications we use for washer, dryer, trash pickup, kiddos bed time etc. I just use the play media service and push the MP3 file I want to my google speakers I want.
@@digiblurDIY but what about the Home Assistant App’s notifications?
Haven't done that myself. Usually have my phone on silent anyways
@@digiblurDIY viewers may like it though, I really like it. I spend a lot of time with earbuds on and like to have sounds that aren’t generic so I don’t have to look at my phone so much.
oh yeah, everyone uses things differently. Just stating why I never looked into it.
Is there a sensor that could detect if there is a car in a parking spot of the garage? I want to turn on a green light when car is in far enough to clear the garage door.
There are the some ultrasonic sensors used to detect the vehicle but with the precision you want I would use a beam style sensor much like your see on the safety sensors on garage doors to prevent them from closing
Great video, thanks for updating the garage door series! What’s the best way to flash the Shelly’s these days? Is it using the little pins?
Currently at this time that is correct. I would recommend small wires for this little pins unless someone makes an adapter to go up to dupont.
@@digiblurDIY Thanks as always 🙏 I’ll grab some smaller wires 👌
Great video - Two questions... 1) I assume the going the Plus router is better over the OG version? 2) Can the Shelly 1 Plus connect to multiple BT devices and broadcast the values via MQTT, along with the sensor and switch state built in? A little background - I am hoping to consolidate using the Shelly Plus1 my current setup which is garage and freezer temp monitors on one Tasmota NodeMCU and a garage sensor/opener that controls two garage doors.
In the end of the day it is still a dry contact relay. It's a little harder to flash with the smaller pitch wires but so much more powerful in features.
Yes, you'll be able to pull in all kinds of sensors. Check us out in the #blerry thread on my Discord chat. Tony has been doing some amazing work. I've been using them on a Linkind Switch which has the same exact processor as this Shelly.
Having some trouble getting this to work in HA. Seems there was a change to MQTT in June 2022 that broke the YAML. Here is what I have for the cover. Can't figure out the sensor bit yet.
mqtt:
cover:
name: "Garage Door"
command_topic: "cmnd/GarageDoor/POWER"
state_topic: "stat/GarageDoor/status"
availability_topic: "tele/GarageDoor/LWT"
qos: 1
payload_available: "Online"
payload_not_available: "Offline"
payload_open: "ON"
payload_close: "ON"
payload_stop: "ON"
state_open: "open"
state_closed: "closed"
device_class: garage
Pretty much the same as with cover you just have to shove it all under the mqtt section now.
Thanks Travis! I don't have a Shelly Plus 1 but I was able to make use of the Tasmota commands you went through to modify one of those cheap 2ch relays(LC-Relay-ESP01-2R-5V) that use an ESP01. I configured GPIO2 as a switch with a pull-up to 3.3v. Only issue is the device wouldn't boot up with GPIO2 pulled low by the reed contact being closed, so I used the 2nd relay on the board to break the connection to the reed, and added another rule to turn on the 2nd relay 10s after boot up. That worked but seems messy. Do you have a more elegant solution?
Enjoyed the garage re-visit, and seeing that new Shelly and it's wiring in action, thanks.
This might be more of an HA question. The HA history view, which gives great audit trail of when the door has been opened, for how long, etc is another great reason to implement this DIY Smart Garage Opener. What I'm wondering about is..., when either HA restarts, or when the Tasmota device restarts (output below), the history log get polluted with some nonsense. Thoughts..?
December 1, 2021
was closed
19:10:15 - 30 seconds ago
became unavailable
19:10:11 - 34 seconds ago
That is a feature actually to show when devices are not available to HA. It shouldn't be doing that on a HA restart though.
I am confused. Are you using a Shelly 1 Plus that has been flashed with Tasmoto? I did not hear you say anything about needing to do that first. I have not found any instructions on how to do that. I installed the device as you laid out in the wiring diagram and booted up the Shelly with the stock firmware. I can open and close the door by pressing the button on the built in web tool. I added the MQTT user, password, and server setting. I also am not sure about your comment of the reed switch being configured as normally open. I think you meant to say to configure it as normally closed. Let me know.
Yes. I am using Tasmota on this setup.
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!
No. It would need WiFi.
What is the advantage (or disadvantage) of using a smart binary sensor as the means of sending a signal to HA that the garage door is closed vs using a non-smart switch hardwired into the Shelly?
Hardwire being it works and you know if the sensor fails or wire fails immediately as it will trigger as open.
Can this be done without the reed switch? I already have a Zigbee sensor telling the state of my garage door connected to HomeAssistant. All I want is to simulate a button press. Can that be done using the Shelly 1?
Yes, you don't need to use the wired reed.
I’m having trouble with my 1 plus, how does the app need to be configured cause I can hear it click but it won’t toggle the garage door opener
Which app?
Have you seen an issue where once the Shelly is connected to the garage door opener, the wall switch stops working? As soon as I disconnect the Shelly, the light on the wall switch comes on and it works but as soon as I plug the Shelly back in, the light on the wall switch goes out and the wall switch stops working. Great video BTW. Liked and subscribed!
Can't say I have seen that before. The Shelly is a dry contact relay so it isn't connecting the wires.
@@digiblurDIYI always get the issues no one has seen lol
How important is 12 volts. What is the input tolerance range for the Shelly plus? I checked a few 12v wall warts and they are all over the place on output from. 9 volts to 20 volts.
I would stick to as close to 12vdc as you can.
I didn’t understand a lot of what you said but thank you. I have a gate with a remote opener and a barn with two doors with remotes. I have a garage with two doors controlled via ‘Q’ . I can open and close them with my phone but not the gate or the barn doors. I. Wonder if I could use the Shelly system to work on my barn and gates.
I installed automated gates and changed professions right when the technology was changing to smart operation. Most gate operator’s use very similar mechanics and relay logic as garage door openers so depending on what type of gate operators you have…you most definitely can use this system (or a similar one) with your gate
Hi,I have a power source of 32V,can I use this with a Shelly whitout a sensor?
Thank you
Yes. Using DC power kb.shelly.cloud/knowledge-base/shelly-plus-1
Hoping that you will see this. In 2022.12 MQTT formating is changing so that affects the cover sensors. My system was working fine until I reformated it like they say in the wiki for mqtt cover. But now when I update all my covers are gone. If I revert back to your original code I get a deprecation/change message. Can you tell me possibly how to rewrite the cover yaml. Thanks
you have to shove them under the MQTT: entry instead of being under cover, switch, light etc.
@@digiblurDIY Thanks for the information, but no go. It seems that a lot of my devices are starting a cascade failure. Some have to do with MQTT but a lot of my Tasmota devices are failing as well. I greatly appreciate the help and will start to sort this out.
I would use the Tasmota HA integration, no manual YAML required for those. It does require Tasmota 9.2 or higher though.
It's probably just an indentation issue, jump into my discord and post what you have. We can sort the syntax out or you can take a look at this example to see how it is supposed to go: digiblur.com/wiki/devices/other/treatlife_esmlfe_fan_ds03#home-assistant-configuration
Would love to have a tutorial on the Shelly 1 / Shelly Plus 1 with ESPhome. Would it be capable of doing the same settings and such?
Yes. I believe the esp32 solo is in the recent full release now.
I would love to second that request. I think it would be really interesting to do this same exercise with ESPHome, and then get your thoughts on the functionality/ease/integration differences. =)
Do they support the solo on standard builds yet?
Only seeing notes about the S2 and C3 esphome.io/devices/esp32.html
how to conect to 240V AC or 24V DC?
thanks for tor the tutorial. Sadly I don't have a Tasmota set up. So I have to rely on the cloud. I'm using a shelly 1. Not a plus. The current app won't let me get into settings or application settings. It asks for a firmware update, but the app won't allow me to update the firmware. I tried updating shelly's firmware via the IP address. That failed to. So I decided to run an older version of the shelly cloud app. I also want to set up scenes so when the garage door is left open, it will send me a notification to my phone that the door is open. Though I'm not really understanding how the scenes in the shelly app work much. I had intially done this set up using The Hook Up's tutorial. But he didn't go much into details issues that might arise. I wish I could upgrade the firmware of the shelly 1. Maybe the Shelly 1 is too old and I need to buy a shelly 1 plus.
The one thing I know about the stock firmware app, it's a big mess, looks nice but definitely not user friendly. You should be able to upgrade them though.
Thanks for another great video. Would you think about doing one on the new SONOFF Zigbee 3.0 USB Dongle Plus thinking about starting zigbee network. Looking at that dongle or the conbee ii don't know which one to go with in Home Assistant.
Actually just posted a community post about those in my channel. They are CC2652 chipset which has been rock solid for me. Look at my Zigbee video from about 4 or 5 months ago. Still relevant but I do have a follow up planned.
@@digiblurDIY Thanks
Where you get the power from I or O? I thought you neede to connect a power line from 12v to either I or O needed clarification please
I or O is for the input and output on the dry contact relay.
I’m having trouble with the Reed switch state display. It’s wired correctly (will toggle button when not set to detached). But, when set to detached with input state turned on, there is no change. Any suggestions?
Does it toggle in the console?
@@digiblurDIY No. I shorted the switch with no change either. Changed to momentary to test the switch, and then it would toggle. But, would not change state when detached.
Are the rules turned on?
Great video with lots on info. Im struggling though. The toggle works and the reed switch works. I see the publish rule in the console, but nothing is published to mqtt for the device at all, no stat/cmd/tele nothing.
Is the rule enabled?
@@digiblurDIY thanks for the reply.. Yeah it is enabled, but somehow my mqtt host ip was empty.. problem solved 🤦♂
Sometimes the easy fixes like that are the best fixes.
is possible that the garage door is opened automatically when the signal bluethoot of your smartphone is some meter far from garage?
I haven't done anything like that myself.
I have read that these no longer need to be flashed with Tasmota or ESPHome to work with a Garage Door Opener, how is this wired with a contact sensor to work with stock firmware?
I prefer to use the open source variety myself on these. Not familiar with the stock firmware.
This may be a stuoid question but how do you get to the console. When i go tk my device i just fet a atatus screen
In Tasmota? There's a console button.
When I go to the ip address of the device, I get a web page that shows the switch as output and input with the folloiwng items on the left panel (Home, Actions, Schedules, Add-On, Settings, Scripts, Advanced. I see the status change when I move the magnet but I'm not sure how to get to a console mode to set the config. I thought this didn't need TASMOTA to work with Home Assistant. My HA has the shelly INtegration and I can see the device there. @@digiblurDIY
Do you have video how to flash Shelly Plus 1 with Tasmota? Can we flash Shelly Plus 1 with ESPHome?
No, I do not think the project supports this chip yet.
So if I wanted to use this for a 24V DC power supply to turn on some 5V DC LED lights I would still need to step the output down, right?
No. It's a dry contact so you could actually power it via DC and have it switch mains AC if you wanted to.
How would I wire this?
Great stuff here.
I have a Shelly 1 Plus connected with an intercom door opener. I got Shelly to open the door, that was the easy part.
My problem is, I’m trying to get notifications on Shelly when someone buzz’s the intercom. My thoughts are: your garage sensor would be like my intercom button that sounds a buzz. Does that make sense? I’m also new to the home automation and do not have HA. Can the coding be done through the script page of Shelly?
Is it DC powered and the button is just a dry contact basically?
Yes, it is DC powered and the button is dry contact.
I would just do it like a reed sensor and snag the push out with a rule or decouple the button with setoption114
I live in an apartment building, so the building door is a couple stories away. Not really accessible. But I do have a wire that buzz’s when someone pushes a button at the building door. Can I work with that alone? I would love to share a sketch for my wiring. Is there a way I can send it over?
Probably jump into discord
I'm having an odd issue. I'm using the Shelly1 (version 3) and successfully flashed tasmota on it. I entered the 4 settings and 1 rule into the console and enabled the rule. My issue is that when the reed sensor activates the switch, it closes the relay. Interestingly after getting MQTT setup the Tasmota add-on found my shelly1, but it only shows the relay state, it does not show the sensor. How can I decouple the switch state from controlling the relay?
The rule you entered is wrong or not turned on so it didn't decouple things.
@@digiblurDIY Very weird, I must have copied and pasted the rule for the sonoff switch. I did a reset to my configuration and it decoupled it correctly. I also entered SetOption114 1 this allowed the switch to be automatically detected by Home Assistant without any modifications to the yaml files. Thanks!
After your help from the last garage door video I needed to upgrade because the device burnt out again. I have everything up and running with one problem. When the door is open it shows the state as closed and when closed it shows as open. Is this a mismatched wire or something in the tasmomta console. Thank you.
It could be just based on how you wired and/or the reed switch. You can change the switchmode1 to 1 or 2 to invert it. Check to see which it is set to first.
@@digiblurDIY Thank you, that solved it. Greatly appreciated.
Awsome!
Any chance you could link the video or website where you reconfigure the Xiaomi temperature sensor?
Yes it should be linked already. Look for the Pvvx link in the description.
@@digiblurDIY Thanks a lot, really enjoy your videos & appreciate the content! ✌️
Thanks for bringing this to my attention. I renamed the link.