-
Notifications
You must be signed in to change notification settings - Fork 43
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
excludedDevices don't Work #182
Comments
rm -rf .homebridge/accessories/cachedAccessories, update to v2.1.27 & restart |
Did this, but now things get even more complex. [2/8/2020, 5:27:33 PM] Homebridge is running on port 51826. |
I deleted the input of the excluded devices in the config (so everything is included again) and stopped Homebridge, deleted the folder contents of accessories and persist, restarted Homebridge and now everything is there again. I will try if excluding a device will work, but first I have to re-pair Homebridge with Homekit again so adding and configuring all devices. |
As soon as I add an IDX to the excluded devices I need to restart Homebridge. |
Odd... not seeing that behaviour at all here. Also, no need to delete persist, just accessories/cachedAccessories file and restart.
Will investigate tomorrow. Are you using config-UI-x, or manually making changes in config.json?
|
Have just pushed 2.1.29 to npmjs. Remove cachedAccessories (usually |
Deleted the CachedAccessories (via Docker - File Station in Synology) The plugin worked and everything seems fine, all 18 devices are visible on my iPhone. Edit: and the IDX I excluded (34) is still in the Accessories and in Home-app on my iPhone |
You can’t dynamically update the excludedDevices array and restart. You need to remove cachedAccessories whenever you change the excludedDevices array, THEN restart. |
Just to make sure we are on the same page:
Is this correct? Or do I need to change this order? |
Bear with - am just pushing 2.1.31... (found a scope issue for a variable) |
Grab 2.1.31 n’ give it a try now. |
Seems to be working now, all devices (except the one I excluded) are visible. |
…Accessories after changing excludedDevices array. Just update the array and restart homebridge.
Have just pushed 2.1.32, which should fix purging cachedAccessories when excludedDevices is changed, so no need to remove cachedAccessories manually. Just update excludedDevices array via whichever method, then restart homebridge. |
Just tested this and it works great!! |
Correct - not doable.
Rooms etc are stored in iCloud via HomeKit. Neither Homebridge nor eDomoticz can access this, only a HomeKit client app.
|
Thanks again, also for the explanation about the rooms! |
This is my configuration.
"excludedDevices": ["1","2","4","5","6","7","8","9","27","85","116","119","120","122"]
And my screenshot. (I have deleted cachedAccessories before)
I think the problem is only for "Not Supported" device...
Thanks :)
The text was updated successfully, but these errors were encountered: