I'm working on updating the MQTT Shims plugin to support color devices, so that Zigbee device support using zigbee2mqtt will work directly.
Here's a link to the MQTT API for zigbee2mqtt, specifically the section on control messages to the devices.
https://www.zigbee2mqtt.io/information/mqtt_topics_and_message_structure.html#zigbee2mqttfriendly_nameset
Looking at the example for the Philips Hue Go, I see that "state", "brightness", and "color_temp" are all acceptable in the payload. And also a long list of possible color specifications, of which RGB color is an option. I'm assuming (but am not 100% sure) that I can send either color_temp or color. Or maybe both?
My problem is, that the Indigo SDK doesn't allow for for the SupportsWhiteTemperature property unless I also have SupportsWhite enabled. But SupportsWhite puts a white level slider in the UI when it's enabled. And I have no idea what to do with that value. What's the relationship between the Brightness and whiteLevel?
Any suggestions on how to set up the Indigo UI for my Color shim devices to best map to the parameters I need to send to the zigbee2mqtt devices?
FWIW, I'm not making these changes to only work with zigbee2mqtt. I'm making them as generic as possible, but I need to make sure that when I'm done, it works for zigbee2mqtt.