[OBSOLETE] MyQ Lite Door and Lamp Control (for Liftmaster/Chamberlain)

Same here.

Making great progress on the update. It’s turning out to be a bit of a game changer as I think I’ve figured out how to keep nearly all the functionality of the app without the need for any sensors whatsoever. Should have something to test within a few days - I’ll be looking for a few brave volunteers to give it a shot soon. In the meantime, here’s a little preview of the new setup page


4 Likes

I’ve been lurking hoping for a sensor free version for a while now so I can start to use it. I unfortunately bought the MyQ and another Chamberlain accessory days before my smartthings, and if I knew they wouldn’t work fully together, I would have bought something else :frowning: Looking forward to being able to use what I have without additional cost!

I had the issue with the “Unexpected Error has occurred” and I just wanted to reiterate for everyone go and check your device handlers to enable the garage door opener device. Now there is one more reply that will show up in searching this thread for anyone else


Also, the multi-purpose sensor works great for this. Just choose the option to use it as a garage sensor when setting it up. In fact, I plan to leave it there even if a sensor is optional. Now I know how cold my garage is getting this winter.

Quick question - for those of you who say Alexa is able to control your garage door simply by saying "open " instead of "turn on " - did you really not have to do anything to make that work? I recently got an Echo Dot, and whenever I say “Alexa, open <door name” she just says something like “I’m not sure how to do that.” However, "turn on " works just fine.

Mine only responded to ‘turn on’ as well. I told it to forget the garage door though for security reasons. I want to set up a physical momentary switch for it once I find one.

Does anyone know if this will work with the Craftsman WiFi model garage door openers (not the ones with the Assurelink/Internet Gateway, but the direct WiFi ones)? These are made by Chamberlain and appear to be identical to the respective Chamberlain/Liftmaster models. Also, while I can add MyQ devices to my garage door online account through the Craftsman Garage Door app, they do not appear to use the same database/servers as Chamberlain, so maybe this smartapp could query the Sears servers for open/closed status rather than use a sensor.

And another possibility - since all signals to these WiFi door openers are transmitted via WiFi (rather than a proprietary frequency as is used by the MyQ/Assurelink/Internet Gateway models), shouldn’t you be able to see it’s open/closed status in the wifi stream of your router? I don’t know how to interpret WireShark so I can’t help there, but I’m sure someone does.

Getting into this only recently, so maybe this has all been explained already. Sorry if it is.

I think SmartThings and MyQ have made it clear they don’t want us constantly polling to get the status, and I can’t say I blame them. Even though the endpoint is slightly different for Craftsman, I imagine it’s still hosted by the same group, which means those attitudes against polling still apply.
[/quote]

I don’t have one of these, but my guess is that’s not quite how it works. I believe the WiFi being on the door itself simply removes the need for a separate gateway unit. There’s no way to sniff the door any easier than it is to sniff the gateway. While you may be able to see traffic flowing between the door and MyQ, I believe it would all be encrypted. That said, there are hackers out there that know a lot more than I do, so who knows


I’d be happy to volunteer to test it. I have a Chamberlain garage door opener which has a provided tilt sensor. Since I can’t add the sensor separately to SmartThings, I am unable to get past the setup for MyQ Lite.

Good news, everyone! The new no-sensor version is ready to test! Here are the highlights:

  • During setup, choosing sensors is now optional! Even without sensors, you can open/close the door from the door device, from a routine, or from other apps like SmartTiles (using the momentary push button below)
  • There is now a second device type for a door with no sensor. The SmartApp will notice if you don’t choose a sensor and will use that type instead.
  • There is a new option to have additional Momentary Push buttons created. This creates two virtual push buttons for opening and closing the garage door. You can add these to SmartTiles dashboard to control your door from there. The main reason for this is if you don’t have a sensor, the basic on/off switch type won’t work in SmartTiles because the switch requires knowing if the door is open or closed to know what its current state should be.
  • I removed the MyQLite prefix to door devices that get created.
  • I overhauled the README file with a better overview and instructions.

