Closed nsayer closed 6 months ago
I've opened a PR with a patch for this.
Sorry, for the delay, I will get this resolved this week. I took a peek at the PR and ideally we could ignore the doors by id in the event that doors have the same name, alternatively, the include/exclude is by site name (assuming thats in the data retuned) as those are unlikely to be duplicate.
Does Aladdin Connect have the notion of “sites”? I don’t see anything like that in the app, but if it is a thing then yeah.
What I have been doing is uniquely naming the doors in AC and then renaming them to just “Garage Door” in HomeKit after excluding the ones that are in the “wrong” house.
v4.1.0 has a ignoreDevices
fields where you can ignore by id.
Excellent! How does one get the ID for a particular door?
Is it, perchance, the "serial number" reported in HK?
It is, but instead of <mac>:index
it is <mac>_<index>
. However, the id is printed in the logs during startup as explained by the property description in the config UI. In my next update I will change the serial number property to be the actual id used by this ignore list.
Great! I can confirm it works!
Is your feature request related to a problem? Please describe: Aladdin Connect doesn't have any equivalent to HomeKit's multiple home feature. If you have multiple openers in different places, and therefore have multiple HomeBridge instances, then it would be good to be able to have this plug-in ignore the doors that are in a different place.
Describe the solution you'd like: I'd like to have a configuration dictionary entry called "ignore" that maps to a list of door names that this plugin instance will, well, ignore.
Describe alternatives you've considered: The only alternative to this is setting up multiple Aladdin Connect accounts, but then you'd need to sign in and out of them in the actual Aladdin Connect app, which would be tremendously annoying.