homebridge-knx icon indicating copy to clipboard operation
homebridge-knx copied to clipboard

How to configure devices for specific rooms

Open migabc opened this issue 2 years ago • 4 comments

When I need to reset my devices I delete them from the cache and then restart homebridge But after that all my devices devices appears in the Default room :-(

Is there an option in the configuration file to allow us to specify in which room a specific the device should appear in?

Also when re-registering this plugin all my devices appear grouped in a common tile. How can I get then to appear as each separate Title?

Thanks.

migabc avatar Dec 03 '22 16:12 migabc

That's also a bit unclear to me but as far as I remember associating a device with a room is part of the device setup in home bridge. With the bridge things are a bit special. It mostly works for me if I prefix the device name with the room in my knx-config.json. So if you have a bathroom light I name it Bathroom light and it automatically appears in the bathroom. Also the Bathroom prefix is not displayed anymore.

marco-hoyer avatar Dec 11 '22 12:12 marco-hoyer

Not sure if there's a more explicit option to configure that. Would be nice though.

marco-hoyer avatar Dec 11 '22 12:12 marco-hoyer

That's also a bit unclear to me but as far as I remember associating a device with a room is part of the device setup in home bridge. With the bridge things are a bit special. It mostly works for me if I prefix the device name with the room in my knx-config.json. So if you have a bathroom light I name it Bathroom light and it automatically appears in the bathroom. Also the Bathroom prefix is not displayed anymore.

In that case that device "Bathroom ligh" will show up in the Default room (not Bathroom)

migabc avatar Dec 11 '22 17:12 migabc

Sorry for the late response. Room allocation is done in Home app (or another homekit app) on the iOS device, not in the homebridge or homebridge plug-ins. If Home has become a little smarter and now proposes better room allocations it is nice.

I saw that name prefixes that are identical to the room name you place a device in are not shown any more. But there is no binding way to force Home to allocate a new device to a given room, AFAIK.

snowdd1 avatar Apr 07 '23 11:04 snowdd1