MYQ not working again

Look at your MyQ app on your phone, it will give you a list such as Alexa, Google Assistant, IFFT…etc

1 Like

Are you using a Docker container? If you are, you need to get into the Docker container’s shell and find that file.

From https://stackoverflow.com/questions/30172605/how-do-i-get-into-a-docker-containers-shell

docker exec -it <mycontainer> bash

So I would need to set up IFTTT? So garage door opens, MyQ notifies IFTTT, then IFTTT notifies HA?

I would prefer a hardware approach the hooks directly into the garage door if possible.

MyQ are such pains in the butt, the official integrations will only allow you to check status, or close, but not open the door

I’m glad they don’t allow she who should not be named to open the door. It’s the same reason Apple requires you to unlock your device before Siri will open a garage door or unlock a lock. It’s a security issue. If anyone can stand outside a home with a megaphone or just yell through an open window and open the garage door… not very secure in my mind.

Well, your hardware option is not cheap. If you look at the list you have the option of Tesla interface.

I do have mine setup to open when a certain phrase is uttered in its presence. It only works with my voice match through google though, if my wife says the phrase it will not work. It also requires me to unlock my phone before it sends the web hook through ifttt to home assistant.

I’m referring to hardware as a z wave opener like Go Control or some other device. Not a Tesla Model X. :slight_smile:

Confirm that changing the agent worked for me as well.

sub’d… had this issue hit me in the middle of a snow storm. couldn’t figure out WTF why the garage wouldn’t open.

dont forget to restart HA service after the change.

BTW: Anyone been successful in getting battery stats on the door sensor? I know that communicates directly to the hub, just didn’t know if the API support a hub - battery level?

Since I am not handy with the code, as you guys are, I just have to wait for the HA integration to be updated.

MyQ are such a pain. My old house, I connected a simple shelly device to the opener along with a reed switch and I got all the functionaly I needed. New house had MyQ but just wanted to go the Shelly route, and I CANT! when trying to mimic a press of the wall mounted garage opener, apparently the opener sends a unique code to the motor everytime, so its not just as simple as shorting two wires.

Any ETA on when the fix will be rolled out for us plebs running HASS.IO?

1 Like

Thank you! This worked for me.

Not working for me… but I’m probably doing something wrong.

I open the Terminal window and paste the following:

docker exec -it homeassistant sed -i ‘s/okhttp/3.10.0/pymyq/g’ /usr/local/lib/python3.8/site-packages/pymyq/api.py

and it returns the following error:

sed: bad option in substitution expression

For reference, I’m running hassos 5.8 on a Pi 3B

There was an error when that command was first posted, the forward slash in the string okhttp/3.10.0 Needs to be escaped.

Edit: found the correct command in the GitHub pull request discussion:


docker exec -it homeassistant sed -i 's/okhttp\/3.10.0/pymyq/g' /usr/local/lib/python3.8/site-packages/pymyq/api.py

1 Like

Is this going to be patched in the next HASS patch, or will everyone need to manually run that command?

Check GitHub for the merge status of the pull request.

Off topic but for those asking about 3rd party hardware options or running into the button sending unique codes, there are options. Never found MyQ reliable so I went with a GoControl and ran into the Security+ code issue. To get around this you can pop open the wall button and solder your relay directly to the button contacts (mine had 4 so i just used a wire to short out and identify which two resulted in close\open). The post I used from another forum appears to no longer be available but it was fairly simple to accomplish. I do remember others talking about buying a spare wall button and doing similar so they didnt risk damaging their primary wall button (I just went for it).

@bs87 like this??? http://blog.smarterhome.club/2020/04/05/shelly-1-garage-door-opener-the-easy-way-or-the-fun-way/

Yep, that isn’t the guide I used and the button is different (I don’t have an LCD) but that’s exactly the same premise. Since my installer used ethernet cable I had 2 extra strands I was able to use to get from the opener to the button and mount the GoControl at the opener. Looks like that guide went with a button up by the opener which would work just fine. You could also mount the relay down at your button if you had power and were just using your original button.