Philips Ambilight+Hue cannot detect light

Hi here

I’m trying to setup two WLEDs as extension to the Philips TV Ambilight.

Hue detects only one WLED but the other cannot be find by Hue.

{
  "60": {
    "state": {
      "on": true,
      "reachable": true,
      "mode": "homeautomation",
      "bri": 254,
      "colormode": "hs",
      "hue": 6853,
      "sat": 254,
      "effect": "none"
    },
    "name": "AMB2",
    "uniqueid": "00:56:52:3a:8a:3f:7e:b1-8b",
    "manufacturername": "Home Assistant",
    "swversion": "123",
    "type": "Color light",
    "modelid": "HASS213"
  },
  "65": {
    "state": {
      "on": true,
      "reachable": true,
      "mode": "homeautomation",
      "bri": 254,
      "colormode": "hs",
      "hue": 6853,
      "sat": 254,
      "effect": "none"
    },
    "name": "AMB1",
    "uniqueid": "00:7a:6f:98:09:44:f5:21-99",
    "manufacturername": "Home Assistant",
    "swversion": "123",
    "type": "Color light",
    "modelid": "HASS213"
  }
}

Config:

emulated_hue:
  listen_port: 80
  expose_by_default: false
  exposed_domains:
    - light
  entities:
    light.wled_living_room_left:
      name: "AMB1"
      hidden: false
    light.wled_living_room_right:
      name: "AMB2"
      hidden: false
    light.balcony_lights:
      name: "Balcony Lights"
      hidden: true  
    light.msl120_34b3_lightbulb:
      name: "MSL120-34b3 Bulb"
      hidden: true 

Everything looks identical between the lights in the json response but it’s not shown.

I resolved the issue on my own.

It seems that if the key in this json is more than 65 the hue cannot detect the light. So I checked and found a thread how to reset the hue. There are emulated_hue.ids in /config/.storage folder. I had these big numbers because in my old configuration I haven’t specified which devices to be exposed to emulated_hue. So I removed the emulated_hue.ids restarted Home Assistant and now the json looks like this:

{
  "1": {
    "state": {
      "on": true,
      "reachable": true,
      "mode": "homeautomation",
      "bri": 254,
      "colormode": "hs",
      "hue": 0,
      "sat": 0,
      "effect": "none"
    },
    "name": "AMB LEFT",
    "uniqueid": "00:26:f4:0f:a7:b5:5c:4b:45",
    "manufacturername": "Home Assistant",
    "swversion": "123",
    "type": "Color light",
    "modelid": "HASS213"
  },
  "2": {
    "state": {
      "on": true,
      "reachable": true,
      "mode": "homeautomation",
      "bri": 254,
      "colormode": "hs",
      "hue": 0,
      "sat": 0,
      "effect": "none"
    },
    "name": "AMB RIGHT",
    "uniqueid": "00:8b:04:4a:28:c0:f5:ba:c4",
    "manufacturername": "Home Assistant",
    "swversion": "123",
    "type": "Color light",
    "modelid": "HASS213"
  },
  "3": {
    "state": {
      "on": true,
      "reachable": false,
      "mode": "homeautomation",
      "bri": 1,
      "hue": 0,
      "sat": 0,
      "ct": 153,
      "effect": "none",
      "colormode": "ct"
    },
    "name": "WIZ Bulb",
    "uniqueid": "00:32:f8:d4:2b:61:d2:b1:c5",
    "manufacturername": "Home Assistant",
    "swversion": "123",
    "type": "Extended color light",
    "modelid": "HASS231"
  }
}

I was able to discover all lights now.

1 Like