Hi @Python,
The LED Strip Effect currently seems to be partially implemented in the LZW30-SN (red/fancy) model, but not the basic LZW30 one I set up. Iām not entirely sure that the basic LZW30 switch supports it - it is variably documented - which is why I hadnāt put it in there.
I had emailed Eric at Inovelli about this channel, and he sent me a spreadsheet to calculate the value to be sent for any given effect. I still donāt know if it is just on the LZW30-SN, or if it also is on the basic LZW30 switch.
I am not sure if I can attach a spreadheet document here, so Iāll describe it instead, and you should be able to re-create it fairly easily.
B2: a text entry box. You could type in Red, Orange, Green, Blue, Pink, Yellow, Cyan
B3: =IF(B2=āRedā,1,IF(B2=āOrangeā,21,IF(B2=āGreenā,85,IF(B2=āBlueā,170,IF(B2=āPinkā,234,IF(B2=āYellowā,42,IF(B2=āCyanā,127,0)))))))
C2: text (number) entry box. I think the values are 1-10
C3: =C2 * 256
D2: Text entry for durations. Options are: 1-10 Seconds, 20, 30, 40, 50, 60 Seconds, 2-4 Minutes, Indefinitely
D3: =IF(D2=ā1 Secondā,1,IF(D2=ā2 Secondsā,2,IF(D2=ā3 Secondsā,3,IF(D2=ā4 Secondsā,4,IF(D2=ā5 Secondsā,5,IF(D2=ā6 Secondsā,6,IF(D2=ā7 Secondsā,7,IF(D2=ā8 Secondsā,8,IF(D2=ā9 Secondsā,9,IF(D2=ā10 Secondsā,10,IF(D2=ā20 Secondsā,20,IF(D2=ā30 Secondsā,30,IF(D2=ā40 Secondsā,40,IF(D2=ā50 Secondsā,50,IF(D2=ā60 Secondsā,60,IF(D2=ā2 Minutesā,120,IF(D2=ā3 Minutesā,180,IF(D2=ā4 Minutesā,240,IF(D2=āIndefinitelyā,255,0))))))))))))))))))) * 65536
E2: Text entry. Options are Slow Blink, Fast Blink, Strobe, Pulse, Solid
E3: =IF(E2=āSlow Blinkā,3,IF(E2=āFast Blinkā,2,IF(E2=āStrobeā,2,IF(E2=āPulseā,4,IF(E2=āSolidā,1,0))))) * 16777216
H1: Config Value (label)
I1: =SUM(B3:E3)
========
So, I1 displays the sum of all B3-E3, and the switch will then decode this to display the desired effect.
The color value is the color wheel value /128
The duration value is the number of seconds * 65536
Of note, the notification style seems to have some typos in it. There are two options with a value of ā2ā. I imagine one should read either zero or 5⦠Iām unable to test this currently.
The reason I didnāt code this into the z-wave database as I couldnāt decide how to go about it. If looking to have a more robust system that canāt be broken, I think weād be limited to manually calculating each of the desired combinations, and entering them individually. Ugh. Perhaps one of the z-wave database gurus could chime in on if there is a way to programatically do this by simply choosing colours/durations/effect names/ etc, similar to what the spreadsheet would have you do.
The other option, potentially easier and leaving more freedom for the end user, is to simply pass on the number. The end user decides how to configure this, and the light switch tries to decode it, with openhab simply passing the value on.
==
Quickly creating some options from a spreadsheet, all at level 5:
52299009 Red Slow Blink 30 sec
35521793 Red Fast Blink 30 sec
35521793 Red Strobe 30 sec
69076225 Red Pulse 30 sec
18744577 Red Solid 30 sec
52299029 Orange Slow Blink 30 sec
35521813 Orange Fast Blink 30 sec
35521813 Orange Strobe 30 sec
69076245 Orange Pulse 30 sec
18744597 Orange Solid 30 sec
52299093 Green Slow Blink 30 sec
35521877 Green Fast Blink 30 sec
35521877 Green Strobe 30 sec
69076309 Green Pulse 30 sec
18744661 Green Solid 30 sec
52299178 Blue Slow Blink 30 sec
35521962 Blue Fast Blink 30 sec
35521962 Blue Strobe 30 sec
69076394 Blue Pulse 30 sec
18744746 Blue Solid 30 sec
52299242 Pink Slow Blink 30 sec
35522026 Pink Fast Blink 30 sec
35522026 Pink Strobe 30 sec
69076458 Pink Pulse 30 sec
18744810 Pink Solid 30 sec
52299050 Yellow Slow Blink 30 sec
35521834 Yellow Fast Blink 30 sec
35521834 Yellow Strobe 30 sec
69076266 Yellow Pulse 30 sec
18744618 Yellow Solid 30 sec
52299135 Cyan Slow Blink 30 sec
35521919 Cyan Fast Blink 30 sec
35521919 Cyan Strobe 30 sec
69076351 Cyan Pulse 30 sec
18744703 Cyan Solid 30 sec
Or all at level 10:
52300289 Red Slow Blink 30 sec
35523073 Red Fast Blink 30 sec
35523073 Red Strobe 30 sec
69077505 Red Pulse 30 sec
18745857 Red Solid 30 sec
52300309 Orange Slow Blink 30 sec
35523093 Orange Fast Blink 30 sec
35523093 Orange Strobe 30 sec
69077525 Orange Pulse 30 sec
18745877 Orange Solid 30 sec
52300373 Green Slow Blink 30 sec
35523157 Green Fast Blink 30 sec
35523157 Green Strobe 30 sec
69077589 Green Pulse 30 sec
18745941 Green Solid 30 sec
52300458 Blue Slow Blink 30 sec
35523242 Blue Fast Blink 30 sec
35523242 Blue Strobe 30 sec
69077674 Blue Pulse 30 sec
18746026 Blue Solid 30 sec
52300522 Pink Slow Blink 30 sec
35523306 Pink Fast Blink 30 sec
35523306 Pink Strobe 30 sec
69077738 Pink Pulse 30 sec
18746090 Pink Solid 30 sec
52300330 Yellow Slow Blink 30 sec
35523114 Yellow Fast Blink 30 sec
35523114 Yellow Strobe 30 sec
69077546 Yellow Pulse 30 sec
18745898 Yellow Solid 30 sec
52300415 Cyan Slow Blink 30 sec
35523199 Cyan Fast Blink 30 sec
35523199 Cyan Strobe 30 sec
69077631 Cyan Pulse 30 sec
18745983 Cyan Solid 30 sec
I just added the necessary parameter 8 to the zwave database entry for the LZW30 which would be needed to support this. Once the database has been updated (?this weekend), then if you update your zwave snapshot, you could give it a try. If, on the other hand, you have the LZW30-SN scenes+notification fancy switch, you may be able to try it right away - although you would probably need to manually go into the zwave archive file and modify the device file to remove the bitmask on parameter 8⦠It appears as that parameter wasnāt working on the LZW30-SN, @sihui had locked it off.
Hope this helps!