I patched your index.js to add the ColorTemperature (ct) parameter for the Hue Color temperature light model. I have one of those and the RaspBee running on RPi3b with deCONZ and homebridge, homebridge-platform-deconz, and homebridge-hue on the same box. As your code stands, it works as an ON/OFF-only light. I added conditional logic for "Color temperature light" to pick up Brightness and a separate block to add ColorTemperature plus get and set codes for that. When I added brightness, that worked in HomeKit (on iPhone and Appletv4) and after ColorTemperature was added it brought up the golden-to-blue-white wheel on the Home app (cool.) That wheel returns values 140 to 499, so just passed them through and let them clip at 153-454 (ctmin-ctmax.) Wonderful.
Thanks for your efforts.
I patched your index.js to add the ColorTemperature (ct) parameter for the Hue Color temperature light model. I have one of those and the RaspBee running on RPi3b with deCONZ and homebridge, homebridge-platform-deconz, and homebridge-hue on the same box. As your code stands, it works as an ON/OFF-only light. I added conditional logic for "Color temperature light" to pick up Brightness and a separate block to add ColorTemperature plus get and set codes for that. When I added brightness, that worked in HomeKit (on iPhone and Appletv4) and after ColorTemperature was added it brought up the golden-to-blue-white wheel on the Home app (cool.) That wheel returns values 140 to 499, so just passed them through and let them clip at 153-454 (ctmin-ctmax.) Wonderful. Thanks for your efforts.