DouweM / homebridge-unifi-occupancy

Homebridge plugin that adds HomeKit occupancy sensors for selected devices (and people) on your UniFi network to the iOS Home app: quickly see who's where and automate accordingly.
Apache License 2.0
41 stars 1 forks source link

Devices sometimes disconnect and reconnect (during the night), causing automation to trigger unexpectedly #18

Open DouweM opened 1 year ago

DouweM commented 1 year ago

When a client disconnects, I can add some logic to ignore the event if the client reconnects within X seconds. This would make the plugin realize that someone has left the house more slowly, but should not affect changing rooms (roaming).