MyQ is working.....but....

Gman34798
Posts: 74
Joined: Sun Jun 10, 2018 5:56 am

MyQ is working.....but....

Post by Gman34798 »

Send status request triggers this log message:

MyQ Warning getDevices failure, status_code = 400

The plug-in works fine but always shows the garage door as "Locked".
Seems to be functioning fine, but unable to update status.

Running
Catalina 10.15.7
Indigo 7.5.0
MyQ Plugin Ver. 7.5.3

Any thoughts?
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ is working.....but....

Post by FlyingDiver »

Enable debug logging, restart the plugin, post the log.

And do you mean that you can send commands to open/close the door, but the status never updates?
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
Gman34798
Posts: 74
Joined: Sun Jun 10, 2018 5:56 am

Re: MyQ is working.....but....

Post by Gman34798 »

Thanks for your reply Joe,
Yes, that is correct, functionality is there, but the status never changes and shows Locked status.
Here is the MyQ logging, I opened the door via Indigo at 06:06:25.

It appears that it is unable to get the status code for some odd reason.
It also appears that the last status update was back in December??

Apr 2, 2021 at 6:04:24 PM
Z-Wave received "Outdoor Motion Sensor" status update is on
Z-Wave received "HVAC Exit Air Temperature" temperature update to 76.6 °F
MyQ Warning getDevices failure, status_code = 400

Apr 2, 2021 at 6:05:53 PM
MyQ Debug logLevel = 10
MyQ Debug myqLogin response = {"SecurityToken":"ac862af4-6fc1-4a63-8e0d-82804af18809"}
MyQ Debug myqLogin successful
MyQ Debug logLevel = 10
MyQ Debug statusFrequency = 600.0
MyQ Debug myqLogin response = {"SecurityToken":"a80afef3-3959-4425-9644-c83d069b7046"}
MyQ Debug myqLogin successful
MyQ Warning getDevices failure, status_code = 400

Apr 2, 2021 at 6:06:25 PM

MyQ Debug actionControlDevice: Unlock Garage Door
MyQ Debug myqLogin response = {"SecurityToken":"35980adc-1267-4cfd-a663-ec0cb966d55f"}
MyQ Debug myqLogin successful
MyQ Debug Garage Door: changeDevice: new state = open

MyQ Debug myqLogin response = {"SecurityToken":"f9636ad0-0a80-43c5-a733-a4ea89cc280e"}
MyQ Debug myqLogin successful
MyQ Warning getDevices failure, status_code = 400
Attachments
Screen Shot 2021-04-02 at 6.08.36 PM.png
Screen Shot 2021-04-02 at 6.08.36 PM.png (55.04 KiB) Viewed 5315 times
Screen Shot 2021-04-02 at 6.08.29 PM.png
Screen Shot 2021-04-02 at 6.08.29 PM.png (49.79 KiB) Viewed 5315 times
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ is working.....but....

Post by FlyingDiver »

Try the 7.6.0 pre-release: https://github.com/FlyingDiver/Indigo-M ... /tag/7.6.0

Back up your Indigo database first, in case your devices get messed up.

Read the instructions on GitHub carefully, this is not a drag and drop replacement.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
SearchCz
Posts: 268
Joined: Wed Sep 18, 2019 4:45 am

Re: MyQ is working.....but....

Post by SearchCz »

I was having a similar problem ... getting that "400" error. Installed MyQ v 7.60 pre-release and everything seems fine now!
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

I updated the the 7.6 pre-release, and when I click 'send status request' I get this error

Code: Select all

   MyQ Error                       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 389, in actionControlDevice
  File "plugin.py", line 153, in requestUpdate
  File "plugin.py", line 97, in pymyq_write
IOError: (32, 'Broken pipe')
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ is working.....but....

Post by FlyingDiver »

johnofcamas wrote:I updated the the 7.6 pre-release, and when I click 'send status request' I get this error

Code: Select all

   MyQ Error                       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 389, in actionControlDevice
  File "plugin.py", line 153, in requestUpdate
  File "plugin.py", line 97, in pymyq_write
IOError: (32, 'Broken pipe')
That's the error you get when the Python3 task stops running. The only way to get debug info from that is to restart the plugin in the interactive shell.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

Quit, relaunched Indigo, it's working now
User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ is working.....but....

Post by FlyingDiver »

johnofcamas wrote:Quit, relaunched Indigo, it's working now
Just restarting the plugin should have been sufficient.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

Kind of.. still showing locked even after it opens: Here's another error:

Code: Select all

   MyQ Error                       actionControlDevice: Unsupported action requested: actionValue : ActionProps : (dict)
configured : True
delayAmount : 900
description : unlock device
deviceAction : Unlock
deviceId : 706919280
replaceExisting : True
textToSpeak :  for Garage Door
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

One more error

Code: Select all

MyQ Error                       Error when trying to close Garage Door Opener: Error requesting data from https://account-devices-gdo.myq-cloud.com/api/v5.2/Accounts/6cc55127-e1d2-4fd8-b3e0-795ea1a15d4c/door_openers/CG086F0978BC/close: 401 - Unauthorized
  
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

And definitely still getting this error:

Code: Select all

   MyQ Error                       Error in plugin execution ExecuteAction:

Traceback (most recent call last):
  File "plugin.py", line 375, in actionControlDevice
  File "plugin.py", line 97, in pymyq_write
IOError: (32, 'Broken pipe')

User avatar
FlyingDiver
Posts: 7823
Joined: Sat Jun 07, 2014 10:36 am
Location: Southwest Florida, USA

Re: MyQ is working.....but....

Post by FlyingDiver »

Honestly, I'm about to deprecate this plugin. It's a reverse engineered API with a lot of issues, and the only existing library for that is Python3, which adds more problems. It's just not worth my time to try to keep this working.
joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177
johnofcamas
Posts: 36
Joined: Thu Jan 30, 2014 4:13 pm

Re: MyQ is working.....but....

Post by johnofcamas »

Understood. Thank you far doing this much
Locked

Return to “MyQ”