Hi all.
I’m trying to find a way to turn off several hue play lights attached to my computer that are synced to the display. When light sync is enabled, no commands from HA seem to work. I’m exposing the lights to HA via the hue hub, to use dynamic scenes for other rooms.
Is there a way to override a light sync with a HA command?
homebridger
(tonytheuerzeit)
September 17, 2025, 10:07pm
2
Yes you can! You can create a button or automation to turn of the " Hue Sync " mode directly on the bridge using the Hue Bridge Api. Down below is the information i used from chatgpt to configure this.
Step 1: Find your Hue Bridge IP
Open the Hue app on your phone.
Go to: Settings → Bridge Information .
Note the IP address (something like 192.168.1.50).
Step 2: Use the Hue Debug Tool
In a browser, go to:
http://<BRIDGE_IP>/debug/clip.html
(replace <BRIDGE_IP> with your bridge IP).
You’ll see the Philips Hue CLIP API Debugger page.
Step 3: Create a New API Key
In the debugger:
URL field: /api
Method: POST
Message Body:
{“devicetype”:“homeassistant#mybutton”}
Press the physical button on top of your Hue Bridge (the round link button).
Immediately click POST in the debugger.
If successful, you’ll get a response like:
[
{
“success”: {
“username”: “xxxxxxxxxxxxxxxxxxxx”
}
}
]
Copy that long string (the "username") — this is your API key .
On bridges with the newer API (v2), it may be called "hue-application-key".
Step 4: Test the Key
In the Debug Tool:
URL field: /clip/v2/resource/bridge
Method: GET
Headers:
hue-application-key: <YOUR_API_KEY>
Click GET . If it responds with JSON about your bridge, the key works.
Step 5: Add to configuration.yaml
rest_command:
hue_sync_off:
url: “http://<BRIDGE_IP>/clip/v2/resource/entertainment_configuration/<ENTERTAINMENT_ID>”
method: put
headers:
hue-application-key: “<YOUR_HUE_API_KEY>”
Content-Type: “application/json”
payload: ‘{“action”: “deactivate”}’
Replace:
<BRIDGE_IP> → your bridge’s local IP (e.g. 192.168.1.50)
<YOUR_HUE_API_KEY> → your Hue developer key
<ENTERTAINMENT_ID> → I
Get your Entertainment Area ID
We need this because the command to “turn off Hue Sync” must target the entertainment area your TV uses.
Open your browser and go to:
https://<BRIDGE_IP>/clip/v2/resource/entertainment_configuratio
Step 6: Create a button. ( or just automate is with the res service commands)
type: button
tap_action:
action: call-service
service: rest_command.hue_sync_off
name: Turn Off Hue Sync
icon: mdi:television-off
the url from step 5 (also with N after it)
shows “Oops, there appears to be no lighting here”
zyndata
(Lukasz)
November 21, 2025, 9:02am
4
Was doing that today, my notes:
You can use postman to do requests but in postman turn OFF Enable SSL certificate verification
to stop sync use PUT to
https://YOUR_IP/clip/v2/resource/entertainment_configuration/LONG_ENTERTAINMENT_ID
body:
{“action”: “stop”}
Node red flow
[
{
“id”: “c02060ce165d7165”,
“type”: “http request”,
“z”: “c33cf0962b17c261”,
“name”: “”,
“method”: “PUT”,
“ret”: “obj”,
“paytoqs”: “ignore”,
“url”: “https://your_ip/clip/v2/resource/entertainment_configuration/your_id”,
“tls”: “b56c9327b5949180”,
“persist”: false,
“proxy”: “”,
“insecureHTTPParser”: false,
“authType”: “”,
“senderr”: false,
“headers”: [
{
“keyType”: “other”,
“keyValue”: “hue-application-key”,
“valueType”: “other”,
“valueValue”: “your_token”
},
{
“keyType”: “other”,
“keyValue”: “Content-Type”,
“valueType”: “other”,
“valueValue”: “application/json”
}
],
“x”: 790,
“y”: 60,
“wires”: [
[
“63d191cfbcd66c72”
]
]
},
{
“id”: “fde6a2c6262f2eb2”,
“type”: “function”,
“z”: “c33cf0962b17c261”,
“name”: “Stop HUE Sync”,
“func”: “msg.payload = {\n action: "stop"\n};\n\nreturn msg;\n”,
“outputs”: 1,
“timeout”: 0,
“noerr”: 0,
“initialize”: “”,
“finalize”: “”,
“libs”: ,
“x”: 600,
“y”: 60,
“wires”: [
[
“c02060ce165d7165”
]
]
},
{
“id”: “b56c9327b5949180”,
“type”: “tls-config”,
“name”: “”,
“cert”: “”,
“key”: “”,
“ca”: “”,
“certname”: “”,
“keyname”: “”,
“caname”: “”,
“servername”: “”,
“verifyservercert”: false,
“alpnprotocol”: “”
}
]