[OBSOLETE] MyQ Garage Door Device Type

Thanks,@a2thejay23 - this is an awesome idea.

Noob question, though - how do I view these debug logs to get the Device ID? I’ve looked in the activity feed and on the “Live Logging” tab on the API page via browser. No debug logs to be found.

Also, try @copyninja directions and code at the below thread…

Installation:

  1. Load MyQ Service Manager in SmartApp section
  2. Load MyQ Garage Door Opener and MyQ Light Controller in SmartDevice section
  3. Publish all of the above
  4. In your mobile app, tap the “+”, go to “My Apps”, furnish your log in details and pick your gateway brand, and a list of devices will be available for you to pick

Thanks, @jimmay3. I went with the copyninja version, and it’s all working now. I think part of the issue may have been me not realizing my door name vs. place name in the MyQ app.

I’m using the Liftmaster 821LM (https://www.liftmaster.com/For-Homes/Accessories/MyQ-Accessories/model-821LM) which I have wired to my Sommer garage door opener. I have it working via the MyQ app, but not in SmartThings. Using your device type code and device, I was able to add this as a device in my app, but am unable to control it or see its current state. Do you know if this works with this device (821LM) or only Liftmaster garage door operators?

Chamberlain recently updated their API. This app may need to be modified. We’ve already made the changes in copyninja’s version if you’d like to check that out.

Well, it controls (eventually) my garage door but even with the multi sensor it is not updating unless I manually refresh it. Hopefully ST will finish the MyQ integration in a year or two so I’ll continue to refresh manually til then I guess.

Can’t you use the code at: [WITHDRAWN] MyQ LiftMaster/Chamberlain

Hi Everyone,
I have cut and pasted the Adam’s code from Github for the new Device Type and when I try to save (or Publish) the code (I haven’t made any changes), I get the following error.

java.lang.NullPointerException: Cannot get property ‘door_name’ on null object @ line 381

Again, I’m not using the simulator or anything. I’m just trying to save the things after pasting it. I got Adam’s code from here.

Here’s the code at line 381.

if ((settings.door_name ?: “blank”).isLong() == true) {

If I understand things correctly, door_name won’t have a value until I create a device of MyQ Garage Door and enter my preferences. So, I’m not thinking this is a bug with Adam’s code. As I mentioned, I get the same error when I try to publish the new device type.

I have searched this and other topics but I haven’t found anyone with this error.

Isn’t it weird that I can’t even save the code without generating an error?

Thanks in advance,
Darren

Adams code I believe is over a year old, the Chamberlin API has changed many times since, thus not sure why you are not using @copyninja’s latest code at: [WITHDRAWN] MyQ LiftMaster/Chamberlain