Logic Group ZDB5100 Matrix Switch

Hi Flemming,

These devices has also caused me a few headaches on getting them working - but now they seem to run stable… at least until now, hopefully won’t have them pop like Martons.

Have you changed your zwave cache file?

Use this as input on how to configure your cache file "zwcfg_*********.xml that has been posted earlier :
https://pastebin.com/TDi4S0P3

Make sure you have the right node nr. to what you are configuring

Type is important - it has to be 17 and not 24 as it is identified as.
Type 24 is a switch
Type 17 is a dimmer, giving the “level” attribute

One of the issues I had with mine was, if I made changes to the config file and did a clean restart (using the service to restart HA) when HA shuts down, it write current config to cachefile, thereby overwriting your changes - so I had to hard reset my HA instance to get it to accept the manual changes I made to the zwcfg file.

Hope that tip helped.

Hi Jesper - have you had any luck with light.turn_off yet? The switch workaround is not pretty in practice.

Hi there.
Nope sorry. Havent had the time yet. :sweat_smile:

I’m not following you here:
“One of the issues I had with mine was, if I made changes to the config file and did a clean restart (using the service to restart HA) when HA shuts down, it write current config to cachefile, thereby overwriting your changes - so I had to hard reset my HA instance to get it to accept the manual changes I made to the zwcfg file.”
It seems I have same problem; restart HA and it overwrite the config file with the old version.
Since I’m not über-level expert (I’m a beginner), I don’t know what “I had to hard reset my HA instance” means… can you specify that?

Tips: Before editing the z-wave config file, you need to stop the z-wave network. (it’s due to the the z-wave config file is stored inside the USB stick when it is running)

So the simple way to edit the file is to stop the z-wave nework, edit the file, save the file and restart HA to apply the changes (it might be sufficient in many case to only restart the z-wave network to apply the changes, but better be safe that sorry)

Done that and it works… I can even use the shit in Note-Red now :slight_smile:
But I had to do it 4-5 times, before it can through …

Thx to you all :slight_smile:

BTW: I had one Matrix that stop working on the dim-extension (the internal dimmer), so I can’t recommend using the Logic Group internal dimmer in the long run. I have connected Fibaru Dimmer 2 directly the the lamp and are now only using Matrix for on/off

BTW: Is there a way to control the colored light on the Matrix itself?

Yes you can. Please see Logic Group ZDB5100 Matrix Switch

I have tried to adopt your changes to my configuration. Now I have 4 switches and 4 lights. The lights can be turned on in HA, but they don’t do anything and automatically turns off again. The switches seem to work, however when I press one of the physical switches it is not reflected in HA at all.

Personally I turn off all the switches and set the leds to only trigger on external events. This can be done in the config of each node via the z-wave interface in HA.

I listen for z-wave scene changes and then use these in Node red.

I have tried to listen for zwave.scene_activated events, but nothing happens when I press the buttons.

What does the z-wave log look like? Are you seeing any event there? If not then it would appear that the correct config has not been made in the zwcfg_*********.xml

I got this in the log when pushing a button:

2021-01-23 19:50:36.258 Detail, Node022, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x16, 0x03, 0x20, 0x03, 0x00, 0xc4
2021-01-23 19:50:36.258 Detail,
2021-01-23 19:50:36.259 Info, Node022, Received Basic report from node 22: level=0
2021-01-23 19:50:36.259 Detail, Node022, Refreshed Value: old value=0, new value=0, type=byte
2021-01-23 19:50:36.259 Detail, Node022, Changes to this value are not verified
2021-01-23 19:50:36.259 Detail, Node022, Notification: ValueChanged
2021-01-23 19:50:36.292 Detail, Node022, Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x16, 0x05, 0x5b, 0x03, 0x47, 0x80, 0x03, 0x7f
2021-01-23 19:50:36.293 Detail,
2021-01-23 19:50:36.293 Warning, Node022, Received a Clear Text Message for the CommandClass COMMAND_CLASS_CENTRAL_SCENE which is Secured
2021-01-23 19:50:36.293 Warning, Node022, Dropping Message

Changed all of the issecured=“true” to false and now I am seeing events.

Looks like you have something missing in your file.

Here is what I see when I press a button

2021-01-23 20:13:42.880 Info, Node020, Received Central Scene set from node 20: scene id=1 in 7680 seconds. Sending event notification.
2021-01-23 20:13:42.880 Detail, Node020, Initial read of value
2021-01-23 20:13:42.880 Detail, Node020, Notification: ValueChanged
2021-01-23 20:13:42.901 Detail, Node020,   Received: 0x01, 0x0b, 0x00, 0x04, 0x00, 0x14, 0x05, 0x26, 0x03, 0x63, 0x63, 0x00, 0xc4

Here is my config for the above node https://pastebin.com/MNwsCCDM

Don’t forget to stop the z-wave network and do a core stop and then a full restart after editing the file.

Specifying brightness to the light.turn_on service, doesn’t really help. The LED’s are always at 100%. Is it just me?

I just updated to the new Z-wave JS. The switches worked right out of the box. However, I lost the ability to manipulate the light on each switch. However, I presume that functionality will come.

Looks like a much more solid approach for Z-wave and great to see the Matrix does not require a lot of work for at least the button presses.

FInally got the dimmer and the color control working after moving to zwavejs2mqtt.

Dimmer worked right out the box.

I had to modify the discovery package for the color buttons.

Added the following:

    "payload_off": false,
    "payload_on": true,
    "value_template": "{{ value_json.value }}",

I’m using the new Z-wave JS integration via the Supervisor. Can I ask where I make this modification? Does it then expose each led as an entity in the light domain?

I don’t see that as an option in zwavejs. I don’t think it is supported yet.

I was only able to make it work with zwavejs2mqtt.

What do you mean “modify the discovery package”? The docs at https://zwave-js.github.io/zwavejs2mqtt does not mention “discovery package”.