Adjusting Hue lamp temperature settings via Hue integration

Hello :slight_smile:
Following the message 13 days ago, I acquired a Zigbee Conbee key to use my Hue motion detector. On that side, everything works, thank you again for your help :slight_smile:

To detail my installation a bit more, I have on one side a Hue bridge (and therefore the Hue integration) and my Zigbee key (and the Zigbee integration, therefore). I also have a container with Homebridge to talk to Siri with my devices that are on my Hue bridge. Finally, I would like to have Gladys to manage my scenes and routines, and to connect the devices of the different technologies.

I noticed something: Philips Hue devices that have the « Light Temperature Â» feature do not work completely via the Hue integration. To put it simply, nothing happens when I change the temperature of the lamp if I am connected to my lamp via the Hue bridge. On the other hand, if I use my Zigbee key to connect to my light, everything works perfectly.

As you could read above, I would prefer to have as many devices as possible on my Hue bridge to keep voice control.

I have made several attempts, reinstalled everything Gladys but nothing changes :frowning:
Did I miss something?
Thank you :slight_smile:

Awesome! :slight_smile:

Oh, do you have more information about the issue? Is there anything in the Gladys logs (docker logs gladys)?

Indeed, it’s possible to have different behaviors between the Zigbee2mqtt and Hue integrations, they are really two totally different integrations.

Thanks @pierre-gilles :slight_smile: Here’s what the logs return: nothing!

In my logs, nothing is returned by the Hue integration, I executed some state changes that work, and nothing apparent in the logs (turning on/off, changing color). My log is cluttered with messages related to my motion detector though :slight_smile:

2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature illuminance not configured in Gladys.
2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature linkquality not configured in Gladys.
2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature motion_sensitivity not configured in Gladys.
2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature occupancy_timeout not configured in Gladys.
2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature update not configured in Gladys.
2022-01-20T19:13:47+0100 handleMqttMessage.js:96 () Zigbee2mqtt device 0x001788010b096a2a, feature update_available not configured in Gladys.

But that’s not the point :slight_smile:

Is there a more verbose mode to enable?

In fact, don’t look any further, I think that on the Philips Hue integration side, the functionality simply doesn’t exist ^^ (not coded)

There is a missing case for temperature change:

See: Gladys/server/services/philips-hue/lib/light/light.setValue.js at master · GladysAssistant/Gladys · GitHub

This case is handled on the Zigbee2mqtt side, but not in Philips Hue.

This is a development to be done… We would need to find someone on the forum who has Philips Hue and would like to help with the development

It would be something like this:

case DEVICE_FEATURE_TYPES.LIGHT.TEMPERATURE:
  state = new this.LightState().temperature(value);
  break;

If I understand the logic correctly?

How could I test it?

Thanks again for your support.

Indeed something like that, then you need to check the Philips Hue library documentation to see the data format to send and the function name

You need to set up a local development environment.

We have tutorials in the docs:

MacOS/Linux: Mettre en place un environnement de développement sous Mac/Linux | Gladys Assistant
Windows: Mettre en place un environnement de développement sous Windows | Gladys Assistant

Then I admit that at this point we are getting into development, if you are not used to this kind of development the barrier to developing on Gladys is quite high (but it can be learned), so it won’t take 5 minutes ^^