Hi all,
I am in the process of setting up a new Inovelli lightstrip (LZW45), but I seem to be having some trouble properly setting configuration paramers to utilize the custom effects.
I’ve used this super handy page to determine what the proper values should be set to in each of the 4 parameters.
For example, just using what Inovelli has in their KB on the subject of custom effects, I’m using:
Parameter 22: 8802
Parameter 23: 25443
Parameter 24: 257
Parameter 30: 255
Now, with the Zwave JS integration, I’ve read that the proper way to set these parameters thru HA is to utilize the ZWAVE_JS.BULK_SET_PARTIAL_CONFIG_PARAMETERS
service.
I’ve built a super simple script that should be applying the values above with the bulk change service:
alias: Bulk Light Strip Test
sequence:
- service: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: light.light_strip
data:
value: 8802
parameter: '22'
- service: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: light.light_strip
data:
value: 25443
parameter: '23'
- service: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: light.light_strip
data:
value: 257
parameter: '24'
- service: zwave_js.bulk_set_partial_config_parameters
target:
entity_id: light.light_strip
data:
value: 255
parameter: '30'
mode: single
Now, this script right now does nothing to my lights. supposedly, they should be flashing like a police car or something.
Here are some logs I have collected when attempting to run the script above.
Home Assistant Zwave JS Logs (set to the “Silly” log level):
Subscribed to Z-Wave JS Log Messages…
2021-10-25T01:34:44.094Z SERIAL » 0x010d00130e06700416022262254fa3 (15 bytes)
2021-10-25T01:34:44.095Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 79
└─[ConfigurationCCSet]
parameter #: 22
reset to default: false
value size: 2
value format: SignedInteger
value: 8802
2021-10-25T01:34:44.096Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:44.103Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:44.103Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.104Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:44.117Z SERIAL « 0x010700134f000001a5 (9 bytes)
2021-10-25T01:34:44.117Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.118Z DRIVER « [REQ] [SendData]
callback id: 79
transmit status: OK
2021-10-25T01:34:44.128Z SERIAL » 0x010d00130e067004170263632550fd (15 bytes)
2021-10-25T01:34:44.129Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 80
└─[ConfigurationCCSet]
parameter #: 23
reset to default: false
value size: 2
value format: SignedInteger
value: 25443
2021-10-25T01:34:44.132Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:44.138Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:44.138Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.139Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:44.152Z SERIAL « 0x0107001350000002b9 (9 bytes)
2021-10-25T01:34:44.152Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.153Z DRIVER « [REQ] [SendData]
callback id: 80
transmit status: OK
2021-10-25T01:34:44.165Z SERIAL » 0x010d00130e067004180201012551f3 (15 bytes)
2021-10-25T01:34:44.166Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 81
└─[ConfigurationCCSet]
parameter #: 24
reset to default: false
value size: 2
value format: SignedInteger
value: 257
2021-10-25T01:34:44.168Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:44.174Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:44.175Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.176Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:44.188Z SERIAL « 0x0107001351000002b8 (9 bytes)
2021-10-25T01:34:44.189Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.189Z DRIVER « [REQ] [SendData]
callback id: 81
transmit status: OK
2021-10-25T01:34:44.200Z SERIAL » 0x010d00130e0670041e0200ff255209 (15 bytes)
2021-10-25T01:34:44.201Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 82
└─[ConfigurationCCSet]
parameter #: 30
reset to default: false
value size: 2
value format: SignedInteger
value: 255
2021-10-25T01:34:44.203Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:44.210Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:44.210Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.211Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:44.224Z SERIAL « 0x0107001352000002bb (9 bytes)
2021-10-25T01:34:44.224Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:44.225Z DRIVER « [REQ] [SendData]
callback id: 82
transmit status: OK
2021-10-25T01:34:45.125Z SERIAL » 0x010a00130e037005162553fe (12 bytes)
2021-10-25T01:34:45.125Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 83
└─[ConfigurationCCGet]
parameter #: 22
2021-10-25T01:34:45.127Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:45.133Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:45.134Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.135Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:45.147Z SERIAL « 0x0107001353000001b9 (9 bytes)
2021-10-25T01:34:45.148Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.148Z DRIVER « [REQ] [SendData]
callback id: 83
transmit status: OK
2021-10-25T01:34:45.160Z SERIAL « 0x010e0004000e08700616040000000097 (16 bytes)
2021-10-25T01:34:45.162Z CNTRLR [Node 014] [~] [Configuration] 22[7]: 0 => 0
2021-10-25T01:34:45.163Z CNTRLR [Node 014] [~] [Configuration] 22[248]: 0 => 0
2021-10-25T01:34:45.165Z CNTRLR [Node 014] [~] [Configuration] 22[1792]: 0 => 0
2021-10-25T01:34:45.166Z CNTRLR [Node 014] [~] [Configuration] 22[63488]: 0 => 0
2021-10-25T01:34:45.167Z CNTRLR [Node 014] [~] [Configuration] 22[458752]: 0 => 0
2021-10-25T01:34:45.168Z CNTRLR [Node 014] [~] [Configuration] 22[16252928]: 0 => 0
2021-10-25T01:34:45.169Z CNTRLR [Node 014] [~] [Configuration] 22[117440512]: 0 => 0
2021-10-25T01:34:45.170Z CNTRLR [Node 014] [~] [Configuration] 22[4160749568]: 0 => 0
2021-10-25T01:34:45.172Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.172Z DRIVER « [Node 014] [REQ] [ApplicationCommand]
└─[ConfigurationCCReport]
parameter #: 22
value size: 4
value: 0
2021-10-25T01:34:45.177Z SERIAL » 0x010a00130e037005172554f8 (12 bytes)
2021-10-25T01:34:45.177Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 84
└─[ConfigurationCCGet]
parameter #: 23
2021-10-25T01:34:45.180Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:45.186Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:45.186Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.187Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:45.200Z SERIAL « 0x0107001354000002bd (9 bytes)
2021-10-25T01:34:45.200Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.201Z DRIVER « [REQ] [SendData]
callback id: 84
transmit status: OK
2021-10-25T01:34:45.211Z SERIAL « 0x010e0004000e08700617040000000096 (16 bytes)
2021-10-25T01:34:45.213Z CNTRLR [Node 014] [~] [Configuration] 23[127]: 0 => 0
2021-10-25T01:34:45.215Z CNTRLR [Node 014] [~] [Configuration] 23[32512]: 0 => 0
2021-10-25T01:34:45.216Z CNTRLR [Node 014] [~] [Configuration] 23[8323072]: 0 => 0
2021-10-25T01:34:45.218Z CNTRLR [Node 014] [~] [Configuration] 23[2130706432]: 0 => 0
2021-10-25T01:34:45.219Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.220Z DRIVER « [Node 014] [REQ] [ApplicationCommand]
└─[ConfigurationCCReport]
parameter #: 23
value size: 4
value: 0
2021-10-25T01:34:45.224Z SERIAL » 0x010a00130e037005182555f6 (12 bytes)
2021-10-25T01:34:45.225Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 85
└─[ConfigurationCCGet]
parameter #: 24
2021-10-25T01:34:45.228Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:45.233Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:45.234Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.234Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:45.247Z SERIAL « 0x0107001355000001bf (9 bytes)
2021-10-25T01:34:45.247Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.247Z DRIVER « [REQ] [SendData]
callback id: 85
transmit status: OK
2021-10-25T01:34:45.259Z SERIAL « 0x010e0004000e08700618040000000099 (16 bytes)
2021-10-25T01:34:45.260Z CNTRLR [Node 014] [~] [Configuration] 24[63]: 0 => 0
2021-10-25T01:34:45.261Z CNTRLR [Node 014] [~] [Configuration] 24[16128]: 0 => 0
2021-10-25T01:34:45.262Z CNTRLR [Node 014] [~] [Configuration] 24[4128768]: 0 => 0
2021-10-25T01:34:45.263Z CNTRLR [Node 014] [~] [Configuration] 24[1056964608]: 0 => 0
2021-10-25T01:34:45.264Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.265Z DRIVER « [Node 014] [REQ] [ApplicationCommand]
└─[ConfigurationCCReport]
parameter #: 24
value size: 4
value: 0
2021-10-25T01:34:45.268Z SERIAL » 0x010a00130e0370051e2556f3 (12 bytes)
2021-10-25T01:34:45.269Z DRIVER » [Node 014] [REQ] [SendData]
│ transmit options: 0x25
│ callback id: 86
└─[ConfigurationCCGet]
parameter #: 30
2021-10-25T01:34:45.271Z SERIAL « [ACK] (0x06)
2021-10-25T01:34:45.277Z SERIAL « 0x0104011301e8 (6 bytes)
2021-10-25T01:34:45.277Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.278Z DRIVER « [RES] [SendData]
was sent: true
2021-10-25T01:34:45.291Z SERIAL « 0x0107001356000002bf (9 bytes)
2021-10-25T01:34:45.291Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.292Z DRIVER « [REQ] [SendData]
callback id: 86
transmit status: OK
2021-10-25T01:34:45.304Z SERIAL « 0x010e0004000e0870061e04000000009f (16 bytes)
2021-10-25T01:34:45.305Z CNTRLR [Node 014] [~] [Configuration] 30[255]: 0 => 0
2021-10-25T01:34:45.306Z CNTRLR [Node 014] [~] [Configuration] 30[65280]: 0 => 0
2021-10-25T01:34:45.306Z CNTRLR [Node 014] [~] [Configuration] 30[16711680]: 0 => 0
2021-10-25T01:34:45.307Z SERIAL » [ACK] (0x06)
2021-10-25T01:34:45.307Z DRIVER « [Node 014] [REQ] [ApplicationCommand]
└─[ConfigurationCCReport]
parameter #: 30
value size: 4
value: 0
From the ZWave JS Debug Window (I think this is set to just debug):
2021-10-24 20:34:41.497 INFO ZWAVE-SERVER: Stopping logging event forwarder
2021-10-24 20:34:42.169 INFO ZWAVE-SERVER: Starting logging event forwarder at silly level
2021-10-24 20:34:45.163 INFO ZWAVE: Node 14: value updated: 112-0-22-7 0 => 0
2021-10-24 20:34:45.164 INFO ZWAVE: Node 14: value updated: 112-0-22-248 0 => 0
2021-10-24 20:34:45.165 INFO ZWAVE: Node 14: value updated: 112-0-22-1792 0 => 0
2021-10-24 20:34:45.166 INFO ZWAVE: Node 14: value updated: 112-0-22-63488 0 => 0
2021-10-24 20:34:45.167 INFO ZWAVE: Node 14: value updated: 112-0-22-458752 0 => 0
2021-10-24 20:34:45.169 INFO ZWAVE: Node 14: value updated: 112-0-22-16252928 0 => 0
2021-10-24 20:34:45.170 INFO ZWAVE: Node 14: value updated: 112-0-22-117440512 0 => 0
2021-10-24 20:34:45.171 INFO ZWAVE: Node 14: value updated: 112-0-22-4160749568 0 => 0
2021-10-24 20:34:45.214 INFO ZWAVE: Node 14: value updated: 112-0-23-127 0 => 0
2021-10-24 20:34:45.216 INFO ZWAVE: Node 14: value updated: 112-0-23-32512 0 => 0
2021-10-24 20:34:45.217 INFO ZWAVE: Node 14: value updated: 112-0-23-8323072 0 => 0
2021-10-24 20:34:45.218 INFO ZWAVE: Node 14: value updated: 112-0-23-2130706432 0 => 0
2021-10-24 20:34:45.261 INFO ZWAVE: Node 14: value updated: 112-0-24-63 0 => 0
2021-10-24 20:34:45.262 INFO ZWAVE: Node 14: value updated: 112-0-24-16128 0 => 0
2021-10-24 20:34:45.263 INFO ZWAVE: Node 14: value updated: 112-0-24-4128768 0 => 0
2021-10-24 20:34:45.264 INFO ZWAVE: Node 14: value updated: 112-0-24-1056964608 0 => 0
2021-10-24 20:34:45.305 INFO ZWAVE: Node 14: value updated: 112-0-30-255 0 => 0
2021-10-24 20:34:45.306 INFO ZWAVE: Node 14: value updated: 112-0-30-65280 0 => 0
2021-10-24 20:34:45.307 INFO ZWAVE: Node 14: value updated: 112-0-30-16711680 0 => 0
To me, it looks like there are no parameters actually being set, but I’m not exactly 100% sure what I’m looking at. Is anyone able to offer any insight here? am I doing something wrong? or maybe I found an issue with Zwave JS/HA?
Anyways, first post here so let me know if I can add/change anything to make this easier for folks to take a look into.
Here’s my setup - both zwave js and home assistant in docker containers:
Home Assistant: core-2021.10.6
zwavejs2mqtt*: 5.9.0
zwave-js: 8.5.0.
*I’m not using mqtt between ha and zwjs, but I have the Home Assistant “WS Server” checked in the zwave js settings to allow for the integration to work.