Hi All,
I just added a couple of Innr tunable white zigbee bulbs to my test system to try them out. Zigbee2mqtt supports the bulb (RB278T) and it pairs okay, but in the domoticz UI, it shows up as a simple dimmer with no colour temperature control.
Checking the database, I see that the Type and SubType values are wrong - a RGBWW dimmer would be 241, 4 but zigbee2mqtt has created this device with 244, 73. As it's a test system, I thought I'd try changing those; sadly, that didn't work. If I send messages to the mqtt broker with a "color_temp" value, that works find. So, it seems that the problem is in how domoticz-zigbee2mqtt-plugin creates the device in domoticz and handles commands from domoticz.
Has anyone had / solved the same issue with Hue, Innr or similar bulbs and zigbee2mqtt? Or any ideas how to fix it?
Thanks!
Zigbee2mqtt and WW lamps / colour temperature
Moderator: leecollings
-
- Posts: 75
- Joined: Monday 23 January 2017 23:30
- Target OS: Linux
- Domoticz version: 2023.1
- Location: UK
- Contact:
Zigbee2mqtt and WW lamps / colour temperature
Domoticz, Z-Stick Gen.5, zzh Zigbee, rxftrx433XL on Ubuntu 22.04, HP 290 G1.
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Zigbee2mqtt and WW lamps / colour temperature
Same thing.. and no idea how to fix
domoticz Version: 2020.2
zigbee2mqtt: 1.15.0
domoticz Version: 2020.2
zigbee2mqtt: 1.15.0
-
- Posts: 75
- Joined: Monday 23 January 2017 23:30
- Target OS: Linux
- Domoticz version: 2023.1
- Location: UK
- Contact:
Re: Zigbee2mqtt and WW lamps / colour temperature
I've found the error and a workaround
I'll raise a pull request to fix the plugin later when I have time, if the author doesn't do it faster; it's a one-word correction:
Find the file domoticz/plugins/domoticz-zigbee2mqtt-plugin/adapters/innr/__init__.py and edit it. You'll see the problem instantly - the RB278T line gives the lamp the DimmableBulbAdapter when it ought to use the RGBWAdapter. Change that one word, save the file. Delete all the lamp's devices from domoticz (Setup->Devices), then restart the domoticz service so that the plugin is reloaded.
When the plugin finds that the lamp no longer has a device in domoticz, it will re-create the device, this time with the correct type. Tested and confirmed working
Enjoy!

Find the file domoticz/plugins/domoticz-zigbee2mqtt-plugin/adapters/innr/__init__.py and edit it. You'll see the problem instantly - the RB278T line gives the lamp the DimmableBulbAdapter when it ought to use the RGBWAdapter. Change that one word, save the file. Delete all the lamp's devices from domoticz (Setup->Devices), then restart the domoticz service so that the plugin is reloaded.
When the plugin finds that the lamp no longer has a device in domoticz, it will re-create the device, this time with the correct type. Tested and confirmed working

Enjoy!
Domoticz, Z-Stick Gen.5, zzh Zigbee, rxftrx433XL on Ubuntu 22.04, HP 290 G1.
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
Node Red, MQTT, 80+ Z-wave, ESP8266 & Shelly, handful of Zigbee bulbs. EMS-ESP gateway for Bosch boiler. Controlicz, until it dies :-(
Who is online
Users browsing this forum: No registered users and 1 guest