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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

DouweM opened this issue · comments

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).