PHP scripts to control basic open/close functions for a MyQ garage door.
After cloning the repo, copy the sample.config.ini
to config.ini
, and edit the new file to add your username/email and password that you would use to connect to MyQ. Then run the included door.php
script to verify connectivity (NOTE: this will actually open/close your door). From there, feel free to use the MyQ.php
class file in whatever project you'd like.
Finally coming back to this after a long hiatus since my other solution (a Wink hub) stopped working suddenly. I've finish the code to allow the door to be controlled via the class, and added some basic status reporting functionality. Next on the list will be:
- Listing door devices
- Allowing door selection via name or device ID
- Allowing additional door selection via location name (if you have doors with identical names at two or more locations)