Logic Group ZDB5100 Matrix Switch

Hi Marton

Thanks for the reply. I managed to change the color of the led but what i want is to send a command that turns the led on until next press or make it blink. As I understand that can be accomplished with the command class switch color set command as described ind the manual. Its also posible to do in fibaro as described in this link (In danish languages) https://logic-group.com/2019/06/24/forstaa-den-udvidede-lysdiodestyring-i-matrix-zdb5100/ You can for instance make it blink like an alarm.

So is it posible to send a raw command class command to the switch and what is the formt?

Best regards
Jesper

Hi Jesper,

That actually I don’t know. I use the switch entities to turn on the LEDs. I have 4 switch entities for the 4 LEDs and 1 light entity for the dimmer. I change the color then turn on the LEDs. Maybe you can use the same method?

Best,
Marton

Thanks again Marton

That’ll probably be how i have to do it. It seems that the “Command class switch color” isn’t implemented in Open z-wave yet. I’m trying to get it to turn the LED in the switch on when a Hue light bulb is turned on and also to control that bulb. Last atempt it somehow ended up in some kind of loop turning on - turning off with a few seconds apart. :sweat_smile: :sweat_smile:

That explains it then :slight_smile:

I’m doing the opposite. When no lights are on and it’s dark, I turn on one of the LEDs to 50% brightness as a night light.

Well… I was wrong. :sweat_smile:

(For others trying to change colors of the LEDS without a static configuration)
As it turns out, the COMMAND_CLASS_SWITCH_COLOR command is just called COMMAND_CLASS_COLOR in my xml file. In my case The multi level switch commandclass automatic makes a instance for the internal dimmer upon first installation. So if you change the endpoint to one of the LED buttons instead of the dimmer, you can change the color of the LED light of that button. The light and color is temporarily as decribed in the product manual and returns to the setting from the config upon next press. How I get HA to show the color selector for the binary class swithes will be the next to work on. That and how to use in a automation :smile:

Yay!! I can now control the LED’s from Home Assistant.

You have to add a bit extra to the zwcgf.xml file like extra entries for multi level switch.

This is mine:
https://pastebin.com/FG3nnBLN

Using the service light_turn_on like this i can now change the color of the leds:

- id: llmor
  alias: Stair morning on
  trigger:
  - at: '05:00'
    platform: time
  action:
    - service: light.turn_on
      data:
        entity_id: light.ledliststair
        brightness: 130
        rgb_color: [255,0,0]

Only thing i still needs to figure out is how to use the warm white value as decriped in the product manual with the rgb_color for making the led flash.

Hope this helps others.

1 Like

Hi Jesper

That sounds awesome. Could you perhaps elaborate a bit on how you actually control the LEDs? I have added the extra entries from your pastebin. However, when I check under dev tools/services I don’t have any entities from the switch that can be controlled via light.turn_on

Have I misunderstood the purpose here? I’m looking for a solution when I can turn on/off the various LEDs with the color of my own choice.

No thats the thing I managed to do. With the additions in the config file.

Did you remember to shut down HA befor you made the changes, started HA, healed the z-wave network and then again a HA restart. (beside the shutdown before changes, I dont know i all this is nessesary but sometimes it worked for me :sweat_smile:)

else can you paste a copy of your config file?

Hi Jesper

Here is the zwcgf file for the Matrix: https://pastebin.com/XyiLXynW

When I look under dev/services I don’t have any entities apart from the lights exposed from HUE.

So seems like I’m missing a component here?

It looks like you have alot of dublicate entries for the command classes. So deleting them would be a place to start.

Does the switch level show up ind the frontend with a toggle button?
For the record I have only 2 switch-level(from the multi level switch command class) in the standard lovelace light panel. Dont know why the rest of them not appearing. However I have all of them as entities. Maybe it would help to remove the node and reinstall the switch…

also in the first part i’ve got “17” as generic and you have 24. Dont know if this changes anything :sweat_smile:

<Node id="10" name="" location="" basic="4" generic="17" specific="1" roletype="5" devicetype="5632" nodetype="0" type="Basic Wall Controller" listening="true" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" secured="true" query_stage="Complete">
		<Manufacturer id="234" name="Logic Soft">´

