SmartThings Community

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

smartapp_garage

(Sal Marano) #1244

Yes I do have a sensor, however the app will not load the set up page and complain about an error an contact developer.


(Brian) #1245

Can you open up the IDE and get the detailed error while you try to load the setup page?


(Sal Marano) #1246

I am not sure if this is what your are asking if not please give me a detail of where to find it.

{
“name”: “MyQLite: Garage Door Opener”,
“label”: “Garage Door”,
“typeId”: “94c4e57f-487a-4c95-976b-3851fc82f743”,
“zigbeeId”: null,
“hubId”: null,
“deviceNetworkId”: “f12a3596-2470-4e83-981f-78519071b84f|GarageDoorOpener|1176918”,
“locationId”: “03801122-5762-4103-b22e-15a4aaa79209”,
“groupId”: “b9584a4f-b6bc-4b5e-b4f8-c36647534875”,
“parentSmartAppId”: “f12a3596-2470-4e83-981f-78519071b84f”
}


(Brian) #1247

Within the SmartThings IDE, there should be a link for “Live Logging.” If you’ll open that in a browser while you try to setup the MyQ Lite Smartapp, detailed errors will show up in the live logging.


(Sal Marano) #1248

I fixed it I removed it completely and re set it up and got it working again. After the last hub update things went bad.


(Sal Marano) #1249

It worked for a couple of times and then it doesn’t again after completely removing and adding it again.

f4680174-4f5a-4939-9d43-bb3fff7b3bda 7:26:25 PM: error org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 3; The element type “CurrentTrackMetaData” must be terminated by the matching end-tag “”. @line 197 (parse)
f4680174-4f5a-4939-9d43-bb3fff7b3bda 7:26:25 PM: error org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 3; The element type “CurrentTrackMetaData” must be terminated by the matching end-tag “”. @line 197 (parse)
2f9967b7-452d-4e2f-a330-b66f1e831314 7:26:25 PM: debug Door: Garage Door Opener: Updating timestamp to: Tue May 22 02:19:21 UTC 2018 - from sensor Garage Door Sensor 1
753526f9-0aae-4513-bd67-198736418ea4 7:26:25 PM: debug Door: Garage Door Opener: Updating timestamp to: Tue May 22 02:19:21 UTC 2018 - from sensor Garage Door Sensor 1
2f9967b7-452d-4e2f-a330-b66f1e831314 7:26:25 PM: debug Door: Garage Door Opener: Updating with status - closed - from sensor Garage Door Sensor 1
753526f9-0aae-4513-bd67-198736418ea4 7:26:25 PM: debug Door: Garage Door Opener: Updating with status - closed - from sensor Garage Door Sensor 1
2f9967b7-452d-4e2f-a330-b66f1e831314 7:26:25 PM: debug refresh called from Garage Door Opener (753526f9-0aae-4513-bd67-198736418ea4|GarageDoorOpener|301996427)
7acc4025-952b-4551-9b01-fc07ba0c6f92 7:26:25 PM: debug motionOrContactHandler(Garage Door contact:closed)
2f9967b7-452d-4e2f-a330-b66f1e831314 7:26:25 PM: debug Door is now closed
2f9967b7-452d-4e2f-a330-b66f1e831314 7:26:25 PM: debug Request received to update door status to : closed
f4680174-4f5a-4939-9d43-bb3fff7b3bda 7:26:24 PM: error org.xml.sax.SAXParseException; lineNumber: 26; columnNumber: 3; The element type “CurrentTrackMetaData” must be terminated by the matching end-tag “”. @line 197 (parse)


(Brian) #1250

Based on those logs, it looks like the door should have updated to show closed based on the sensor. Is that not correct? I’m not quite sure which part isn’t working for you. Is the sensor by itself in SmartThings always showing the correct value? Which sensor brand/model is this?


(Sal Marano) #1251

