-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
adding support for whitelisting homes #84
Conversation
Hi @JulianLepinski thanks for the PR! I was planing to do this feature in 1.7.0. |
Hey @0x5e — yeah, I had the same thought. I'd considered allowing the whitelist to be an array, but I'm not very familiar with the Let me take a look at how that could be implemented. |
Here's some documents about homebridge config schema, and online form validation playground, |
Okay, I believe I've converted this over now to use an array of whitelisted homes IDs instead of a single whitelisted ID. Let me know how it looks. |
It works on me, I've add the conditions when project type is 2. Thanks @JulianLepinski again! |
Awesome, happy to help! 🙂 |
how would I get the value of my home id? |
It can be found from the log. |
found it thanks! |
Hey @0x5e — I've just created a quick PR which adds support for whitelisting a single home based on the home's ID number. If the
options.homeWhitelist
key is unconfigured it includes all homes and devices as previously, but if configured it ignores all but the whitelisted home.I've also added it to the
config.schema.json
so it's configurable through the settings dialog inhomebridge-config-ui-x
. Hopefully this is useful to you! If there are any changes you'd like me to make, please let me know. 🙂