Good point. Duplicates happened when I had issues copy pasting in changes. It has been cleared up but that does not change anything.

The switches can be toggled from the interface and I do have entities for the switch. However, they are not part of the light service and I don’t really get how they would become that.

Can you post the code you use to toggle the light of one of the LEDs?

In the dev/service i just call the service like this:

2020-09-11 (2)

Maybe you should do a complet reset of the device and reinstall. Make sure to make a copy of your config or you can use mine https://pastebin.com/TDi4S0P3. Remember to stop HA completly after the reinstall and before you save the config file and change the nodeid in the part you copy in.

Else I dont know what to do and why the light-entities wont show up. As I understand those entities is created from the command class switch multilevel or the command class color.

And have you set the config parameter nr: 10 (Enhanced led control) to enabled?

I got it working thanks to your config! Thanks a lot. This will help me close some of the missing pieces of my puzzle.

The process that helped me:

  1. Excluded the device
  2. Restarted HA
  3. Included the device
  4. Shut down z-wave network
  5. Exchanged config with https://pastebin.com/TDi4S0P3
  6. Restarted HA

Now I can call the service as needed and turn on the lights. Still struggling to use light.turn_off which is not working.

Well thats a problem :sweat_smile:

the light.turn_off doesnt work here either… A quick workaround could be using the switch.turn_off but i’ll have to do some more investigation into why it wont work with the light.turn_off…

“Stor TAK” - A big thanks
I’m desperately trying get my two ZDB5100 working - my initial thought was that the time gained from the installation, could be spend on the configuration - Man, was i wrong!!!
Have been looking at this thread a while, tried some of your examples, but are still not able to have it working - Big cheers for your work, and hope to be able to have my own switches working. Will give it another go soon.

The switches really look cool, matches the LK look perfectly, the LEDs really have some great potential and the double-up on switches in a normal 1-module gives ease of operation, all this combined with the integrated dimmer should make this clear choice, but…

Any hope for generic integration in upcoming versions ?

It’s a shame, but currently I would not recommend anyone to buy these switches, my selves included. I rejected a bargain of 300DKK recently (in contrast to my original purchase price of 900DKK !!!) - It is also reflected in the retail-price and “used”-price, they have been dramatically lowered.
Why is the implementation so cumbersome (not only in HA, also the official instructions for Fibaro HC)
Just my 0.02$…

if any help, here is how I use the ZDB inside node-red.
In this flow I catch what button is pressed, and how many times. By pressing button 1 (upper left) one time will toogle the light on/off with a brightness of 100%, and pressing button 3 (bottom left) do it at 50%.

