MyQ Garage Gateway

The GDC1 has been shipping since the end of February. As easy to configure as a Z-Wave light switch. Available at asihome.com for $99 with free shipping.

My understanding is that the Craftsman Assurelink garage door opener has a Security+ 2.0 based control system. The GDC1 is not compatible with these systems - it only works with garage door openers that can be activated by a simple one-contact push button switch.

So… I did some digging… and found that the API has not changed…

The API does, however, do some more strict request checking… The requests that the MYQGateway plugin is sending are being rejected by the API server…

The changes they made can be worked around by changing the options passed to the https.request() function …

Attached is a modified lua file that resolves the problem…

@Cybermage: YOU ROCK! I installed the patch on both my Ui5 and Ui7 units and after a LUUP reload both main devices showed a current authentication. Based on your shown skills I decided to do this even though I am at work. :slight_smile:

Brought up my garage cam on my phone and hit the MyQ open button. Viewing the camera confirmed the door opening.
Same for hitting the MyQ close button.

I did not try it on my UI7 Vera as the door opening and closing sounds freaked out my dogs enough as they thought I was coming home. (I know, bad dad)

You may want to contact GetVera and see if they can update the plugin in the store with your fix.

Thanks again for a great job!

Cybermage, that seemed to fix it. Great work!!!..Have to do some more testing, seems like the door state response fired back with an unexpected return. I don’t think it was anything you did. I’ll post back.

Thank you very much Cybermage!!!

And yes you do ROCK!!

Thanks for the fix!! One very dim question… I think I screwed something up when downloading and installing. It’s been a while since I’ve installed any files on vera, so not sure if I did something wrong.

I downloaded the file and then went to apps>develop apps>luup files, chose the file and uploaded, with the restart luup box checked.

My vera (UI5) now seems to be stuck in a “downloading luup plugins” loop and is continually downloading and then running lua startup for all of my plugins. Any thoughts as to what I may have done wrong?

Try hitting the reload button and then refresh the browser, that might work.

Thanks Fryswatter–I’ve tried both, but no luck. ??? So strange–can’t figure out what I might have done.

On what I think is a totally unrelated note, I received an email from the wundergound people yesterday saying: “Your wunderground API key exceeded its allotted usage today by making 507 calls in a day but the limit is 500.” I haven’t changed anything recently and don’t actually use the app in anything yet, so not sure why it would be sending so many calls. Never gotten this message before. Likely a coincidence, but just wondered if maybe something’s gone screwy on vera’s end and MyQ locked us out because of this?

No…the MyQ Plugin issue was definitely a change in authentication to the server. The json was not replied to from the server due to an incorrect function call because they altered authentication method on their end…so the LUA startup failed. Try unplugging the power to your vera and waiting a few seconds before plugging it back in. If that doesn’t work, then you need to look into the log files for a better idea of what could possibly be going wrong.

As for the weather underground calls, you should definitely look at the logs for the http calls to the API.

Thank you thank you thank you. I installed this last week and was excited to start playing with it. Today I found it not working at all and just happened to stumble on this luup code posted and everything works again. Thought it was a POS plugin, but all is well :slight_smile:

Ah, good. I’ll look into the calls by the wunderground app. Glad to hear it was just a coincidence.

Thanks for the suggestions. Unfortunately, tried pulling the power as well and no luck. I’m able to turn on/off devices from the UI and the scenes and remotes all seem to be working, with the exception of the MyQ openers, which are giving me ‘device not ready’ errors. Don’t have time this weekend to troubleshoot–may try vera support tomorrow if I get home early enough.

ETA, If anyone else is having this issue, I seem to have gotten it working again. I went through all of my plug-ins one by one and unchecked the ‘auto update’ box and that seems to have fixed the issue. Tried this initially with just the MyQ plugin, after I realized autoupdate was enabled, and still had an issue, but may be that it took a few reloads to go into effect? Not sure–in looking through the other posts over the last two days, it looks like both the DSC alarm plugin and the wunderground plugin have been having some problems with lua restarts and other issues, due to auto updates that went out within the last couple of days, so wonder if there’s something more systematic going on.

Either way, all seems to be working now. Thanks for the update cybermage!

Thank you to all. I tought I had killed the plug-in when installing some new monoprice lighting switchs. Everything seems good now.

Thanks @cybrmage. Awesome fix! Thanks!

@cybrmage, all-

I used the updated lua file, and the myQ app started working again. However, I’ve got an undesired behavior going on though - my doors are opening on their own. If I close them via the app, or manually, they go right back up. I’ve had to uninstall the app to keep them down. Anyone else seeing this behavior?

Thanks-

@hokiebarger

[quote=“hokiebarger, post:34, topic:188251”]@cybrmage, all-

I used the updated lua file, and the myQ app started working again. However, I’ve got an undesired behavior going on though - my doors are opening on their own. If I close them via the app, or manually, they go right back up. I’ve had to uninstall the app to keep them down. Anyone else seeing this behavior?

Thanks-

@hokiebarger[/quote]

Not seeing this problem at all. I’m on UI5. Have you tried reinstalling the app?

I’ve noticed since installing our gate that maybe 10% of the time, the app doesn’t record an open event. Notification comes through via liftmaster that the gate has opened, but no notification through vera and the sensor shows as closed. We didn’t notice this with the garage doors, but we open those much less frequently. Anyone else seeing this? would love to have it at 100%, but that may be asking too much!

I’m on UI7 - have uninstalled, reinstalled, restarted, etc., etc. Sounds like maybe I’m just special :frowning:

Ugh, that has to be really frustrating! No advice from me–hopefully someone with more knowledge than I will chime in.

Update - I rebooted the VeraEdge (UI7), installed the MyQ app, updated the lua file, configured the app, then rebooted the Vera again. So far so good, and no idea why it’s working today :slight_smile:

Glad you got it working! I’m always amazed at how many things on vera magically start working after I leave them alone for a bit… Not so easy to do when it’s your garage door opening up though!

I’m a novice Vera user. Can someone post instructions on the steps on how to update the lua file for this plugin? I just can’t figure out where to go in UI7 to figure this out. I have a Vera Edge running UI7. Thanks.