henry-spanka / homebridge-freeathome

Platform Plugin to manage free@home accessories via HomeBridge
MIT License
56 stars 10 forks source link

Blacklist Hue devices #38

Closed captainkoehler closed 3 years ago

captainkoehler commented 4 years ago

Hi! First off: I am new to homebridge, the freeathome plugin and github. So, please forgive me if this is 100% obvious to everyone else. Secondly: I totally dig what Henry has done and how it massively expands what you can do with your Busch-Jaeger system as a result. Now on to my question: Can I blacklist my (HomeKit compatible) Philips Hue devices and prevent them from showing up twice in the Home app? And if so, how? I am not sure which ID to use and where to find that.

Alox-K commented 4 years ago

Hi! Usually, it should work like this: "Plugins" - Freeathome-Plugin: "Configure" - "Custom Mappings"

{ "<#BEEDF9BE000E>": { "blacklist": [ "ch0000" ] } }

You can find the ID in "Protocol", where you need to look for the device, you want to blacklist and copy it from there.

But actually, it didn't work on this way in my system. I think the general way should be right, but there seems to be some issue.

henry-spanka commented 4 years ago

@Alox-K is correct. You can actually find the serial no and ID in the settings of the accessory in the HomeKit app.

Alox-K commented 4 years ago

Hey Henry!

I'm sorry - but the blacklisting seems to have a problem. Or maybe I did it wrong.

IMG_0203

This is the device, i'd like to blacklist. I took the serialnumber and model and pasted it to the config-window:

2020-11-27 20_17_43-Window

This one and even the native buschjäger-device are still visible in homekit.

I tried to add "#" in front of the serial and tried the "modell" with and without the second number. Reboot didn't help either. No effect at all.

Any idea?

henry-spanka commented 4 years ago

Your mapping is incorrect. Please try this:

{
  "BEEDF9BE000E": {
    "blacklist": [
      "ch0000"
    ]
  },
  "ABB700CD51F9": {
    "blacklist": [
      "ch0009"
    ]
  }
}
Alox-K commented 4 years ago

Awesome! This works! Thank you for your help! The Paragraph "<ACTUATOR-SERIAL>": { "blacklist": ["ch0000", "ch0001"], }, ...of your Description Page let me think, i need the <>.

captainkoehler commented 3 years ago

Thank you, gents! That has fixed it for me as well.