[WITHDRAWN] MyQ LiftMaster/Chamberlain

Oh nothing! I was just confirming what I was reading. :wink: I will try it and let you know. Thanks for the feedback!

It looks like MyQ integration options are widely advertised on Chamberlain website through partnership and some of major HA providers like Wink, Nest and Xfinity Home had already integrated. The question is why ST is not on this list yet? What kind of special agreement is necessary for ST to integrate with MyQ?
Considering the fact that Amazon Echo added garage opener integration to their ecosystem, the native ST integration with myQ could automatically add Echo voice control to our HA systems.

Ok so I have uncommented out line 307 and added the ? in 308 and got the following when I tried to save my preferences in the smart app:

3771a9f0-4496-4225-8b2d-224a8905d8ad 4:27:16 PM: error java.lang.NullPointerException: Cannot get property ā€˜lastAction’ on null object @ line 309
3771a9f0-4496-4225-8b2d-224a8905d8ad 4:27:16 PM: debug Polling 3771a9f0-4496-4225-8b2d-224a8905d8ad|GarageDoorOpener|1573179
3771a9f0-4496-4225-8b2d-224a8905d8ad 4:27:16 PM: debug Polling 3771a9f0-4496-4225-8b2d-224a8905d8ad|GarageDoorOpener|5697549
3771a9f0-4496-4225-8b2d-224a8905d8ad 4:27:15 PM: debug Polling 3771a9f0-4496-4225-8b2d-224a8905d8ad|GarageDoorOpener|5697550
3771a9f0-4496-4225-8b2d-224a8905d8ad 4:27:15 PM: debug getChildDevices(true), children=4

Am I at the point where I have to have a n engineer blow it away?

Update - I now have two smart apps installed and I have unchecked the doors from the initial installation and I can now save my preferences using the other smart app but when I try to use the doors I still get the following error:

groovyx.net.http.HttpResponseException: Internal Server Error @ line 278

Okay final update and my type A personality will have to deal…I realized that I had the two smart apps so I went to look for new doors and it seems that there were new doors added (using the same name) and they worked!!! So outside of the fact that I now have duplicates of everything it’s working!!!

Has anyone been able to successfully have the one not working removed by ST tech support?

Thanks for the help! Love this community. :wink:

-Christy

If you go to the ide->My Location->Installed Smart Apps then click Edit at the top you may be able to remove it yourself. I would rename the bad one so you are sure you are deleting the right one.

If that does not work email ST and they should be able to do it for you.

Be sure to update the code back to the original version, don’t want any hackery to stick around.

Done and done!

Thanks again for all the help!

-Christy

1 Like

Hey there, I’m new to managing these custom apps - I installed your MyQ integration a few months ago and it’s been working great. I do see that you periodically are committing new code. Is it wortwhile to try to stay up to date (either via ST IDE’s Github integration, or manually)?

I would also like to know

MyQ is not set up for git hub integration, but it would be nice.

My opinion is to try to stay up on the latest. There was a critical issue (with over polling MyQ) that people really needed to update. I usually check about once a month.

@copyninja I can configure the repo to be github integrated if you want and submit a PR. Nest-Manager also has a way to notify users on updates, which might be nice to include.

3 Likes

I second/third the guthub integration as I’ve found it sometimes hard and tardy to check on updates manually…

2 Likes

This app has worked perfectly - thank you. Having it integrated to git hub would be really helpful.

Setting up the MyQ system was a pain however - don’t place the controller too close to the door opener (if only I’d read the instructions and believed them when they said make sure they are more than a couple of feet apart) and use the instructions for setting up with a non IOS device - particularly if your phone connects to a 5gHz band and the MyQ looks for your 2.4gHz…

Now it all works beautifully and I don’t have to worry about whether I closed the stupid door when I’m running late (which is too often).

This is a great thread. Got my Garage door working great.

Is there a way to control the lights on the garage door by themselves?

1 control for the garage door and 1 control for the lights?

Thanks.

one other good function that would be cool would be the ability to lock the door but I dont even see that in the Myq app

You can use Rule Machine or IFTTT with a virtual switch to do this.

Hello copyninja! Quick question - I tried to read all 790+ comments/replies, but I didn’t see an answer to my question. I’m getting stuck on step 2. I can’t seem to find a way to load the two pieces in the Smart Device section. I can, however, add them to My Device Handlers section. Is that the correct place or am I missing something here? Sorry to sound stupid - I’ve only owned my hub for about 36 hours.

anyway, thanks for any guidance you can provide!

Edit: I just found another thread that explained the different tabs. I was able to load the code and so far it’s working great!.

copy-ninja : MyQ Garage Door Opener goes under device handler, copy-ninja : MyQ (Connect) goes under SmartApp

I was about to get a PR together for github integration but luckily I say that @wingrunr21 already had one done. Reviewed it and it looks good. @copyninja should just use that one.

Hello,

I need help confirming a few things.

It appears this only supports polling and not true event triggering based on sensors. Based on the logs in the smartthings hub I can see it polls for a status update every 5 minutes. I turned on the options under advanced when configuring the thing to have the contact sensor trigger a refresh. However, this doesn’t trigger an immediate refresh. Instead the next time it polls it noticed the contact sensor triggered a refresh and then it refreshes at that point. Look at the following logs to see.

6:51:16 PM: debug getChildDevices(true), children=1
6:51:16 PM: info Refreshing data…
6:51:16 PM: info Delayed refresh triggered
6:50:47 PM: debug getChildDevices(true), children=1
6:50:47 PM: info Refreshing data…
6:50:46 PM: info Last refresh was 0.0461833333 minutes ago
6:50:46 PM: info Event MyQ: Garage Door Opener triggered refresh
6:50:43 PM: debug getChildDevices(true), children=1
6:50:43 PM: info Refreshing data…

I opened the door around 6:48PM. A few minutes later at 6:50 we get our polling refresh. Then it noticed that the contact sensor triggered and it does another refresh. Can someone confirm this is how it should work?

The biggest problem I see with this is I have a goodnight routine which will shut the garage door. It looks like when the goodnight routine starts it goes and grabs the last known status of the door (without refreshing) and decides if it should shut or not. So if I had opened the garage door to take the trash out and then returned inside and run the goodnight routine before polling had occurred it will think my door is already closed and won’t actually close it.

Again, can someone confirm this is expected behavior? Also, Is there a way to make routines trigger a refresh to grab the latest status before making a decision on if it should run the step?

Where is @copyninja at lately? However, I will say that I really like the idea of having github integration of his awesome MyQ code, but I don’t really understand how to implement it in the ST IDE.