@a2thejay23@chevyman142000 Yes, type 49 is the gateway. The gateway is what the MyQ app calls a “Place”. I don’t have any experience with the MyQ model you have, but my guess is it’s the device that goes on the ceiling. It looks like if you haven’t given it a name it will default to Home, and not pass anything via the API. Mine has a custom name (House) and I see that come through the API as the gateway device name.
The Type 259 device is definitely different. My openers have MyQ integrated and are type 47. I will add Type 259 to the app as a valid garage device type.
now the question is how to get ST to identify it properly as Garage door sensor. So for example if I add it to as a door in the Dashboard and specify its a garage door, it won’t let me choose it as a sensor to know if its open or closed, even though this device reports on its own if it’s open or closed without the need for an additional contact sensor…is there just a capability or line of code that needs to be added to the device type to make it show up this way?
I’ve updated my MyQ device type with your updated code and my stairwell lights turn on when my garage door is opened using smartthings.app This is great. Now if only smartthings dashboard identified the MyQ device type as a door as well as a device.
That is some weirdness that started occurring intermittently with the updated version of the SmartThings app. That never occurred with the old app. I experience the same thing sometimes, but not every time. It is a display issue with the interface; the MyQ device correctly knows the door is open and not in an unknown state. If you refresh the interface by pulling down the screen (not by tapping the ‘refresh’ button) it should fix it and show the correct state. I’ve tried a lot of things to work around it but nothing worked.
Hmm Weird is right… Mine stays stuck at unknown and won’t let me close the door. Pulling down doesn’t change anything… Still pretty neat that its working pretty good
It seems to behave better from the detail screen of the door (tapping the gear). The main “Things” screen on my device (iPhone 5) has some bad performance issues.
You can view the true state of the door by logging into the IDE, opening your door device in My Devices, and looking at the “Current States” section. It will show the current values of the door and contact switch attributes.
Do you mean having a MyQ Door open/close when a presence sensor comes or goes? This is possible right now - the MyQ Door can be operated like a regular switch (On = open, Off = close) so any Smart App that controls a switch can be used with the MyQ Door.
It also works as a Contact Sensor, so any Smart App that is triggered via a contact sensor opening or closing can also be used with the MyQ Door.
Are you having issues getting it to work using the door name? The Device ID Override setting is an optional method of providing the ID; the preferred method is using the Door Name.
However, if you are having issues, you can get a list of the Device IDs on your MyQ account by logging into the IDE and going to the “Logs” tab. While the logs are open, in the SmartThings App, go into the detail screen of your garage door, press “Preferences” and then just press Done. That will trigger the app to re-discover all devices and output the information to the log window.
Make sure you have nothing in the Device ID Override setting before doing the above, otherwise the app will just use that value and not do any discovery.
I do have a question. When I edit preferences I only have 2 fields. Label and completedSetup! Have can I add a field to input my user ID, password and device name??
Update… I figured it out. I get a dark grey circle on the dashboard with a ? in the middle. Any ideas??
Username - correctly done
Password - correctly done
Door Name - correctly done
Door ID - is this the same as the door name?? If not what should I put here?
Also do I need to be on the same network in order for this to work?? I’m at work trying to set this up, maybe that’s the issue??
Oh Thank You a million times for working on this. I have been wanting this since day 1!! I even made the mistake of buying a relay thinking I could control it like a typical garage door opener.
My opener status is Door not found. I have enter my user name and password correctly. I logged onto the MyQ webpage and the app to verify my password was correct. Also I have forced closed the app and renamed the door to something simple as Garage no luck. BUT what I think my problem may be is that I have 2 garage openers under my account (they are in the same location). Do you think that is my issue?
UPDATE: I was able to get both to work!! For some reason it would not work until I created a device in my dashboard to go allow with my device in “Things”. THANKS AGAIN!!!
@ppochap hey are you doing this from your house?? I’m not on my network and I think this the reason for the question mark and the UNKNOWN status. All my info is correct and it’s still not connecting.
I am also away from my home network and I’m using my work computer. My issue of device not found was fixed once I created a garage door under the doors and locks section in my dashboard. antman 2 did you try force closing the ST app?
The IDE Logs will help you see what is going on better. The first thing to check is you’re username and password are working correctly. Press the “Refresh” button and in the logs you should see a line that looks like:
This means your username and password are being submitted properly. If you don’t see this and see an error regarding your username/password, they are not correct. The next step would be to trigger a full discovery of devices from the SmartThings App by pressing the “Preferences” button in the door detail screen, and then tapping “Done”. The logs will display a line for each device in finds that look like:
Type 47 and 259 are garage doors. If you find the name of your door in that list, you can copy and paste it into the Door Name setting for the door. If that still doesn’t work, you can copy and paste the Device ID for your door directly into the “Device ID Override” setting. That setting forces the app to use a specific ID instead of searching for it with the name.
After that you should have a working door. If not, paste the log messages you see in the thread here and we can see what might be going on.