ebaauw / homebridge-hue

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

No accessories found #1059

Closed Hillann closed 2 years ago

Hillann commented 2 years ago

Issue

When starting the homebridge-hue plug-in I find only the hue bridge device itself.

My setup consists of 5 trådfri bulbs that I have successfully connected to the hue bridge via its app. the lights are working correctly. I would like to have them show up in Home and so I followed the guide provided here. These are logs:

Log Messages

[14/12/2021, 18:33:10] [Hue] Initializing Hue platform...
[14/12/2021, 18:33:10] [Hue] homebridge-hue v0.13.30, node v16.13.1, homebridge v1.3.8
[14/12/2021, 18:33:10] [Hue] searching bridges and gateways
[14/12/2021, 18:33:15] [Hue] Philips hue: Signify Netherlands B.V. BSB002 bridge v1948086000, api v1.48.0
[14/12/2021, 18:33:15] [Hue] Philips hue: created user - please edit config.json and restart homebridge
  "platforms": [
    {
      "platform": "Hue",
      "users": {
        "Xxxxx": "xxxxx"
      }
    }
  ]
[14/12/2021, 18:33:16] [Hue] Philips hue: 1 accessories
[14/12/2021, 18:33:16] [Hue] masked debug info dumped to /var/lib/homebridge/homebridge-hue.json.gz
[14/12/2021, 18:33:16] Initializing platform accessory 'Philips hue'...
[14/12/2021, 18:33:16] [Hue] Philips hue: 2 services
Setup Payload:
X-HM://xxxxxxx

Debug Files

I am able to attach the debug files if needed. But for now I would like to know if the issue might simply be caused by an oversight from my side or maybe a step I missed to follow when setting everything up. Thanks!

ebaauw commented 2 years ago

Did you set lights in config.json?

Hillann commented 2 years ago

This is how the config.json looks like. Is it missing anything?

{ "name": "Hue", "anyOn": true, "effects": true, "nativeHomeKitLights": true, "nativeHomeKitSensors": true, "resource": true, "platform": "Hue" }

Hillann commented 2 years ago

I see now that I had missed a few parameters to expose non-Philips lights. It’s now working. Thank you!