I have a MyQ liftmaster garage door opener with their gateway. Does anyone know what protocol liftmaster uses? It would great to integrate this with smart things.
Thanks,
Scott
I have a MyQ liftmaster garage door opener with their gateway. Does anyone know what protocol liftmaster uses? It would great to integrate this with smart things.
Thanks,
Scott
Scott, I just released a device type for MyQ. You can find it here:
Adam
Adam,
OUTSTANDING! It works great for me on the android app. I was a little confused on the preferences configuration. You might want to explain these entries are made in the console view of the device. I was looking for a way to configure the device on my phone. The âeditâ preferences in the device type is kind of a hidden feature for most of us.
I look forward to figuring out how I can add this to my complex set of apps, modes, etc.
Cheers,
Scott
Hi Adam- Sorry for the question as I understand it is very remedial. I am new to SmartThings. How do I create the new device type as your code indicates? I have tried to search through the community and have not been able to figure it out.
Thanks.
@essidle Iâm wondering the same thing. Could you provide a few easy steps to get my LiftMaster working with SmartThings? Thanks.
Iâve tried adding a smart app to open/close on my arrival and departure but that doesnât seem to work. Not sure if it has to do with the new version of the mobile app as the state doesnât report correctly until you go into it and update it manually. Either way, thanks for coding this!
I created a new device called MyQ in the IDE which generates a template. I deleted everything in the template except the definition(). Under that, I pasted the code from GitHub.
When I save it, I get this error:
java.lang.RuntimeException: Metadata Error: input() can only be invoked inside a section definition @ line 77
Line 77 for me is the first input of the preferences block:
preferences
{
input(âusernameâ, âtextâ, title: âUsernameâ, description: âMyQ username (email address)â)
input(âpasswordâ, âpasswordâ, title: âPasswordâ, description: âMyQ passwordâ)
input(âdoor_nameâ, âtextâ, title: âDoor Nameâ, description: âMyQ Garage Door name or Device IDâ)
}
I looked for discussions on this error, but it doesnât seem to be necessary to add section names in the preferences block.
Any ideas how to get past this?
Thanks, Chris
I just figured out that there is a whole thread on the development of the MyQ support at MyQ Garage Door Device Type
I get the following when trying to create the app.
No signature of method: script1438289005494345292670.metadata() is applicable for argument types: (script1438289005494345292670$_run_closure2) values: [script1438289005494345292670$_run_closure2@265c8430] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)