MyQ Plugin - BETA

Posted on
Mon Jun 27, 2016 4:09 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

V0.0.7 now available. Recognizes door opener types 5 and 7.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Jun 27, 2016 4:25 pm
chasyori offline
Posts: 27
Joined: Dec 18, 2014

Re: MyQ Plugin - BETA

Thanks .... Working perfectly

Posted on
Mon Jun 27, 2016 6:02 pm
chase offline
Posts: 75
Joined: Oct 27, 2013

Re: MyQ Plugin - BETA

I have not scene the brand 'Detonator_Chamberlain' before.

Also, the light switches are never getting their status updated, and the controls don't do anything... :)

What can I provide remotely for debugging?

Thanks!

Posted on
Mon Jun 27, 2016 7:12 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

chase wrote:
Also, the light switches are never getting their status updated, and the controls don't do anything... :)

What can I provide remotely for debugging?

Thanks!


Nothing I can do. I don't have any switches and I can't find any reference to controlling them anywhere. I probably ought to yank the code that's there for the switches out, as it's not going to do anything.

At this point, it's going to require network sniffing and reverse engineering to find out what the API calls are to control the switches.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Mon Jul 11, 2016 2:55 pm
Vig offline
Posts: 111
Joined: Oct 06, 2015

Re: MyQ Plugin - BETA

FlyingDiver wrote:
First beta test release is available now at https://github.com/FlyingDiver/Indigo-MyQ/releases

It does pretty much what you would expect it to do. Reports status of the doors, and allows you to open or close them.

One unusual aspect of this plugin - it auto-creates the Indigo devices after entering your MyQ login information. It was either do that, or cache the device information so users can pick specific openers to create devices for. Right now, it will always create devices for all openers that MyQ knows about.

If people really don't like the way it works now, I'll change it.

I don't have any MyQ enabled devices other than openers. If you have other devices you would like access to, let me know what they are and what you want to do to them. I'll add the additional device types.

Requires the requests module:

Code: Select all
 sudo pip2.6 install requests


This worked perfectly for me, thanks!!

Vig.

Posted on
Wed Nov 02, 2016 7:36 pm
estopka offline
Posts: 19
Joined: Sep 02, 2015

Re: MyQ Plugin - BETA

Hi,thank you for taking this on, awesome functionality that I've been hoping for. I have loaded up requests with the following commands:
sudo easy_install-2.6 pip and
sudo pip2.6 install requests

Looks like they are loading up ok, but am getting the following errors:

MyQ Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
MyQ Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
File "plugin.py", line 290, in getDevices
File "plugin.py", line 278, in myqLogin
File "/Library/Python/2.6/site-packages/requests-2.11.1-py2.6.egg/requests/models.py", line 826, in json
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/__init__.py", line 307, in loads
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 335, in decode
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 353, in raw_decode
ValueError: No JSON object could be decoded


Log is not returning any information on the account, so I assume this is not working correctly.
Am happy to send any additional information to help if I can.

Posted on
Wed Nov 02, 2016 8:15 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

Turn on debugging in the plugin configuration dialog. Make sure your login info for the MyQ website is correct, and that you have the correct opener brand selected.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 02, 2016 8:24 pm
estopka offline
Posts: 19
Joined: Sep 02, 2015

Re: MyQ Plugin - BETA

Turned on debugging, and it now shows the following:
MyQ Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
MyQ Debug validatePrefsConfigUi called
MyQ Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
File "plugin.py", line 290, in getDevices
File "plugin.py", line 278, in myqLogin
File "/Library/Python/2.6/site-packages/requests-2.11.1-py2.6.egg/requests/models.py", line 826, in json
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/__init__.py", line 307, in loads
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 335, in decode
File "/Library/Application Support/Perceptive Automation/Indigo 6/IndigoPluginHost.app/Contents/PlugIns/simplejson/decoder.py", line 353, in raw_decode
ValueError: No JSON object could be decoded

Posted on
Wed Nov 02, 2016 8:36 pm
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

Well, the call to the MyQ website to get the token needed for the API calls is failing. Most likely reason is bad login info.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Wed Nov 02, 2016 8:55 pm
estopka offline
Posts: 19
Joined: Sep 02, 2015

Re: MyQ Plugin - BETA

I've double checked and re-entered the login id and password, and have tried each opener type, but still getting same results. Any other suggestions would be appreciated.

Posted on
Thu Nov 03, 2016 6:03 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

estopka wrote:
I've double checked and re-entered the login id and password, and have tried each opener type, but still getting same results. Any other suggestions would be appreciated.


What kind (and model) of opener(s) do you actually have?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Nov 03, 2016 9:39 am
martinc offline
Posts: 83
Joined: Oct 27, 2005

Re: MyQ Plugin - BETA

I am getting the same error - Chamberlain Model: LW9000WF

Posted on
Thu Nov 03, 2016 9:48 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

martinc wrote:
I am getting the same error - Chamberlain Model: LW9000WF


Is this a new setup or did this previously work?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Nov 03, 2016 10:02 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: MyQ Plugin - BETA

I released v0.0.8 with more debug logging for the MyQ login. Please update to this version, turn on debugging, and reload the plugin. Then post the log entries.

Please use the "Code" tag when posting the log entries.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Nov 03, 2016 10:13 am
estopka offline
Posts: 19
Joined: Sep 02, 2015

Re: MyQ Plugin - BETA

Removed 0.0.7 (stopped Indigo server, removed plugin file, and removed prefs file, restarted server no Plugin identified in Indigo, clean)

Ran 0.0.8 installer, received the following error trying to install; no configuration screen came up:

Code: Select all
 Installing and enabling plugin MyQ v0.0.8
  Loading plugin "MyQ 0.0.8"
  Starting plugin "MyQ 0.0.8" (pid 11055)
  MyQ Error                       Error in plugin execution InitializeMain:

Traceback (most recent call last):
SyntaxError: ('invalid syntax', ('plugin.py', 271, 11, "        url = self.service + '/Membership/ValidateUserWithCulture?appid=' + self.appID + '&securityToken=null&username=' + self.username + '&password=' + self.password + '&culture=en'\n"))

  Stopping plugin "MyQ 0.0.8" (pid 11055)
  Stopped plugin "MyQ 0.0.8"

Who is online

Users browsing this forum: No registered users and 2 guests