MyQ Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
MyQ Debug myqLogin: Success, Brand = Liftmaster, SecurityToken = 1eae7023-1d9a-4bde-97a5-3d64898a2f80
MyQ Debug getDoors: 6 Devices
MyQ Debug getDoors: MyQDeviceTypeId = 1, DeviceId = 1700000428
MyQ Debug getDoors: MyQDeviceTypeId = 3, DeviceId = 1700000433
MyQ Debug getDoors: MyQDeviceTypeId = 3, DeviceId = 1700000431
MyQ Debug getDoors: MyQDeviceTypeId = 3, DeviceId = 1700000432
MyQ Debug getDoors: MyQDeviceTypeId = 2, DeviceId = 1700000430
MyQ Debug getDoors: Garage Door Opener (1700000430), state = 2
MyQ Debug getDoors: MyQDeviceTypeId = 2, DeviceId = 1700000429
MyQ Debug getDoors: Garage Door Opener (1700000429), state = 2
MyQ Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 112, in runConcurrentThread
File "plugin.py", line 303, in getDoors
ValueError: NameNotUniqueError
chase wrote:But the door names on the devices are not getting updated (i.e. I mislabeled the double door and the single door, then corrected them and the device names are not getting updated).
Also the Devices still have no control buttons. Is this yet to be implemented?
I have some MyQ lightswitches and a plug in switch that would be cool to add.
chase wrote:Yes, I have 3 lights... It seems MyQ lumps the physical types all under the one type (I have 2 decora type wall switches and 1 wall wart switch).
The MyQ apps seem to push alerts and door state changes... are these available thru the api?
MyQ Debug myqLogin: Success, Brand = Liftmaster, SecurityToken = 676c41d5-ab90-4e8c-afdd-ae81211e9fe7
MyQ Debug getDevices: 6 Devices
MyQ Debug getDevices: MyQDeviceTypeId = 1, DeviceId = 1700000428
MyQ Debug getDevices: MyQDeviceTypeId = 3, DeviceId = 1700000433
MyQ Debug getDeviceState: Bad return code: Error processing request (217)
MyQ Debug getDevices: Switch = Plug in Light Module (1700000433), state = 0
MyQ Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
File "plugin.py", line 343, in getDevices
ArgumentError: Python argument types in
DeviceList.iter(DeviceList, Plugin)
did not match C++ signature:
iter(TCList_onDemandClient<CDeviceWrapper>, CCString filter='')
MyQ Debug myqLogin: Success, Brand = Liftmaster, SecurityToken = d94d5981-6f83-4e07-82e2-083c9e3795ff
MyQ Debug getDevices: 6 Devices
MyQ Debug getDevices: MyQDeviceTypeId = 1, DeviceId = 1700000428
MyQ Debug getDevices: MyQDeviceTypeId = 3, DeviceId = 1700000433
MyQ Debug getDevices: Switch = Plug in Light Module (1700000433), data = {u'UserName': u'my@email.com', u'MyQDeviceTypeId': 3, u'Attributes': [{u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'online', u'IsGlobal': False, u'Value': u'True', u'MyQDeviceTypeAttributeId': 135, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 4614, u'IsTimeSeries': False, u'AttributeDisplayName': u'online', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'gatewayID', u'IsGlobal': False, u'Value': u'1700000428', u'MyQDeviceTypeAttributeId': 14, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 574, u'IsTimeSeries': False, u'AttributeDisplayName': u'gatewayID', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'desc', u'IsGlobal': False, u'Value': u'Plug in Light Module', u'MyQDeviceTypeAttributeId': 21, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 528, u'IsTimeSeries': False, u'AttributeDisplayName': u'desc', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1442182565764', u'IsPersistent': False, u'Name': u'lightstate', u'IsGlobal': False, u'Value': u'0', u'MyQDeviceTypeAttributeId': 8, u'UpdatedDate': u'2015-09-13T22:16:05.7639437Z', u'AttributeId': 552, u'IsTimeSeries': False, u'AttributeDisplayName': u'lightstate', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'addedtime', u'IsGlobal': False, u'Value': u'1433531344607', u'MyQDeviceTypeAttributeId': 15, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 601, u'IsTimeSeries': False, u'AttributeDisplayName': u'addedtime', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'name', u'IsGlobal': False, u'Value': u'CG0670000EF3', u'MyQDeviceTypeAttributeId': 98, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'name', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'customerName', u'IsGlobal': False, u'Value': u'CG0670000EF3', u'MyQDeviceTypeAttributeId': 13, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'customerName', u'IsDeviceProperty': False}], u'DeviceName': u'CG0670000EF3', u'UserConnectServerId': 1, u'SerialNumber': u'CG0670000EF3', u'MyQDeviceId': 1550599, u'RegistrationDateTime': u'2015-06-05T14:09:04.607', u'TypeName': u'Light', u'UpdatedDate': u'2015-06-05T14:09:04.607', u'UpdatedBy': u'System', u'ChildrenMyQDeviceIds': u'', u'DeviceId': u'1700000433', u'ParentMyQDeviceId': 1550598, u'TypeId': 48, u'MyQDeviceTypeName': u'LampModule', u'UserCountryId': 0}
MyQ Debug getDevices: MyQDeviceTypeId = 3, DeviceId = 1700000431
MyQ Debug getDevices: Switch = Double Bay Light (1700000431), data = {u'UserName': u'my@email.com', u'MyQDeviceTypeId': 3, u'Attributes': [{u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'online', u'IsGlobal': False, u'Value': u'True', u'MyQDeviceTypeAttributeId': 135, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 4614, u'IsTimeSeries': False, u'AttributeDisplayName': u'online', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'gatewayID', u'IsGlobal': False, u'Value': u'1700000428', u'MyQDeviceTypeAttributeId': 14, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 574, u'IsTimeSeries': False, u'AttributeDisplayName': u'gatewayID', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'desc', u'IsGlobal': False, u'Value': u'Double Bay Light', u'MyQDeviceTypeAttributeId': 21, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 528, u'IsTimeSeries': False, u'AttributeDisplayName': u'desc', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1466295318693', u'IsPersistent': False, u'Name': u'lightstate', u'IsGlobal': False, u'Value': u'0', u'MyQDeviceTypeAttributeId': 8, u'UpdatedDate': u'2016-06-19T00:15:18.6925418Z', u'AttributeId': 552, u'IsTimeSeries': False, u'AttributeDisplayName': u'lightstate', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'addedtime', u'IsGlobal': False, u'Value': u'1433531344607', u'MyQDeviceTypeAttributeId': 15, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 601, u'IsTimeSeries': False, u'AttributeDisplayName': u'addedtime', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'name', u'IsGlobal': False, u'Value': u'CG067080870D', u'MyQDeviceTypeAttributeId': 98, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'name', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'customerName', u'IsGlobal': False, u'Value': u'CG067080870D', u'MyQDeviceTypeAttributeId': 13, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'customerName', u'IsDeviceProperty': False}], u'DeviceName': u'CG067080870D', u'UserConnectServerId': 1, u'SerialNumber': u'CG067080870D', u'MyQDeviceId': 1550600, u'RegistrationDateTime': u'2015-06-05T14:09:04.607', u'TypeName': u'Light', u'UpdatedDate': u'2015-06-05T14:09:04.607', u'UpdatedBy': u'System', u'ChildrenMyQDeviceIds': u'', u'DeviceId': u'1700000431', u'ParentMyQDeviceId': 1550598, u'TypeId': 48, u'MyQDeviceTypeName': u'LampModule', u'UserCountryId': 0}
MyQ Debug getDevices: MyQDeviceTypeId = 3, DeviceId = 1700000432
MyQ Debug getDevices: Switch = Single Bay Light (1700000432), data = {u'UserName': u'my@email.com', u'MyQDeviceTypeId': 3, u'Attributes': [{u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'online', u'IsGlobal': False, u'Value': u'True', u'MyQDeviceTypeAttributeId': 135, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 4614, u'IsTimeSeries': False, u'AttributeDisplayName': u'online', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'gatewayID', u'IsGlobal': False, u'Value': u'1700000428', u'MyQDeviceTypeAttributeId': 14, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 574, u'IsTimeSeries': False, u'AttributeDisplayName': u'gatewayID', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'desc', u'IsGlobal': False, u'Value': u'Single Bay Light', u'MyQDeviceTypeAttributeId': 21, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 528, u'IsTimeSeries': False, u'AttributeDisplayName': u'desc', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1466293924998', u'IsPersistent': False, u'Name': u'lightstate', u'IsGlobal': False, u'Value': u'1', u'MyQDeviceTypeAttributeId': 8, u'UpdatedDate': u'2016-06-18T23:52:04.9978258Z', u'AttributeId': 552, u'IsTimeSeries': False, u'AttributeDisplayName': u'lightstate', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'addedtime', u'IsGlobal': False, u'Value': u'1433531344607', u'MyQDeviceTypeAttributeId': 15, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': 601, u'IsTimeSeries': False, u'AttributeDisplayName': u'addedtime', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'name', u'IsGlobal': False, u'Value': u'CG067080895D', u'MyQDeviceTypeAttributeId': 98, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'name', u'IsDeviceProperty': False}, {u'UpdatedTime': u'1433531344607', u'IsPersistent': False, u'Name': u'customerName', u'IsGlobal': False, u'Value': u'CG067080895D', u'MyQDeviceTypeAttributeId': 13, u'UpdatedDate': u'2015-06-05T14:09:04.607', u'AttributeId': -1, u'IsTimeSeries': False, u'AttributeDisplayName': u'customerName', u'IsDeviceProperty': False}], u'DeviceName': u'CG067080895D', u'UserConnectServerId': 1, u'SerialNumber': u'CG067080895D', u'MyQDeviceId': 1550601, u'RegistrationDateTime': u'2015-06-05T14:09:04.607', u'TypeName': u'Light', u'UpdatedDate': u'2015-06-05T14:09:04.607', u'UpdatedBy': u'System', u'ChildrenMyQDeviceIds': u'', u'DeviceId': u'1700000432', u'ParentMyQDeviceId': 1550598, u'TypeId': 48, u'MyQDeviceTypeName': u'LampModule', u'UserCountryId': 0}
MyQ Debug getDevices: MyQDeviceTypeId = 2, DeviceId = 1700000430
MyQ Debug getDevices: Opener = Single Garage Door Opener (1700000430), state = 7
MyQ Error Error in plugin execution runConcurrentThread:
Traceback (most recent call last):
File "plugin.py", line 107, in runConcurrentThread
File "plugin.py", line 320, in getDevices
IndexError: list index out of range
gskarp wrote:BTW, this is working great for me. Thanks!
Users browsing this forum: No registered users and 3 guests