[{“id”:“3c5e52fd.ebf89e”,“type”:“server-events”,“z”:“5a92c06d.cb0c98”,“name”:“scene activé”,“server”:“f25cb0f6.66829”,“event_type”:“zwave.scene_activated”,“exposeToHomeAssistant”:false,“haConfig”:[{“property”:“name”,“value”:“”},{“property”:“icon”,“value”:“”}],“waitForRunning”:true,“x”:490,“y”:1420,“wires”:[[“4ce79077.6866a8”]]},{“id”:“4ce79077.6866a8”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“What Switch?”,“property”:“payload.entity_id”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“zwave.logic_soft_unknown_type_0003_id_0121_2”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:1,“x”:660,“y”:1420,“wires”:[[“89be00e7.9ddca”]]},{“id”:“89be00e7.9ddca”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“Cuisine”,“property”:“payload.event.scene_id”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“1”,“vt”:“str”},{“t”:“eq”,“v”:“2”,“vt”:“str”},{“t”:“eq”,“v”:“3”,“vt”:“str”},{“t”:“eq”,“v”:“4”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:4,“x”:820,“y”:1420,“wires”:[[“1b0120cf.fa9f97”],[“dcd7b297.0e5c8”],[“113837c9.2851a8”],[“8f5e203.eaf8d6”]]},{“id”:“1b0120cf.fa9f97”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“button 1”,“property”:“payload.event.scene_data”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“7680”,“vt”:“str”},{“t”:“eq”,“v”:“7860”,“vt”:“str”},{“t”:“eq”,“v”:“7920”,“vt”:“str”},{“t”:“eq”,“v”:“7800”,“vt”:“str”},{“t”:“eq”,“v”:“7740”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:5,“x”:1040,“y”:1300,“wires”:[[“6367fbce.650d24”],,,,]},{“id”:“113837c9.2851a8”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“button 3”,“property”:“payload.event.scene_data”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“7680”,“vt”:“str”},{“t”:“eq”,“v”:“7860”,“vt”:“str”},{“t”:“eq”,“v”:“7920”,“vt”:“str”},{“t”:“eq”,“v”:“7800”,“vt”:“str”},{“t”:“eq”,“v”:“7740”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:5,“x”:1040,“y”:1460,“wires”:[[“e087bb2.4bcbbc8”],,,,]},{“id”:“dcd7b297.0e5c8”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“button 2”,“property”:“payload.event.scene_data”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“7680”,“vt”:“str”},{“t”:“eq”,“v”:“7860”,“vt”:“str”},{“t”:“eq”,“v”:“7920”,“vt”:“str”},{“t”:“eq”,“v”:“7800”,“vt”:“str”},{“t”:“eq”,“v”:“7740”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:5,“x”:1040,“y”:1380,“wires”:[,,,,]},{“id”:“8f5e203.eaf8d6”,“type”:“switch”,“z”:“5a92c06d.cb0c98”,“name”:“button 4”,“property”:“payload.event.scene_data”,“propertyType”:“msg”,“rules”:[{“t”:“eq”,“v”:“7680”,“vt”:“str”},{“t”:“eq”,“v”:“7860”,“vt”:“str”},{“t”:“eq”,“v”:“7920”,“vt”:“str”},{“t”:“eq”,“v”:“7800”,“vt”:“str”},{“t”:“eq”,“v”:“7740”,“vt”:“str”}],“checkall”:“true”,“repair”:false,“outputs”:5,“x”:1040,“y”:1540,“wires”:[,,,,]},{“id”:“6367fbce.650d24”,“type”:“api-call-service”,“z”:“5a92c06d.cb0c98”,“name”:“alumer cuisine 100%”,“server”:“f25cb0f6.66829”,“version”:1,“debugenabled”:false,“service_domain”:“light”,“service”:“toggle”,“entityId”:“light.logic_soft_zdb5100_matrix_wall_switch_level”,“data”:“{ "brightness": 254 }”,“dataType”:“json”,“mergecontext”:“”,“output_location”:“”,“output_location_type”:“none”,“mustacheAltTags”:false,“x”:1240,“y”:1260,“wires”:[]},{“id”:“e087bb2.4bcbbc8”,“type”:“api-call-service”,“z”:“5a92c06d.cb0c98”,“name”:“alumer cuisine 50%”,“server”:“f25cb0f6.66829”,“version”:1,“debugenabled”:false,“service_domain”:“light”,“service”:“turn_on”,“entityId”:“light.logic_soft_zdb5100_matrix_wall_switch_level”,“data”:“{ "brightness": 50 }”,“dataType”:“json”,“mergecontext”:“”,“output_location”:“”,“output_location_type”:“none”,“mustacheAltTags”:false,“x”:1260,“y”:1420,“wires”:[]},{“id”:“f25cb0f6.66829”,“type”:“server”,“z”:“”,“name”:“Home Assistant”,“addon”:true}]

Hi,

I’m out of the ZDB5100 world for a little bit. Two of my switches died within a couple of days. One just stopped working, but the other one made a loud pop and triggered the breaker when I wanted to use it one day. After taking it out I could see burn marks on it :open_mouth:

Anyone had experienced problems with these units?

Luckily they are still under warranty, but this made me worried a bit.

Hmm that is suspect. Did you contact Logic Group with your findings?

Yes, I’ve sent both units back. I hope I’ll hear from them soon. Not just to get a replacement, but I’m curious what was the reason.

I’ll post it here when I know more.