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

@mark_cockcroft Do I need to use all 3 codes:

  1. lgk-virtual-garage-door.groovy"

  2. simulated-gate-opener.groovy"

  3. simulated-garage-door-opener.groovy

I do not have a gate to open and close, only a garage door. I am new to smartthings and trying to figure this out which each of the 3 codes do.

Also, will this code activate a flashing light and buzzer for warnings before the garage door opens or closes?

Number 3 and one of the others depending on gate or garage

No on the flashing/buzzer. Have to use another app and subscribe to ‘door’ events

Which isn’t very supported

Is it possible to incorporate the light/buzzer code from the Konnected version of the smart app.

They are nice safety features to have and are required for unattended garage door operation in the US.

Yea, do you need buzzer / light for opening?

According to Product Safety Commission (10CFR1211) they are needed for unattended closing. See 1211.14 on Page 11 here:

@dman97 & @Stills00
Updated to select closing warning devices and done some code improvments/simplifications, have a test an let me know

I dont have any devices with tone cabiability so cant test that bit

I just installed it, the light and buzzer work. I will let you know if there are any issues after further testing. Thanks for the update.

1 Like

Thanks to all the great work from @Lgkahn and @mark_cockcroft

This is my first smart things implementation and I’m having a blast. I’ve read thru the thread and can’t seem to figure out what I’m doing wrong.

I am using a raspberry pi with garage sensors that is triggered from a generic URL. For the contact sensor, I am using the smart things multi-sensor. I figure I’ll document the steps I’ve taken and hopefully someone will see a step I missed or did incorrectly and help me resolve.

  • I created a Simulated Garage Door Button device type
  1. Add the HTTP Button Device Type to the IDE (I’m using this device handler)
  2. Publish the HTTP Button Device Type in the IDE
  • Create the Simulated Garage Door Button Device
  1. Create the Simulated Button Device in the IDE
  2. Open the mobile app, and edit the Simulated button settings to define the URL and action variables
  3. Trigger the button in the mobile app and confirm that the URL is being called to the PI, and the button is actuated (this also confirmed that the call is coming local from the hub, and not from the cloud), the garage door opens or closes, and the sensor confirm that it now opened or closed.
  4. in the mobile app, moved the button to the room with the garage room to keep things organized
  • create the Simulated Garage Door Opener Device Handler
  1. Back in the IDE, using the code in this thread (I’ve used both the original, and the modified version by @mark_cockcroft, I create the DH
  2. Publish the DH in the IDE
  • Create the Simulated Garage Door Opener Device
  1. Go to my devices in the IDE and create the device
  2. In the mobile app, I see the device created, but there is no settings menu item yet
  3. in the mobile app, i move the new device to the garage room
  • Create the Smart App
  1. In the IDE, i create a new smart app using the code in this thread
  2. I publish the smart app for me
  3. In the mobile app, I add a new smart app, and select the new LGK Virtual Garage Door App
  4. this is where I’m stuck.

When I try to install the App, I just get a screen that says “processing” with a spinning wheel. I’ve waited 15+minutes w/o resolution. Eventually I have to kill the mobile app, and when I open it back up, the LKG Smart App is there, but when I click on it, I either get a network communications error, or back to the spinning wheel.

Can anyone see an obvious mistake or something I’m doing wrong? Appreciate the help from everyone.

edit: I am able to get the simulator to work in the IDE, and it allows me to set the devices, and clicking the buttons actually actuates my door, i just can’t seem to get the smart app to install in the mobile app.

Not sure what to say, open the ide and look at live logging, then try the app again in the mobile app.

I don’t use ST anymore but the app starts up ok for me still

hmm, no activity in the live logging. I’ll keep poking around. thanks.

it seems like there may be a problem with the Smartthings app on Pixel 3 and Pixel 2 devices, maybe all of Android 10? I also had a problem connecting my Leviton devices, so I tried the legacy app and it worked, so I also tried to add the smart app there, and it worked as well. :man_shrugging:

Why can I no longer start a new thread here?!

Hey just installed and it works great on the old app. Are there any updates on it working properly for the new app?

Need some help in getting this smart app to behave properly with the new SmartThings app.
I recently migrated to new app after multiple annoying messages from Samsung and the app as such is working fine with my existing automation to close the Garage Door every night and all.

The issue I have is that it doesn’t show up correctly in the new app. And if I just hit the tile in the new ST app, it doesn’t open the garage door. It would close that however if it was open. I have to go into the tile and select the third option listed as Garage door to open the door from the app.

Is there an updated version of this app which makes it better operationally when used with the new ST app?

I’ve just added this in the new app and have set up the smart app. I’m using a Qubino relay and contact sensor. Thee contact sensor reports status perfectly to the virtual garage door, but the relay does not work. I’ve change the relay in the smart app to use different relays, and none of them work. Any pointers?


Have there been any updates to the app that work with the new ST app? I’m having exactly the same problem as ViperTK above. The virtual garage door app doesn’t appear properly in the ST app and activating the garage door only returns the sensor status but doesn’t actually open the door.

Sorry for resurrecting such an old thread.

I used this app for several years, even on the new ST app. Now it has died along with groovy.

Has anyone found a suitable replacement?

I have a workaround in place using routines but it doesn’t do the “beam crossing” checks which I really liked.

I don’t know about beam checks, but there is a virtual device created with an edge Driver in the new architecture, which will let you have a relay and a tilt sensor look like a garage door. So that’s what a lot of people are using. Take a look and see if it meets your needs. :thinking:

1 Like