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

Battery level update works perfectly, even in ActionTiles!

Glad it’s working for you! Screenshot here for the curious:

image

@brbeaird, do you know if the my Q smart hub with continue to work with smartthings if a smart BRIDGE is involved inbetween? I’m not quite sure how the set up works which is why i am asking before i set it up. would the BRIDGE be the one you add to smartthings rather than the door since it’s essentially a middle man?

I imagine it would still work. This app just connects to your MyQ account to pull the devices, so as long as your door is still listed there (regardless of the bridge), it would likely be fine.

So this doesn’t put the battery icon on the Smartthings app dash board icons, does it?

It does put it on the device tile in the mobile app:

Is this battery level only reporting the level of an external z-wave sensor or is it reporting the MyQ sensor battery? You might want to make it clear that this only works if you are using a separate z-wave tilt sensor tied to the app. I thought for a minute it was somehow grabbing the battery status of the MyQ sensor itself but I don’t even think the MyQ app itself reports the battery level for this sensor.

Edit to add: It may also be confusing for folks using the virtual switch and IFTTT integration because they will see a box with two dashes in it and not know what’s supposed to be there.

That is the battery level of the tilt sensor.

This is a good add to the app. Thanks.

This will only show up on the sensor version of the door, so you’d have to have associated a separate tilt sensor already (which is named just to the left of the battery value). You’re correct this app cannot read any part of the MyQ sensors.

Fair point. I went ahead and made a change to default it to 100% if no battery value is found so at least it won’t be empty dashes. Unfortunately, there’s no good way to conditionally set it to “N/A” or hide it altogether.

Right, I’m using the sensor version of the door with a virtual contact sensor and IFTT to change the virtual sensor status. I was thinking you could also make a user configurable option on the device (click the gear in ST classic) and choose to have the battery display on or off. Just a thought.

That would be nice, but SmartThings is not set up such that those tiles can be conditionally displayed. It’s basically just metadata that then gets data populated into it - no way to hide it depending on the data (or options) on the fly.

That is awesome!! Thanks!!

Are we required to do the update if we don’t have the sensor version?

I had the same issue - what fixed it for me was making sure I updated the code on both SmartApps AND Device Handlers. The one I somehow missed was Device Handlers. Might not be the same issue but wanted to offer it up, just in case.

Can someone help me figure out how to update? This is a side hobby for me and I know just enough to be dangerous.

1 Like

After years of success, my good luck has finally come to end. I’ve removed rebooted, and pulled down the latest myq smart handler and smart app. After loosing nest I can’t loose myq as well. Below are some live log outputs…so far myq just stopped.

From the device handler:


96ab4412-374d-4d23-ba80-9d683ec2dec7
10:05:54 AM:error groovy.lang.MissingMethodException: No signature of method: script_app_dc6c4ac7dab3b1b43fda8582dad47d6e86c8fb71968476cfced04d91a5860143.sendCommand() is applicable for argument types: (script_dth_e33456448551cdab982f17b93e7e537c8244f6a50ea7799d8799a680caf4d06f, java.lang.String, java.lang.Integer) values: [script_dth_e33456448551cdab982f17b93e7e537c8244f6a50ea7799d8799a680caf4d06f@b4e3b1c, …]
Possible solutions: sendCommand(java.lang.Object, java.lang.Object) @line 128 (close)

96ab4412-374d-4d23-ba80-9d683ec2dec7 10:05:54 AM:debug Garage door close command called.

96ab4412-374d-4d23-ba80-9d683ec2dec7 10:05:54 AM:debug Garage door close command called.

96ab4412-374d-4d23-ba80-9d683ec2dec7 10:05:53 AM:error groovy.lang.MissingMethodException: No signature of method: script_dth_e33456448551cdab982f17b93e7e537c8244f6a50ea7799d8799a680caf4d06f.getMyQDeviceId() is applicable for argument types: () values:
Possible solutions: getDevice() @line 808 (refresh)

96ab4412-374d-4d23-ba80-9d683ec2dec7 10:05:52 AM:error groovy.lang.MissingMethodException: No

From SmartApp:

fbead50a-64c9-4fde-a5a3-d33696b04e17 10:08:21 AM: debug GenerateEvent returned {{ linkText }} has arrived

fbead50a-64c9-4fde-a5a3-d33696b04e17 10:08:21 AM: debug description: presence: 1

96ab4412-374d-4d23-ba80-9d683ec2dec7 10:08:19 AM: error groovy.lang.MissingMethodException: No signature of method: script_app_dc6c4ac7dab3b1b43fda8582dad47d6e86c8fb71968476cfced04d91a5860143.sendCommand() is applicable for argument types:

Yes - the underlying API was updated, which affects all installs.

Check out the instructions on the GitHub link. I’d suggest reading down link to the Community Installer method as that’s the easiest way to keep things up to date.

Those errors indicate your updates to the device handler code didn’t take. Try to force that to update and publish again.

Anyone still having issues connecting smartthings to myqlite?
I’ve had it working for a year now and updated with latest version from github. I’m using the myq-garage-door-opener.src for the dh and myqlite smartapp both version 3.1.1

I keep on getting this in the logs when I try to login
warn API POST Error: groovyx.net.http.HttpResponseException: Unauthorized
warn forceLogin: Refreshing login token
debug login result next page: prefListDevices

I even try to delete the device and reinstall, but no luck. Am I missing anything?

I’ve double checked the password and tried simple password in case the special characters were causing issues, but no luck.

Thanks.

That error actually seems to indicate the SmartApp did not truly update to 3.1. What does the SmartApp main screen show down under the app and handler version section?

© 2019 SmartThings, Inc. All Rights Reserved. Terms of Use | Privacy Policy

SmartThings; SmartApps®; Physical Graph; Hello, Home; and Hello, Smart Home are all trademarks of the SmartThings, Inc.