I think that got me part of the way there. the myq component is loading now, and it seems to be able to see the status. However, although HASS thinks it’s telling the door to open and close, it’s not actually doing that. I suspect that the user agent is maybe not being sent with the state change commands, but i’m not sure.
Would you be willing to put your whole myq.py file somewhere I could see it so I can diff it with mine and see what i’m missing?
Using your myq.py as well as the updated app ID that @carlostico posted, I still cannot get this component to work anymore. I’m not getting any errors in the log, but the component doesn’t appear in my states list.
Got it. I went with @lordsiris’s myq.py but had to change MyQDeviceTypeName back to “VGDO” and then hide a random second door that appeared, but did not function.
I’m trying to determine which users need to change their MyQDeviceTypeName to “VGDO” or are seeing random second doors. I have the retrofit kit and experienced both issues. I don’t think either issue is occurring for owners of garage doors that came with MyQ features standard.
FYI: I am using the retrofit kit (Liftmaster branded) with 2 garage doors and a). I did not need to change MyQDeviceTypeName to “VGDO” and b). I do not see a random second door…
Interesting. That’s two Chamberlain retrofits that both require VGDO.
I know this will never be an official component again because Chamberlain hates us, but it’s still an issue that we may need to code around in the future.
I have retrofit. I changed back to use VGDO and now cover.garage_opener does not work but cover.garage_opener_2 does. Still not sure why there are two in the first place.
The retrofit unit has the ability to control 2 doors. When you program it, there are 2 buttons that you can assign openers to. If you programmed your opener to button 2, then your HA cover would be garage_opener_2.
I didn’t realize there were 2 types of retrofits, I have a different one (Liftmaster 888LM) which may explain why I did not need to change MyQDeviceTypeName to “VGDO”…?
I was able to remove cover.garage_opener_2 with the following:
def get_garage_doors(self):
"""List only MyQ garage door devices."""
devices = self.get_devices()
garage_doors = []
for device in devices:
if device['MyQDeviceTypeName'] == 'VGDO':
for attribute in device['Attributes']:
if attribute['AttributeDisplayName'] == 'desc' and \
attribute['Value'] == 'Garage Door Opener':
garage_doors.append(device['DeviceId'])
The name of my garage door in mychamberlain.com is “Garage Door Opener”