Eco link it registers correctly even when MyQ lite said it is open and the door isn’t the sensor shows the correct status


(Rich) #1252

Occasionally I have to hit the opener attached to the garage door opener(The manual one by the entrance door), for everything to start jivin again.

Not saying that will fix it, but works for me.


(Dave) #1253

Is there a step needed to get the garage door opener to show up in devices of google assistant? I created the handler and the app in smartthings and that works perfectly in the smartthings app. However, I’d like to use google assistant to control the door too. In the assistant settings I see my other devices listed under smartthings but not the opener. I tried unlinking and re-adding smartthings but i still don’t see the garage door opener listed? Did I skip a step?


(Rich) #1254

Not sure if GA acts the same as Alexa but you may need to now expose those “switches” for the garage door to the smartthings google assistant smartapp.

I have alexa set to NOT grab all devices when added, as I do not want Alexa being able to open the door(especially since someone could do this outside of my home by yelling).

So I must select the device to be controllable on the Alexa smartthings smartapp for any new additions and I occasionally forget.


(Murks Pfui) #1255

I have a problem with this SmartApp.
So I have a MyQ enabled Chamberlain garage door opener(motor) and I have an internet gateway from Chamberlain to control it remotely.
So I set up everything in the MyQ App and it worked.
What I am trying to do is to open the door via IFTTT when I come home. MyQ does not support this due to safety concerns, but SmartThings does.

So I am a big rookie here, but I followed this guide step by step to link ST with MyQ.
However the last page(after choosing the sensors) is blank with the message “Error- bad state. Unable to complete page configuration.”
So I read that OAuth has to be enabled and I did that but I still get that error message.
I added every Device Handler in the IDE, that is offered here.

The log gives one error message everytime I enter that blank page:
java.lang.NullPointerException: Cannot get property ‘id’ on null object @line 760 (getHubID)

I do not have a SmartThings hub. I only have that Chamberlain gateway, like this one:
https://www.amazon.com/Chamberlain-LiftMaster-CIGBU-Internet-Technology/dp/B00B7CDSQ8/ref=sr_1_3?ie=UTF8&qid=1527188329&sr=8-3&keywords=chamberlain+gateway&dpID=41ywHpbMx7L&preST=SY300_QL70&dpSrc=srch

Do I really need a ST Hub in order to get this working?
Thanks in advance


(Rich) #1256

To use these smartthing smartapps… yes you need a smartthings hub.


(Brian) #1257

You could try manually editing the code to send null instead of getHubID(). Technically, I don’t think the hub is really doing anything in this case, so maybe it’s technically possible?


(Murks Pfui) #1258

Thanks for your replies.
I edited the code, so that getHubID returns null. Now it works. Thanks!
And thankyou for your app!


(Rich) #1259

Good to know!


(Rich) #1260

My apologies for the mis-information.


(Brian) #1261

Glad it works! You might still consider getting a hub at some point…feels a bit weird encouraging people to use ST servers for free :grinning:


(Knctrnl) #1262

Is this still working with the original instructions?
I have followed the instructions and configured the device handlers in the IDE.
I created the new smartapp and published however from my app on my phone when I try to add the app under my apps I only see my homebridge smart app.
I have waited some time like overnight to see if it took a while to populate but still nothing.


(Travis) #1263

I wonder if my recent issue is tied to some of the changes.
I have it set up that when I run the routine “Good Night!” by saying “Alexa, turn on Good night” (Alexa has access to ST routines), Webcore runs some security changes like changing the SHM mode to Armed-Stay and closing my garage door (in case it is not closed) through MyQ. I have a Smartthings Multisensor as my tilt sensor.
Twice in the past few weeks (I don’t know precisely the first time, but it did happen 2 nights ago), my garage opened instead of closed. Reading some of the comments above, I wonder if there is something off with the status reporting to ST. Just throwing this out there as my experience. I’ll need to investigate more and pull up logs (except at that time I just want to go to sleep haha)