Skip to content
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

Ignore #86

Closed
K2i4n6g8 opened this issue Dec 2, 2020 · 7 comments
Closed

Ignore #86

K2i4n6g8 opened this issue Dec 2, 2020 · 7 comments
Labels

Comments

@K2i4n6g8
Copy link

K2i4n6g8 commented Dec 2, 2020

First, Thank so much for this amazing plugin
Then if you could add to the configurations that you could ignore the light you want
And thank you again for your hard work

@ichasecorals
Copy link

I would also like this feature. I have 3 bedside lamps that have official HK support. But this plugin also see it and adds to HK.

@mstef
Copy link

mstef commented Jan 20, 2021

Guys, did you set disable „LAN Control” in Yeelight app for these lamps with native HomeKit?

@ichasecorals
Copy link

Guys, did you set disable „LAN Control” in Yeelight app for these lamps with native HomeKit?

Yeelight app doesn't allow me to toggle the LAN CONTROL. One is stuck at OFF and 2 are stuck at ON. But the one that is stuck at off still show in HK and in HOOBS

@FTHS92
Copy link

FTHS92 commented Feb 24, 2023

Hello Guys,
is there still no way to ignore a light? I have a mixed setup with HK supported and not supported devices.
I don't want to turn off the LAN Control because it's slower to respond with Google Home and the Yeelight app. See here: https://forum.yeelight.com/t/topic/15354
I would really appreciate if someone could implement that feature.

vieira added a commit that referenced this issue Aug 22, 2023
Allow setting `"blacklist": true` in `config.json` to not expose a
discovered device to HomeKit (see #86).

This can also be used to make homebridge forget a device that you have
removed without having to manually edit `cachedAccessories` (see #72).

Example Usage:
```
{
  "bridge": {
    "name": "Raspberry Pi"
  },
  "accessories": [{}],
  "platforms": [
    {
      "platform": "yeelight",
      "name": "Yeelight",
      "defaultValue": {
        "aed78s": {
          "blacklist": true
        }
      }
    }
  ]
}
```
@vieira
Copy link
Owner

vieira commented Aug 22, 2023

As of 2.4.0 you can ignore a light by setting blacklist to true, e.g.:

{
  "bridge": {
    "name": "Raspberry Pi"
  },
  "accessories": [{}],
  "platforms": [
    {
      "platform": "yeelight",
      "name": "Yeelight",
      "defaultValue": {
        "aed78s": {
          "blacklist": true
        }
      }
    }
  ]
}

@neekchan
Copy link

As of 2.4.0 you can ignore a light by setting blacklist to true, e.g.:

{
  "bridge": {
    "name": "Raspberry Pi"
  },
  "accessories": [{}],
  "platforms": [
    {
      "platform": "yeelight",
      "name": "Yeelight",
      "defaultValue": {
        "aed78s": {
          "blacklist": true
        }
      }
    }
  ]
}

Hello,

What do I replace "ae78s" with? Do i add serial number of the device? or what? I'm a little confused and am not a coder but am trying to not have duplicate lights in my homekit.

@vieira
Copy link
Owner

vieira commented Nov 25, 2023

In your logs you will have some lines like:

[Yeelight] Received advertisement from ae78s.
[Yeelight] Device ceiling3-ae78s supports brightness

Replace the ae78s with whatever shows in your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants