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

Optionally create sensor for whether a device is connected at all

DouweM opened this issue · comments

This helps build automations like in #9 (comment):

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.

Done in v1.2.0!