Installation

  • Here’s the testing link to the two device handlers and Smartapp code: https://github.com/brbeaird/SmartThings_MyQ/tree/NoSensor.
  • When installing, make sure you grab all 4 code files - 3 device handlers and the SmartApp.
  • If you already have a version of the app installed, you should be fine to just open it up and walk through the setup process again.
  • One word of warning - if you try from the sensor version to the no-sensor version, make sure you remove the door’s on/off switch capability from other routines and SmartApps first. Otherwise, this apps should allow seamlessly moving between the two options and should be pretty straightforward.

@Paul_Bechard, @ph4r, and whoever else wants to give it a shot - let me know how it works. If you do run into bugs, try and catch the error message in the logging if you can.

<img src="http://i.imgur.com/zBXS6nQt.png width=“90” height=“160”>

3 Likes

I loaded both Device Handlers and the SmartApp. I have two doors, but am just starting with one for now. When I tried to add it with the “Create on/off push buttons” turned on it fails with “:error physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘Momentary Button Tile’ in namespace ‘smartthings’ not found. @ line 292” and will not let me continue. If I add without that it does connect, but I have not tried to open or close it just yet. I also thought it was odd that the newly added device which was created by adding a new smartapp does not list the smartapp under that device.

Oops. I didn’t realize that wasn’t a standard type. I’ll need to amend the instructions, but this is another device type you need to add:

https://raw.githubusercontent.com/SmartThingsCommunity/SmartThingsPublic/master/devicetypes/smartthings/momentary-button-tile.src/momentary-button-tile.groovy

I tried the new code. It seems Alexa won’t recognize the myq doors unless there is a sensor associate with the door - I forced it using a spare door sensor. But even then, it doesn’t close it even if it confirms with “OK”. Opening works fine with both the sensor and optional no-sensor type.

@soysauce - Ah, yes. I should definitely clarify that more in the instructions. Getting Alexa to work without sensors is not exactly intuitive. Here’s what you need:

  1. In the setup process, make sure you select the option to create the Push Button switches.
  2. After setup is done, make sure you see the push button devices in your list of things. They should be called [door name] + “-OPEN” and [door name] + “-CLOSE”.
  3. Those are the switches Alexa needs to turn on to make the door open/close. So you have two options:
  4. Option A: rename the switches in SmartThings to something easier to say that Alexa can understand. Something like “Garage Opener” and “Garage Closer” (I’ll probably actually re-do that part in the code so you don’t have to in the future). Then you go into Alexa, have her discover devices, and then you can just say “Alexa, turn on garage opener” and “Alexa, turn on garage closer”
  5. Option B: Go into Alexa under Smart Home and create a new group with a simple name. Then select the push button open switch. Repeat that process for the close switch. After that, you can tell Alexa to turn on that group name. No renaming needed in SmartThings.
  6. Either option above simply makes the switches have a name that Alexa can understand.

Give that a shot and see if Alexa can see and control those switches, which should let you both open AND close the door.

I got through all the instructions no problem. Then, in the ST app, I went to MyApps -> MyQ Lite, typed in my credentials and logged in. Got the following error message: “Could not find any supported device(s). Please report to author about these devices: []” What an I doing wrong?

Hmm
and it worked under the old version? Can you copy/paste what happens in your debug log as you’re trying to setup the SmartApp? It’s possible there’s something different in the response you’re getting from MyQ, and I’m not handling those door types.

I never tried the old version. Just got my ST hub yesterday. I have the MyQ app and it works fine, just trying to integrate the MyQ into ST and Echo.

Ok, gotcha. Feel free to PM me if you want to look into some of the logs to figure out what’s happening.

Since I have that linked in my GitHub, I added that devicetype from there now, and I can confirm that it worked including linking through Alexa (I renamed the Momentaries and added icons). Thanks!

I added just that one, is there any concern with adding all of them from the repo?

It won’t hurt anything to add them. I’m toying with a few other options, though, to see if I can get things to work without the need to install any extra handler code for the push buttons.