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

Optionally create sensor for whether a device is connected at all #10

Closed DouweM closed 1 year ago

DouweM commented 1 year ago

This helps build automations like in https://github.com/DouweM/homebridge-unifi-occupancy/issues/9#issuecomment-1415863290:

I could also include guest sensors if I want (example): When me and my wife (both) leave the house, the house turns off (lights, heating, etc.) But sometimes we have a babysitter that stays in the house and we want everything to remain on. I now have to disable the "leave" automation, but I could add an extra step to check if the babysitter ('s device) is connected.

It should be configurable per device type if it creates AP/room sensors, a home sensor, or both.

DouweM commented 1 year ago

Done in v1.2.0!