vvpossible / homebridge_yeelight

Yeelight plugin for homebridge
303 stars 59 forks source link

Removing Yeelights w/ Native HomeKit Support #75

Open tarbychark opened 5 years ago

tarbychark commented 5 years ago

A lot of Yeelight bulbs have recently received firmware updates that bring native HomeKit support. Now that I’ve added them to Home natively, I was wondering if there was a way to prevent them from getting added a second time by this plug-in? I still need the plug-in for some older devices, but if there was an option to exclude certain devices, that would be pretty cool.

Thanks!

S474N commented 5 years ago

Or "blacklist" option with IP/MAC in config.json file.

okonet commented 4 years ago

Just don't add them to HomeKit?

S474N commented 4 years ago

Just don't add them to HomeKit?

And what, if you had it in HK?

okonet commented 4 years ago

Remove accessory?

tarbychark commented 4 years ago

No option to, bud.

Sent with GitHawk

okonet commented 4 years ago

Mine lights had "Remove accessory" in the HomeApp. How did you add them there? If you went through official home app they they should be removable.

S474N commented 4 years ago

Where? I can only remove "Bridge from Homekit" and this delete all accessories.

NexGen-3D-Printing commented 4 years ago

I just got some Homekit supported bulbs, had 2 older ones that I used with this plugin, they were a real pain, caused my Homekit to crash often, this is why I went with bulbs that have native support all my issues were a result of this plugin, so as soon as I setup the homekit bulbs, this plugin grabbed them, and added as well, now I cant remove them, they also would not function properly until I uninstalled the plugin, but now I still have these accessories in homebridge, 2 older bulbs and the 2 new ones.

I would love to remove any trace of the 4 non existent bulbs from homebridge, but nothing seems to work, I dont want to nuke my entire setup because of one plugin, there has to be a way to remove these old redundant accessories.

okonet commented 4 years ago

@Kung-Foo-Kamel I’d like to ask you either to edit your comment to not be insulting or delete it and never participate in any discussion here. Unwillingness to do so will result in a ban. Thank you!

NexGen-3D-Printing commented 4 years ago

@okonet whats insulting?

The word stupid? I apologise, just getting very frustrated with this one particular plugin.

NexGen-3D-Printing commented 4 years ago

Where? I can only remove "Bridge from Homekit" and this delete all accessories.

I had this issue, when you added the bulbs direct to Homekit, it will creat a new room for them, I think it was "Default Room" and the plugin will also create the bulbs somewhere else, because you are seeing the bulbs connected to Homebridge and cant remove them, you have actually selected the wrong ones, look further in Homekit and you will find the correct ones.

okonet commented 4 years ago

This isn’t implemented yet. Everyone here can fork the repo and create a PR for this. This project is an open source and was made in free time. Alternatively you could setup a bounty and make this a paid work. This would help find a developer to work on it I believe.

NexGen-3D-Printing commented 4 years ago

I managed to remove the entries, wasn't easy combing through 6k worth of characters in a ssh console, but I managed to do it.

Personally, I'm not sure if this plugin is worth developing as Xaiomi is moving everything to native Homekit now, even some of the older Yeelights are getting firmware updates, which in the scheme of things is fantastic.

Would be nice to see this plugin merged with some of the other Xaiomi plugins, and make just one thats worth putting in the effort for, as there is whole lot of Mijia products out there still.

I find now I have managed to remove all most everything from Homebridge with the exception of the Broadlink plugin, which is one of the most useful plugins for Homebridge, and I have donated to that guys work, as he has done an outstanding job, probably the other unsung hero is the guy that maintains Homebridge Config UI X.

There is a alot of other quality plugins too, but I'm finding more and more companies are jumping into Homekit, and eliminating the need for homebridge.

Unfortunately for me, every-time my Homebridge went down over the past few years, it was always related to this plugin, at one point, if I turned the bulbs of at the power point, this would cause a crash, then at another time, I had to leave them power off at the power point or it would cause a crash.

The only other plugin I used that was worse, was the Logitech harmony plugin, wow that was a homebridge crasher and a half, got rid of them and went with Broadlink instead.

I can tolerate crashes here and there, but I cant tolerate my Wife with things crash here and there.

KFK

okonet commented 4 years ago

@Kung-Foo-Kamel then maybe you should not use this plugin?

I’m not sure what your prior message is contributing to the discussion (it doesn’t) and what you expect others to do with this. Also, since you managed to solve your problem (congrats!) maybe you should delete your messages here so others wont go through them since they are irrelevant as I can see it.

NexGen-3D-Printing commented 4 years ago

Here's an irrelevant message for, GO FUCK YOURSELF, delete the cunts yourself!

S474N commented 4 years ago

Personally, I'm not sure if this plugin is worth developing as Xaiomi is moving everything to native Homekit now, even some of the older Yeelights are getting firmware updates, which in the scheme of things is fantastic. KFK

This isn't true! Yeelight won't support old lights - as 320, 650, etc. You can read it here: https://forum.yeelight.com/t/topic/15620