EmptyEpsilon icon indicating copy to clipboard operation
EmptyEpsilon copied to clipboard

[Bug] Philips Hue DMX Commands Fail

Open NightWolf280 opened this issue 2 months ago • 3 comments

When using the hardware.ini to send DMX commands, the game can connect to the Philips Hue Bridge, but nothing happens when sending a command to one of the lights. The logs show that the command is failing. I may be doing this wrong, but I haven't found any documentation on how to use the Philips Hue devices in the hardware.ini file. I would greatly appreciate an example hardware.ini file that uses a Philips Hue device with the current firmware updates. Thank you for your time! Any pointers on what to try/look/do next would be greatly appreciated.

[INFO ]: Attempting to connect to Hue bridge 192.168.8.205 on port 80 [INFO ]: New hardware device: PhilipsHueDevice with: 4 channels [INFO ]: Channel #1: 1 [INFO ]: Hardware subsystem initialized with: 4 channels [WARNING ]: Discord not installed or not running. Not using discord rich presence [WARNING ]: Failed to set light [1] philips hue bridge: 400 [WARNING ]:

hue personal wireless lighting

hue personal wireless lighting

Oops, there appears to be no lighting here

NightWolf280 avatar Oct 26 '25 01:10 NightWolf280

I think this was last tested 6 years ago, the 400 could point at the fact that something has changed on the hue side...

daid avatar Oct 26 '25 10:10 daid

the 400 could point at the fact that something has changed on the hue side...

In the v1 Hue API, out-of-range values defaulted to the min/max of the range. Since v2, they now throw 400 errors. cf. https://github.com/claytonjn/hass-circadian_lighting/issues/181#issuecomment-1008424272

oznogon avatar Oct 26 '25 17:10 oznogon

Had to register to view the Hue v2 API migration guide and don't have any v2 devices to test on. v1 API via DiyHue still seems to work fine for me.

v2 seems to change quite a bit about both auth (https required, hue-application-id instead of username as the PSK ID) and device enumeration (channels instead of lights, JSON output differs significantly) EE should probably mark its Hue support as being limited to v1 API, at least for now.

oznogon avatar Oct 26 '25 18:10 oznogon