Closed nodecentral closed 1 year ago
Are you using Homebridge UI X to configure or just the JSON config? Either way, you currently have homeAccessory
enabled for phones and watches, but you want enabled
(the first checkbox in the UI) which is for the per-room accessories. With that change, you should start seeing accessories for each device on each AP.
If you want to map the AP names to HomeKit room names, you can do that in settings too. Are you saying you've tried that but they're not being retained? Does it work to add accessPointsAliases
directly to the JSON config (see example in README)?
Hi @DouweM , thanks for responding, just to check your first section, I had it set to anywhere, so I’ve changed it to the first one (see below)
Moving onto the second one, mapping my Unifi APs to Rooms - I struggled with this as it didn’t seem clear (to me) exactly what to do in the UI setting, so any help you can give would be great. I’m happy to work either via the UI or the JSON
Ultimately what I want to avoid is seeing all my Unifi infrastructure items, secure gateway, Switches and access points as devices - I only want to see specific people’s personal devices, and ideally which room they are in / connected to)
@nodecentral My Rooms config looks like this, with APs on the left and the rooms they map to on the right:
Does that help?
If you have multiple network devices in one room, some of which may never actually have clients connected to them (like a switch that only has other network devices attached), you can map them all to the same room, so you'll only see "[Room] [Client]" sensors for real rooms, instead of one for each AP/switch even ones that client would never connect to.
Thanks @DouweM , really appreciate the help..
I have the AP to Room mapping set up like you above, but all my sensors appears under the Default Room
?
For example I have a sensor device called Landing Joe
(based on the [Room] [Device] setting) but it’s not being placed in the Landing room within Home ? Shouldn’t the mapping do that automatically ?
Ah - no, unfortunately that can't be done by Homebridge. Per the readme:
Note that the accessories still need to be manually assigned to the corresponding room in the Home app, which will then automatically hide the room name prefix in the sensor name.
Describe Your Problem:
Hi, I have just installed Homebridge and this Unifi plugin, and have just selected smartphones and smart watches - as they are all i want to be able to see, and the room they are in (based on the Access Point they are connect to)
I’ve tried to create rooms, on both my iPhone and via Homebridge, but they are not retained and just vanish.
My expectation is that my Unifi Accesspoint can be associated withe Room, and then when a smartphone or smart watch are seen on the network, they are associated with the room, the access point their using is in ?
Any help you can give me in achieving this would be amazing..
Logs:
Plugin Config:
Screenshots:
Environment: