ebaauw / homebridge-hue

Homebridge plugin for Philips Hue
Apache License 2.0
897 stars 91 forks source link

I can t see Hue Dimmer Switch #1119

Closed martonky closed 1 year ago

martonky commented 1 year ago

Issue

Hello everyone. I am not sure if I am doing averything ok. I cant see my 4x Hue Dimmer Switch in Homekit. I am trying to use hue bridge (V2) without direct pair to homekit. I want to remote everything across Homebridge. After the plugin instalation I see my light bulbs in homekit and everything works fine. Unfortunately I cant see my dimmer switch. :/

Log Messages

[17/10/2022, 20:52:08] [Hue] masked debug info dumped to /var/lib/homebridge/homebridge-hue.json.gz
[17/10/2022, 20:52:08] Initializing platform accessory 'Philips hue'...
[17/10/2022, 20:52:08] [Hue] Philips hue: 3 services
[17/10/2022, 20:52:08] Initializing platform accessory 'Lenka lamp'...
[17/10/2022, 20:52:08] Initializing platform accessory 'Martin lamp'..
[17/10/2022, 20:52:08] [Hue] Philips hue: event stream connected to https://192.168.100.18/eventstream/clip/v2
[17/10/2022, 20:52:09] [Hue] Lenka lamp: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}
[17/10/2022, 20:52:09] [Hue] Martin lamp: set homekit supported transition configuration to {"configuration":[{"iid":11,"characteristic":1},{"iid":13,"characteristic":2}]}

config.json

{
            "name": "Hue",
            "anyOn": true,
            "effects": true,
            "hosts": [
                "192.168.100.bla"
            ],
            "hueDimmerRepeat": true,
            "lights": true,
            "linkButton": true,
            "nativeHomeKitLights": false,
            "nativeHomeKitSensors": true,
            "resource": true,
            "sensors": false,
            "users": {
                "blabla"
            },
            "wallSwitch": true,
            "platform": "Hue"
        }

thank you for your great support! :)

ebaauw commented 1 year ago

You need to set sensors to expose sensors resources, like the ZHASwitch for Hue dimmer switch. Also make sure to clear nativeHomeKitSensors, or Homebridge Hue will assume you exposed them already natively by the Hue bridge.