Poor Mans Garage Door Opener help

yes that’s correct, it doesn’t allow me to pick from my devices. Android.

I’m not really sure what is going on here… it works perfectly on my IOS devices…
I’ll have a look for you tomorrow (I’m in the UK and it’s almost midnight here)

There is a slightly different way to code the input which might work better for android… unfortunately I don’t have any android devices to test on.

ok, thank you very much Andy for your help so far. Its sooo close!
have a good sleep,

You’re welcome… but not much good if you can’t use it :slight_smile:
I’ll have a look in the morning for you and replace the code on github when I’ve updated it.

Btw when you copied the code from github did you click on ‘raw’ and copy that code?
If not, then it may have not formatted the code correctly.

1 Like

Not sure if will give you tight enough control but I have been using the Power Allowance feature to turn off an outlet after a set period of time - set in minutes. One app turns on an outlet that controls a space heater if my garage is too cold, and the power allowance turns it off after 45 minutes.

Unfortunately I don’t think the native ‘power allowance’ app will not let you input less than a minute.
Rob is wanting 20-30 seconds

Btw… I have an app for your garage heater too :slight_smile:
(Assuming you have some kind of temperature sensor in there)

I know this is already answered using a software solution but for a hardware solution you can use a “one shot” relay. In essence when it gets triggered it will trigger its own output for xx seconds then turn it off even if power is still being applied. Then when power is turned off it resets so it can do it again. The other hardware solution would be using Konnected or ST_Anything since they both support a momentary output with selectable time.

1 Like

I have updated the files on GitHub as promised (not promising that it will work on Android though!)

There is one thing to confirm…
When you click on the Github Link for the file

you MUST click on ‘RAW’ before you copy the code.

This will open in a full page browser. - CTRL + A to select all then CTRL + C to copy.
This can then be pasted into the IDE (the same as last time)

Hopefully this should work OK now…


I just completed a similar project using an Inovelli dual outlet module. However, I opened and modified it such that I can now control 2 garage doors and get power through on the outlets (they are not controlled any more).
Then I created 2 Simulated Momentary Tile for ST control and a Webcore piston to make it work.
It also works on Presence.

yup, works perfectly now Andy, thank you very very much for your quick solution to my little project. You are awesome!

1 Like


This is an awesome community…its greatest strength is not the HW, SW, FW, etc., it’s the helpful people here like you, Andy.


Link to the relay you are using?

You are welcome Rob.
Glad we finally got it to work for you…

What you want now is for it to open when you get home and close when you leave :slight_smile:

lol, maybe so. But I’ve been fooling around getting my Vivint panel connected to ST. I’ve got it linked through Google Assistant, so I can voice command the door to open ! and arming / unlocking through GA now.
Just have to fiddle with getting a Arming Away action on my ST

Thank you for your kind comments Dana
I was helped a lot when I first got my hub so it only seems right to give back if I can :slight_smile:


Rob are you using SHM or do you just set normal ‘modes’?

sorry Andy, I’m not sure exactly what it is your asking (still new to all of this terminology and technology).
Are you asking if I’ve got the Vivint panel to appear on my Smart Home Monitor panel?
If so, then no. I;m just able to control some of it through Google Assistant

I echo Dana’s comments Andy.
I see that this community actively supports everyone with very helpful and knowledgeable replies from experts like you .
Beginners like myself greatly appreciate your help and your patience.

I just googled the panel… now I understand why you were talking about ‘arming away’ I thought you were talking about smartthings SHM (Smart Home Monitor) which also has an armed/away mode.

Just ignore me… I’ll go away now :blush:

Rob to be honest, in the big picture, I’m a real beginner too (but I can do the simple stuff)
I’ve had my hub for around a year and have picked up a bit of coding along the way, but im not anywhere in the league of some of the guys here… still learning though.
I decided at the beginning that I wasn’t going to use core or webcore but try and learn the code as a bit of a hobby.
Well I’ve pretty much got my system running how I want it so not much to do now
(even my very tolerant wife is reasonably happy) :wink: