Just until recently, the MyQ garage opener integration was working flawlessly. I have updated HA to the latest official release just few days ago so this might be the reason. I have tried integration via yaml as well as via integration. I am getting “unexpected error”.
Log Viewer is showing the following:
File "/usr/local/lib/python3.8/site-packages/pymyq/api.py", line 151, in request
return await self._send_request(
File "/usr/local/lib/python3.8/site-packages/pymyq/api.py", line 114, in _send_request
message = f"Error requesting data from {url}: {data.get('description', str(err))}"
UnboundLocalError: local variable 'err' referenced before assignment
OK, while we wait (and thanks to those who are working on it) - is there a better “packaged” alternative to myQ? By packaged i mean something i can buy and install (not build).
This cycle of works-breaks-works is not great. thx.
Personally, I only use the myq integration for door status, not control, so I’ve switched to using IFTTT to turn an input boolean on and off to relay door status. I’ve found it to be faster and much less prone to these breakdowns.
It appears that the MyQ integration has stopped working. I cannot troubleshoot enough to determine if this is the integration or the API with MyQ. Based on prior posts, it seems to be an API change that is causing the issue.
Can someone point me to where I need to file a bug report?
FYI: If you are impatient for a new homeassistant build, once the pymyq fix is posted, you can update your home assistant yourself. I use docker supervised, but I am sure it is similar for other installations.
ssh in developer mode or the host system and find your docker instance with “docker ps” (for me I am looking for container homeassistant/qemux86-64-homeassistant:2020.12.1)
docker exec -it container# /bin/bash (where container# is the id of the homeassistant container)
vi /usr/src/homeassistant/homeassistant/components/myq/manifest.json
Google how to use vi, because I always forget
Change requirements of pymyq to the latest version. Can be found at pymyq · PyPI