KraigM / homebridge-gpio-garagedoor

RPi GPIO based Garage Door plugin for Homebridge
22 stars 11 forks source link

What's the secret? #15

Open jdtsmith opened 6 years ago

jdtsmith commented 6 years ago

This is a very responsive plugin! A familiar homebridge issue occurs when you operate the device outside of homebridge, in this case that means using the wall button or garage remote. I was anticipating the usual out-of-sync issues, in which HomeKit is confused about the door state, but was pleasantly surprised that the plugin tracks and updates the state of the garage door almost instantly, even when no Home software is open (I get notifications). This behavior would be very useful for other plugins that monitor GPIO state. Many resort to polling with many second delays. Is there a secret to the responsiveness of state (on a RPi Zero, no less)?

Thanks for your work.