service: zwave_js.set_value
target:
device_id: 69c3646acfb2f0217913779eb317fca3
data:
command_class: '51'
endpoint: '4'
property: hexColor
value: "#ffffff"
This works for me, straight out of the service tab
Also with entity_id
service: zwave_js.set_value
target:
device_id: 69c3646acfb2f0217913779eb317fca3
data:
command_class: '51'
endpoint: '4'
property: hexColor
value: "#ffffff"
This works for me, straight out of the service tab
Yes. Sorry. As I wrote. I had set param 14 to 0.
I am still confused about the entries which is shown as a switch in HA interface.
Has any here created something smart to control the LED?
E.g. searching for a way to let one LED indicate that the alarm is activating by blinking, until the alarm is active. (like for 5 sec)
I can see that is easier now to handle colors in automations.
E.g. like this.
I think there is an buffer-overflow problem in the Matrix 5100… One of mine is allso slowing down.
Allso if you click very quickly repetitive AND the unit is receive info from the Z-Wave network at the same time (e.g change color on LED xx or other stuff), the unit locks up and the last btn show blue LED. Now it will not do anything, before I turn off power to the unit.
Firmware: 1.8, I use Node-Red to control them and have alot of colorchange trafik on the Z-Wave network
I have 10 units, some is 2++ year and other from DEC/22. All have the same problems, but only one is slowing down (an older model)
Hi Jesper,
I just had a minute of vacation to mess a little more with this device and after some investigation with some help i gathered this information.
First i was informed that i might be able to set the warmWhite in the ZwaveJS UI but this was not working. (Source: https://github.com/home-assistant/core/issues/49179 )
Even if someone got it to trigger it didnt now at least.
Then i though okay let me set it through home assistant in the targetColor property but it says that the node doesnt have this function… Nice what to do…
Then there is the hexColor property but that is setting the RGB and can still be used to set the color, but what we have been looking for is the blinking feature.
Since the last time i was messing with it this feature was not available. But the invoke_cc feature actually takes arguments that directly interfaces with the driver API.
Now i tried to modify the driver command
const node = driver.controller.nodes.get(112);
const endpoint = node.getEndpoint(4);
await endpoint.commandClasses["Color Switch"].set({
warmWhite: 148,
red: 255,
green: 0,
blue: 0
});
This command was adjusted with some help but suddenly it worked. I got the device to blink !! Now what do i do from here because i want to do this from home assistant and not ZwaveJS UI…
And here i found out that the invoke_cc api was available.
What i then did was trying to replicate the function by doing this:
service: zwave_js.invoke_cc_api
data:
command_class: 51
endpoint: 3
method_name: set
parameters:
- value:
warmWhite: 146
red: 255
green: 0
blue: 231
target:
entity_id: switch.matrix_office
This actually worked ! So now i have the function working in HA but i also wanted to test an automation just to make sure i wasnt just doing something bogus
I then created this automation that triggers on a button from the ZBA button 1, 2 and 3 and toggles either a blink , non blinking and off
Enjoy
Also please share your cool blinking automations with this device
Interesting with the blinking light. I don’t know when I want to use it.
I have been working on a way to add the led’s as lights, for easier integrate into automations.
See Template example for LED control on a zdb5100 · GitHub
I have borowed from this post Homeseer HSM200 Zwave LED On/Off and Color Control - #41 by kerbs17
But I still need to make it support brightness and maybe the blinking effekt.
I am also considering if I should make it as scripts instead, for easier reuse. I currently have 6 ZDB5100 in my house.
Can someone here maybe help me, as I am quite lost at what is going on.
My setup consist of an old ZDB5100 (firmware 1.6.0) and a new ZDB5100 (firmware 1.9.0). I have all parameters set exactly the same way on the new one as the old one.
The old one, I can make direct control by using zwave_js.set_value. All is good.
With the new one, if I use the exact same call as to the old one, nothing happens. If I use the zwave_js.invoke_cc_api nothing happens. If I manually turn on an LED in HA, by changing parameter 20=follow switch, both the mentioned calls will turn off the LED, but not change to the desired color. So at least there is connection to the dimmer.
Is it simply just a matter of firmware? Or am I missing something?
If it is a matter of firmware. Does anyone know how to get firmware 1.8.0 and if it is possible to downgrade?
Thanks.