-
Notifications
You must be signed in to change notification settings - Fork 27
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
Removing accessories/options #14
Comments
@kevingelion currently, removing Device removal is persisted through reboot, but I haven't implemented a bulb ignore list, so if the bulb is still on the network, it will be re-added after the reboot. |
@devbobo gotcha, thanks! i implemented an array of serial numbers and it will ignore bulbs that arent in that list because i have some friends that have bulbs omn our network that i dont want to have access to. any suggestions around this or is this the best i can do? |
@kevingelion Any chance you might be willing to share your version with the ignore list? Now that LIFX has implemented HomeKit in their newer bulbs, I’d find it super useful since I’ve got a mix of old and new. |
@cakefornoreason the current version supports an ignoreList You can add to the config file like this...
|
alternatively, if you use the Herperus app, there is a |
@devbobo Thanks for this info! I didn’t realize you could modify the config file that way, but I’ve tried it and it works perfectly for what I need. That said, I’ve used Hesperus before, and actually tried using the Ignore function there, but can’t seem to get it to work. Tapping “Add accessory” in the ignore flow just looped back on itself without actually displaying a list, and after I modified the config file with the ignore list, using the “Remove accessory” option in Hesperus looped the same way. Knowing about the ignore list solves my problem, but I figured that odd behavior might be worth mentioning. Thanks for the info and your work on this project! |
I'm chiming in a bit late to this conversation, but seems relevant. I am using the advice in this thread to ignore 4 of my LIFX devices from this project's wonderful plugin. I added the following lines to my config.json file:
Doing this ignores the first device, ending in "ed4", but the remaining devices listed above are not ignored. Am I doing something wrong? Has anyone been able to ignore more than a single LIFX device? |
Figured it out! The "Remove" action is indeed activating on my Homebridge and it reports each activation to my Homebridge log when the "ignoredDevice" is turned on by other means, as seen in the log, below. Note, 2dc (north bulb) and 8d1 (south bulb) are LIFX BR30 bulbs that are usually off at the wall switch and only resume reporting to the Homebridge after they are turned on by the wall switch, which happened at 9:40am: [7/14/2019, 12:25:07 AM] Homebridge is running on port 51826. Also, 754 (a LIFX Z strip, first gen) was unplugged, when it was powered up at 10:56am, it was successfully removed. |
Thanks for all of your work!
I see in the code the ability to delete accessories is supported but how does one actually do that? Does the deletion persist through reboots of Homebridge?
Also, is it possible to delete certain things like Ambient Light values and things? Occasionally, when asking Siri to change the color of the bulb, these options seem to confuse her.
The text was updated successfully, but these errors were encountered: