iRayanKhan / homebridge-chamberlain

A Homebridge plugin for Chamberlain garage door openers with MyQ.
75 stars 36 forks source link

Additional Door states #96

Closed TheEngineerGuy closed 4 years ago

TheEngineerGuy commented 4 years ago

Hi guys, Currently this plugin only seems to provide Open, closed, opening and closing states. However, I saw an instance today where garage door got stuck after opening about 90%, so MyQ app showed door as stuck open, but our plugin still deemed it as closed to the homekit.

So, could we look at adding some more door states to our plugin?

iRayanKhan commented 4 years ago

Currently there is an obstruction detection branch, it’s not fully implemented yet, but is being worked on.

TheEngineerGuy commented 4 years ago

Got it. In the mean time, if the door is partially open can we just mark it as open?

iRayanKhan commented 4 years ago

Hi there, Do you mind trying the newStates branch? Not sure if I integrated the states in properly, but worth a shot.

TheEngineerGuy commented 4 years ago

How do I target installation of new states branch? Is it under Beta?

iRayanKhan commented 4 years ago

Look into git clone, after swapping the files, go into the new homebridge-chamberlain folder and run (sudo) npm install.

I can't publish these to NPM currently as I'm not home and don't have node in this environment.

TheEngineerGuy commented 4 years ago

All good @iRayanKhan We can wait a bit.

iRayanKhan commented 4 years ago

So PR #100 tested new states, and it didn't work. It may be changes with the new api V5 or 5.1, but I gotta do more digging.

iRayanKhan commented 4 years ago

Hey @TheEngineerGuy,

Open, Closed, Opening, Closing work on my end. The "Obstruction Detected" is something I am trying to get done. Can you confirm that the 4 states work for you?

TheEngineerGuy commented 4 years ago

4 states are working now. Thanks for implementing!

iRayanKhan commented 4 years ago

Closing: This plugin is now being deprecated. Please use this plugin.