-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Include/Exclude specific lights #170
Comments
That's a difficult one, see #7. I'm worried that this would lead to a very complicated config.json that only a few people would appreciate. I really want to simplify config.json (ideally to a level where you only have to specify I think the only way to provide this fine-grained configuration is for homebridge-hue to show a list of discovered (potential) services and allow the user to check the services they want exposed. For this, some plugins would provide their own web-based configuration user interface, which I really don't like. I have some ideas how to provide this functionality through HomeKit, but it will require the use of a HomeKit app (like Eve), that supports custom characteristics. The homebridge-huejay implementation is somewhat misleading - they don't ignore accessories (devices), they ignore Hue bridge resources. In their case it's the same effect, as they don't combine multiple resources for the same device (e.g. for the Hue motion sensor) into a single HomeKit accessory. |
What about white list for light in this case? Just put lights id that you needed to control via hue platform. |
Any resource link named `homebridge-hue` is treated as a blacklist for resources. Resources in these resource links are not exposed to HomeKit, regardless of the config.json settings.
In v0.5.40 you can use a resourcelink resource on the Hue bridge and/or deCONZ gateway to blacklist sensor, light, group, schedule, and rule resources. The resourcelink needs to have a I'm not sure how many links can be specified per resourcelink, but homebridge-hue should accept multiple resourcelinks, as long as they are named To create a resourcelink resource, use the Hue API. If you use ph_post /resourcelinks '{
"name": "homebridge-hue",
"classid": 1,
"description":"Blacklist for homebridge-hue",
"links": [
"/lights/1",
"/groups/1",
"/sensors/1",
"/schedules/1
]
}' Run |
Workaround: Just create zones (=groups) within the hue app also for single lights and expose only groups from Homebridge-hue. |
Hello! I guess it will be a good addition (same as
excludeSensorTypes
) to haveexcludeLights
or/andIncludeLights
. For example I have light groups and I want to use single light from this group only or I have 20 Hue bulbs here and I want to use only 1 or two with homebridge-hue plugin. inhomebridge-huejay
you can findignoreAccessories
https://www.npmjs.com/package/homebridge-huejay.The text was updated successfully, but these errors were encountered: