benzman81 / homebridge-nukiio

Nuki.io support for Homebridge: https://github.com/nfarina/homebridge
GNU General Public License v3.0
42 stars 6 forks source link

Handle different Nuki states #13

Open TeresaRoberts opened 7 years ago

TeresaRoberts commented 7 years ago

If the bridge is unreachable, return the Nuki state undefined, rather than the cached value. If the Nuki state is undefined or uncalibrated, return homekit state of unknown. If the Nuki state is motor blocked, return homekit state of jammed. If the Nuki state is locked, return homekit state of secured. Otherwise return homekit state of unsecured.

TeresaRoberts commented 7 years ago

This deals with issue 8.