I have a chamberlain MyQ garage door opener. It uses a proprietary system for remote access. Cant use a relay to trip the door, since it uses serial communications from the button to the door.
So, for now I have been using its app. But i would much rather it be integrated into Smart Things.
With some research, I have found some info on its unpublished API.
To use the API, I need to make a GET request via HTTPS to a cloud based server. It returns a JSON response that includes a security token. Then using the security token, you can make another HTTPS GET request and get the door state. Finally, you make an HTTPS POST to the server and can change the door state (open or close the door)
I have been able to make the GET API calls using a webbrowser with no problem and can see check the door state. So I know the API is working. Not sure how to test the POST in a browser to open and close the door.
I have a little knowledge of device files and smart apps. Mostly from making minor changes to exisiting ones to customize them, however I do not know what to do to start from scratch and create the device.
Jeff
That was where I started. It has the API calls for checking status. I found more about the API in the Mi Casa Verde forums where they created a plugin to open and close the door.
I have the API calls for status working in a browser and in Postman. Still trying to get the call right to open the doors.
However, I do not know where to go from there for creating the device type
yes, there was a post last week, before the migration that someone had finished designing a device for MyQ and was going to finish testing it and post it later that day. The forum migrated soon after that and all was gone. I hope that whoever had a device handler will post again!
Nice find! Hopefully he comes back to the forums and posts his code up. I think there are quite a few people that would like to see and get this working!
I picked up a MyQ Internet Gateway and Ecolink Tilt Sensor and have been playing around with the unofficial API. Iām ready to start coding, but donāt want to duplicate any effort that Adam put forth. Does anyone know how to get ahold of him?
Yes, in fact itās done. I should be able to post it tonight. The new overhaul of the iOS mobile app was released as I was finishing, and I had to find a few workarounds to make it behave better with the new sluggish/buggy UI. There is still an issue or two (specifically with the main āThingsā display randomly showing the wrong door state) but Iām not sure I can do anything about them.
here is a link to the post (click on the blue link that says āno messageā below):
Edit: It is working and works great! Make sure you put the correct garage door name in the preferences. I put mine it wrong the first time and the app got upset. Had to edit in the IDE, but not it works. Also, my openers name happened to be āGarage Door Openerā.
I should notate that on GitHub as well; since their app update I had issues using the iPhone app to change the preferences as well. Mine was an issue with the password.
no matter what i do it always says door not found and im positive i got the login info correct and door name correct as well. i made sure all the info in the preferences were correct in the IDE as well and tried deleting the device and recreating a few timesā¦no luck
Also, Iām wondering if there is another or different capability we could add so that we could add this to the door dashboard? I would like to get alerts or be able to set auto open/close stuff with it, but it doesnāt seem like I can do that currently.