Einstein42 / myq-garage

Python Chamberlain Garage Door interface
MIT License
36 stars 16 forks source link

Support for Multiple Openers #17

Open ccurzio opened 7 years ago

ccurzio commented 7 years ago

This script doesn't seem to support multiple garage door openers. I have two on my MyQ account (both in the same house), and "status" only pulls for one of them.

# /tmp/myq-garage/myq-garage.py status North Garage Door is Closed. Last changed at Thu 04 May 2017 14:40:45

screen shot 2017-05-04 at 2 51 28 pm
ccurzio commented 7 years ago

I've done a little bit of research on this and I've found that both garage doors do actually appear in res["Devices"] but for some reason, the for loop is not iterating past the first instance.

tonypnode commented 7 years ago

can you manually set the door state to the other door?

ccurzio commented 7 years ago

Yes. Both doors can be successfully controlled using open "North Garage Door" and open "South Garage Door". It seems just the "status" command doesn't support multiple doors.