New smart app to link the virtual/simulated garage door device with two actual devices

I am having a similar issue lately, and only after I set up a Raspberry pi to run homebridge. Did you ever figure out a solution to this issue? The first time it happened I thought that maybe I had accidentally pushed the button, but it happened a few more times, and concerned me enought to shut down all garage door automation.

Can you share this updated code with me?

Can’t say 100% but I think the Sensor was acting up and that somehow caused the code to try and resync which caused the garage door to open on its own. It’s been stable lately but has scared the crap out of me when the garage door has opened in the middle of the night LOL.

1 Like

You can use this to turn off the Wemo plug after say 3 seconds

/**

  • Turn me off quick
  • Author: seateabee@gmail.com
  • Heavily based on Power Allowance by SmartThings
  • Date: 2013-06-28
    */
    preferences {
    section(“When a switch turns on…”) {
    input “theSwitch”, “capability.switch”
    }
    section(“Turn it off how many SECONDS later?”) {
    input “secondsLater”, “number”, title: “When?”
    }
    }

def installed() {
log.debug "Installed with settings: ${settings}"
subscribe(theSwitch, “switch.on”, switchOnHandler, [filterEvents: false])
}

def updated() {
log.debug “Updated with settings: ${settings}”

unsubscribe()
subscribe(theSwitch, "switch.on", switchOnHandler, [filterEvents: false])

}

def switchOnHandler(evt) {
log.debug "Switch ${theSwitch} turned: ${evt.value}"
def delay = secondsLater * 1000 /*Because delay is counted in mill-seconds, multiple seconds by 1000 to get the proper delay. */
log.debug "Turning off in ${secondsLater} minutes (${delay}ms)"
theSwitch.off(delay: delay)
}

Why use that. You can just use smarttlighing which runs locally whichever the smartap you reference does not.

Not sure what u mean , push message’s are what should up under
notifications, as far as u know no way to separate them.

Larry,

Thanks for the app. I am using it to open/close the garage remotely.
However, we still use the car remote to open it most of the time. I am
having the phone read notifications from ST to confirm the garage is closed
when I drive away. Is there a way for me to change the Push notifications
from your app to show up under notifications history and not be a push
message? My phone is reading all of this out loud in addition to the
sensor notification :slight_smile:

I realized I could update this message but would rather have it logged in
case of troubleshooting.

mysend(“Garage Door Closed Manually syncing with Virtual Garage Door!”)

Thanks

Hey Larry

Thanks for responding. I meant to say Activity Feed under Notifications.
However, I just noticed the app has the option to turn off Push
Notification so I did that. =) That’s why I deleted the post.

Thanks again

Thank you Johnny, I will try.

When I manually open/close the garage…I have intermittent reporting with the smart app. My multisesnor reports open but the smart app remains at close…it works properly most of the time but sometimes it doesn’t

Lgkahn thanks for this great app. Any chance you could add a relay for a strobe too? The beeper is enough but apparently most devices have a flashing light option for safety reasons. Thanks!

not really required if you already have a garage door opener with a beam across the door for safety… it reverses anyway.

G’day all,
Does this Smart App work with the Linear GoControl garage door opener? I have one all set up and it work fine from the My Home screen but when trying to connect it to a virtual switch in the Automation screen in ST mobile for use with Google Home, the GoControl does not show up in the “Physical Garage Door Opener” list. Neither does the tilt sensor. My virtual switch does, just not the actual door opener.

Cheers
J

NO … THIS IS FOR A relay and a sensor… for an actual garage opener this is not needed there are direct device types that have the same functionality.

1 Like

Can you please give me hint where do I find the proper virtual device ?
I tried to create device handler using this code:

But it didn’t work for me. The door wouldn’t open or close using the app, but I got push notifications that door opened/closed manually. My zwave controller will open/close the door fine.

Thanks

log into the ide

https://graph.api.smartthings.com/

goto my devices

new device

name it

give it a unique network id
leave zigbee id blank

for device type pick simulated garage door opener

select correct hub and location and optional room

create it…

1 Like

Thanks for the prompt reply!
Couldn’t find Simulated Garage Door, I thought Opener is different thing :slightly_smiling_face:

THANKS!

Working great now, once again thanks for the help!
One more question, where do I change the value from 6s to 1s? I have duplicated the device handler renamed it /saved/published for me but I don’t see anywhere in the code where I can change this timing value.
Thanks

change:

def open() {
sendEvent(name: “door”, value: “opening”)
runIn(6, finishOpening)
}

def close() {
sendEvent(name: “door”, value: “closing”)
runIn(6, finishClosing)
}

to"

def open() {
sendEvent(name: “door”, value: “opening”)
runIn(1, finishOpening)
}

def close() {
sendEvent(name: “door”, value: “closing”)
runIn(1, finishClosing)
}

also recommend you add the following:

capability "switch"

and

def on()
{
open()
}

def off()
{
close()
}

this way you can use it in alexa easier

1 Like

Many thanks !

I have a feeling I know the answer but I’ll ask anyway. Is there a way to make this work with the new app? I did the account migration not realizing there was still issues with some custom device handlers etc and now I can’t access my garage doors. Thanks for the app it has worked great up to this point that Samsung messed things up lol