nfarina / homebridge-liftmaster

LiftMaster support for Homebridge: https://github.com/nfarina/homebridge
23 stars 8 forks source link

iOS 10 Home App stuck on 'Closing...' Status #18

Open u2jrmw opened 7 years ago

u2jrmw commented 7 years ago

Status of my door gets stuck on Closing... even though other apps and Siri correctly report that status. Killing app doesn't help. Only way to rectify is to kill Homebridge and restart it. Any ideas?

ktgeek commented 7 years ago

I've noticed this issue happens when attempting to open the garage door and it never opens. For me it seems to always fail when invoking opening the garage door via siri on my apple watch, but that may just be coincidence.

In each case, I get a note that the state was successfully sent and the raw response sent to logging gives a ReturnCode of 0 and no error message. (Although, the raw response that is always printed looks like a lack of curly braces around the else condition at line 229, which looks like it should be there based on the indentation.)

My only speculation could be that the call to login and the call to set state is happening too quickly and the later is being dropped. I do see from the logs that a login occurs right before state is set.

I haven't read up on the liftmaster API yet, but I'd be glad to do anything I can to help debug it.

dsully commented 7 years ago

I've seen this issue as well, iOS 10.

gustafnilklint commented 7 years ago

I'm also having issues with getting status from the Home-App in iOS10. It is working flawless from Siri or other HomeKit apps. I only get loading and then "no response" Is the home-app expecting a different kind of response when it's refreshing status? In the log I see the same output wether I ask Siri about the garage door or if I start the home app.

jsg4 commented 7 years ago

Seeing the same thing.

solomonj1963 commented 7 years ago

I was also seeing status issues that resulted in the garage door not closing in the iOS 10 Home app when activating my "Leave Home" scene. Latest update on homebridge-liftmaster did not resolve it. I hope this isn't inappropriate or disrespectful to nfarina, I truly appreciate the wonderful work you've done! But I still wanted to share that switching to homebridge-liftmaster2 by luisiam resolved the issue. The readme file says it uses the newer 2.0 API. Note that it goes in the config.json as a platform, not an accessory.

Nfarina, if you feel this should not be posted here, please notify me and I'd be happy to remove it. Thank you!

nfarina commented 7 years ago

Thanks for the consideration but I have no qualms about recommending a different library! I just haven't had the time to really work on this one. If everyone is having a much better experience with homebridge-liftmaster2 then I'm happy to turn this repo into a README saying "go check out this other better library."

nfarina commented 7 years ago

I added a notice to the README about the newer plugin.