TKB TZ77 - database correction

Hi,

I have TKB TZ77 running with OH 2.4 and it appears that the channels in zwave DB are not correct.

  1. Color_color is not working.

Trying to use item:

Color LED_Strip_Bottom_Color                    "Kitchen bottom LED strip"              <colorlight>            (Kitchen)               { channel="zwave:device:16160425003:node16:color_color" }

gives following warning:

2019-01-19 12:01:10.988 [ome.event.ItemCommandEvent] - Item 'LED_Strip_Bottom_Color' received command 0,0,64
2019-01-19 12:01:10.997 [nt.ItemStatePredictedEvent] - LED_Strip_Bottom_Color predicted to become 0,0,64

19-Jan-2019 12:01:11.003 [DEBUG] [rg.openhab.binding.zwave.handler.ZWaveThingHandler] - NODE 16: Command received zwave:device:16160425003:node16:color_color --> 0,0,64 [HSBType]
19-Jan-2019 12:01:11.006 [WARN ] [nding.zwave.internal.converter.ZWaveColorConverter] - NODE 16: Unknown color mode null.
19-Jan-2019 12:01:11.009 [DEBUG] [nding.zwave.internal.converter.ZWaveColorConverter] - NODE 16: Converted command '0,0,64' to {} for channel = zwave:device:16160425003:node16:color_color, endpoint = 0.

So it seems that “colorMode=RGB” is missing from the DB. Could this be updated ?

  1. Color_temperature is defined but I believe not supported by this device.

Zvvave DB has this channel definition:

<channel id="color_temperature" typeId="color_temperature"> 
    <label>Color Temperature </label> 
    <properties> 
        <property name="binding:*:PercentType">COMMAND_CLASS_SWITCH_COLOR;colorMode=DIFF_WHITE</property> 
        <property name="binding:Command:OnOffType">COMMAND_CLASS_SWITCH_MULTILEVEL;</property> 
    </properties> 
</channel>

However, as implemented in zvawe binding ZwaveColorConventer:

  } else if ("DIFF_WHITE".equals(channel.getArguments().get("colorMode"))) {
            PercentType color = (PercentType) command;

            // Queue the command
            int value = scaleColor(color);
            colors.put(ZWaveColorType.COLD_WHITE, 255 - value);
            colors.put(ZWaveColorType.WARM_WHITE, value);

It cannot work since device is not RGB+CT, just RGBW - does not have COLD_WHITE channel to set.

  1. Device picture is not correct:

Correct picture:
tkb_tz77

Device zwave DB link

My device XML:
network_0184d27f__node_16.xml (16.6 KB)

BR/Łukasz

I think this is correct - I have updated.

I’ve deleted this.

I’ve deleted the current picture - can you upload the new image please?

I also note that the dimmers are called dimmer 1 to 4 - probably these relate directly to the colors (??) - if so, it would be good to update the channel names so it’s clearer?

Thanks
Chris

OK thanks a lot Chris!

I uploaded new picture. Also checked the dimmers by linking corresponding channels to items and apparently they map:

Dimmer LED_Strip_Bottom_Color_D1                "Kitchen bottom LED strip d1"           <bulb>          (Kitchen)               { channel="zwave:device:16160425003:node16:switch_dimmer1" }
Dimmer LED_Strip_Bottom_Color_D2                "Kitchen bottom LED strip d2"           <bulb>          (Kitchen)               { channel="zwave:device:16160425003:node16:switch_dimmer2" }
Dimmer LED_Strip_Bottom_Color_D3                "Kitchen bottom LED strip d3"           <bulb>          (Kitchen)               { channel="zwave:device:16160425003:node16:switch_dimmer3" }
Dimmer LED_Strip_Bottom_Color_D4                "Kitchen bottom LED strip d4"           <bulb>          (Kitchen)               { channel="zwave:device:16160425003:node16:switch_dimmer4" }
switch_dimmer1 => White
switch_dimmer2 => Red 
switch_dimmer3 => Green
switch_dimmer4 => Blue

I updated labels in DB (based on Fibaro FGRGBW labels).

BR/Lukasz

1 Like