brbeaird / SmartThings_MyQ

Integrate SmartThings with MyQ (Obsolete)
https://github.com/brbeaird/SmartThings-MyQ-Edge
Apache License 2.0
410 stars 896 forks source link

Garage door does not show up in the app #44

Closed Zhourj closed 6 years ago

Zhourj commented 6 years ago

I just went through the setup process with no issues (except for the complains about app version 2.05 not 2.06). However, I cannot find the garage door anywhere in the app after setup. Did I miss anything?

brbeaird commented 6 years ago

What did the very last page in the setup say? It should tell you which things were created. Did you refresh the "things" page after install?

Zhourj commented 6 years ago

Thanks for the prompt reply. At the very last page, the summary says Your SmartApp version (2.0.5) is not the latest version (2.0.6). When i changed the version number in the smartapp to 2.0.6 in the code, the installation details will be blank.

Zhourj commented 6 years ago

I just fixed it by changing line 365 to if (doors instanceof List). For some reason, the doors variable in my case is a list not a string.. Now, i can add the garage door. However, it errored out when creating the push button. Will check what happened

Zhourj commented 6 years ago

Never mind. The push button actually worked. Thanks man, this is an awesome tool.

brbeaird commented 6 years ago

Yep, I missed that part. SmartThings just leaves single selections as strings. Thanks! I think the latest fix takes care of it (or at least it does in my testing)