The newest version of node-zwave-js now has the updated configs for the LED notifications. I created a script to set the various options, and a template device that should handle calculating duration.
The latest update for Home Assistant Add-on: Z-Wave JS updates it to 6.6.3.
Changelog
0.1.13
Bump Z-Wave JS Server to 1.2.1
Pin Z-Wave JS to version 6.6.3
Unpin Z-Wave JS dependencies
I haven’t created a blueprint yet and I don’t feel ready to start with this one. Does anyone feel like creating a blueprint for this?
I have tested and confirm you can set a property with Zwave JS.
You need to do one property at a time, my script below is basic and turns the LED of a dimmer switch to green and makes it flash.
alias: TEST Change LED
sequence:
- service: zwave_js.set_config_parameter
data:
value: 3
parameter: ‘16’
bitmask: 2130706432
target:
entity_id:
- light.globe
- service: zwave_js.set_config_parameter
data:
parameter: ‘16’
value: 0
bitmask: 65280
target:
entity_id: light.globe
- service: zwave_js.set_config_parameter
data:
parameter: ‘16’
value: 255
bitmask: 16711680
target:
entity_id: light.globe
- service: zwave_js.set_config_parameter
data:
parameter: ‘16’
value: 10
bitmask: 65280
target:
entity_id: light.globe
mode: single
This is straight ZwaveJS and not using MQTT or nodered.
Sweet dude! Can we mark this as solved? Nice work
I marked it as solved! Thank you so much for your help and products!
Awesome! That’s great news – we couldn’t build these products without you – team effort!
Home assistant added another way to set partial parameters which is more efficient. I just switched to zwavejs and it took me awhile to find a solution so sharing it here in case anyone else stumbles on this thread.
- service: zwave_js.bulk_set_partial_config_parameters
target:
entity_id:
- light.inovelli_lzw31_sn_dimmer_red_series_level
- light.inovelli_lzw31_sn_dimmer_red_series_level_2
- light.inovelli_lzw31_sn_dimmer_red_series_level_3
- light.inovelli_lzw31_sn_dimmer_red_series_level_4
- light.inovelli_lzw31_sn_dimmer_red_series_level_5
- light.dining_room
data:
parameter: '16'
value:
'255': Red
'65280': 100%
'16711680': 255
'2130706432': Slow Blink
You can find the list of partial values for parameter 16 on the following page: https://devices.zwave-js.io/
I think you can enter either the value or the label ( ex 0 or Red). In my case, I used the labels so it’s easier to follow.
The configuration also lists 0xff, 0xff00, etc as the mask value which I used initially but then it set to the integer value (255, 65280, etc) after I saved the automaton.
I also like how I can list multiple target entity for the same notifications.
Just followed your solution here. This worked great and is way easier than it used to be. Thanks!
Just found this and wanted to say that it is exactly what I was looking for! Thank you!
Using this simple service call in Home Assistant worked great. Thank you!