Chamberlain MyQ Garage Door Support [OUT OF DATE]

Yup...looks like this time it is totally broken for everybody, not just Chamberlain but Liftmaster too. Looks like I'll be coming up with a new solution today. Oh yay! (not)

Looks like its working with smartthings now with the recent update to their drivers.

Yeah, I looked at the changes and there are not just driver changes but there are a ton of changes to the app too.. So many that I couldn't reconcile them all. And loading the ST app doesn't work in HE. I can't print a report from it like I can with Beyond Compare (which I have for work) but Notepadd ++ has a great compare plugin. Load the two apps and compare them. There are more differences than similarities. WAAAAY beyond what I am capable of deciphering. There's no way to know if the difference is due to a necessary change to make it work with Hubitat or one for the update to the API.

Luckily, the door sensor I was using for the MyQ Lite was on a Hubduino board. So, I am just expanding that to have a door control device and running a wire over to the board from the opener. Cheapest alternative for me to get control back quickly.

its odd mine works great with the close command but the open does not any more.

app:10902019-10-19 14:16:48.330 errorgroovyx.net.http.HttpResponseException: Bad Request on line 922 (sendCommand)

So I'm guessing we have a long wait before someone takes the time to work on this?
I remember back in august there was an issue where the api changed for a night. and some other smart home system had an update. does that apply here?

I'm just using a momentary switch and a contact sensor. Easy to get those working with a rule to open/close.

MyQ reverted the changes. I don't recall any edits were done here as a result.

1 Like

You are correct @helene7t7, the changes were backed out shortly after being implemented. I guess we should have all been more ready for this change.

To be honest, I'v e wanted to get away from he MyQ being the only implementation I have since it is not 100% local. I do like having the wifi gateway as a backup is Hubitat is down but having total local control means I won't have a problem if my internet is down.

Also, if you're looking for a REALLY cheap alternative opener device, you can use any smartplug, an old 9v-12v wall-wart style power cord (how many of those do we all have laying around!) and simple $5 automotive relay. Simply set up Hubutit to turn the smartplug on for a second or two, wire the end of the wall-wart's plugs into the coil side of the relay and then the switch sides of the relay in parallel to your wall-button. Works like a charm and if you find stuff on sale you could do it for around $15-$20.

That said, I did try the update to the SmartThings app and it does work again. The nice part is that since it's a cloud integration, I didn't even have to power up my hub to use it. Just installed the updated app and drivers in the IDE and added the smartapp from the phone app. :slight_smile:

I decided to take a crack at reimplementing the app and driver. It needs to change over to the v5 API, which does give a decent amount of information. I'm not using any tilt sensors, so it's taking awhile to get through the code. Plus this is my first real crack at this, so it's taking a bit longer.

Obviously only testing with what I have, but currently I'm able to create my doors, and the open/close commands are successful.

4 Likes

I took a stab at it today and there are FAAAR too many complexities for me to wrap my head around it. I have come up with an alternate method to do this and I would recommend that anyone else who uses a MyQ opener come up with an alternate method as well as it appears that this is not going to be resolved anytime soon unless one of the more experienced Hubitat developers jumps in and tries to tackle it. I was able to get all the drivers and the app to save but it still doesn't work. It is not recognizing the returned values from the HTTP call even though they are returning the correct data. The problem is the methods for HTTP commands are different than ST.

I haven't spent a lot of time yet but I feel like this won't be too bad to make work. If you can wait an hour or two I can probably have a better idea if I can get it done today.

Okay....but the latest ST version isn't anything like the current Hubitat version. It was completely re-written.

Yup... Any particular reason you think that's a problem? I'm just taking the latest ST code and making it work.

I already have the app logging in, detecting my opener, and adding the device. I just don't have the open/close commands working.

Nice... glad I'm spending my Sunday evening helping out the community so I can be insulted. It was a legitimate question of why you thought that was a problem. Sorry I asked. I'll just get my door working.

1 Like

I have mine working through a different device now, so you're not helping me. And you question was both condescending and insulting. Have fun.

Sorry you took offense, none was intended. I just wanted to know if you had a reason to think I'd hit a road block based on the new code and the fact that you seemingly did some analysis that might have helped me save time... My bad for asking I guess...

Anyway, for the rest of the community, I have this working. I will have it up on github within an hour. It might have some bugs, I haven't done thorough testing, but it is opening and closing my door. As a note, I only added support for the sensor based door -- does anyone care about the non sensor option?

2 Likes

Alright folks, can you give GitHub - dcmeglio/hubitat-myq: Integrate SmartThings with MyQ a try? Again I only really tested the sensor version. I would recommend deleting your MyQ Device before running this, the code is very different. I think deleting the device first would be wise. This was a very quick and dirty port but it appears to be working for me.

6 Likes

@dman2306

Thanks for doing this. In addition to the app, which of these device drivers have to be installed?

  1. myq-garage-door-opener-nosensor.src
  2. myq-garage-door-opener.src
  3. myq-light-controller.src
  4. myq-lock-door.src

Thanks!

I only installed myq-garage-door-opener.src - that's the one you use if you have a tilt or contact sensor. If you don't, the nosensor one should be used. I have no idea what lock door is yet, that's new to the MyQ Lite. The light controller is only if you have a separate MyQ compatible light controller (separate from a garage door opener). So my guess is just myq-garage-door-opener

1 Like

@dman2306

Works really well! Nicely done!!