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

Unifi Switches, UDM, etc. showing up as Occupancy Sensors #21

Closed mbhforum closed 1 year ago

mbhforum commented 1 year ago

Describe The Bug:

I have 3 types of Unifi devices showing up as Occupancy Sensors, even though I have tried using Host Name Exclusions. Devices are:

UDM-Pro LTE Professional POE Switches

To Reproduce:

As an example, Add /DM/ to Host Name exclusions and restart Homebridge. Despite this, DM-Pro Marc will show up as an occupancy sensor in my Default Room in Homekit.

Expected behavior:

I expect my firewall, switched and U-LTE-Pro to not show up as occupancy sensors.

Logs:

[4/13/2023, 3:38:27 PM] [UnifiOccupancy] Accessory status unchanged: "DM-Pro Marc" inactive

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.
            {
                "label": "DM Pro",
                "namePatterns": [
                    "/DM/"
                ],
                "roomAccessory": false,
                "homeAccessory": false,
                "roomCatchallAccessory": false,
                "homeCatchallAccessory": false,
                "lazy": false
            }

Screenshots:

Environment:

bc2297 commented 1 year ago

I previously brought this up and was given this advice https://github.com/DouweM/homebridge-unifi-occupancy/issues/19#issuecomment-1484147623