Is there any additional change the way the LED value is calculate from 800-series to the previous one ?
When I send a command to change the parameter 99 the led BLINK one time in teal color and that is it. If
I send the same message to the previous series (on off or dimmer on the respective parameter for that series) it retain the command (color/intensity/effect/etc) and works properly.
Thank you. The math that I am using is color + (level * 256) + (duration * 65536) + (effect * 16777216).
it would be good to have the required math documented for this series, or even better, have the same logic of the previous dimmer series. I understand (don’t agree) about having different parameters for each device but the math behavior should be the same. Maybe these is still time to change as the current FW version is 1.0.
Got it, just need to change the color and duration position. Thank you!
Some Feedback: I still believe the byte order should be the same as the previous series.
LZW31-SN, LZW36 and LZW30-SN follow the same byte order, I don’t see a reason (from a usage and maintenance perspective) to change it on the VZW31. Now it is too late to follow a standard for the parameter number but it makes sense for the LED byte composition, we are still on FW 1.0.
Understood. Please don’t change the behavior for each generation. If you still want to improve this logic you could add an additional parameter in the next FW asking what the behavior should be, similar to parameter 100 (LED Brightness Scaling behavior).
All the Lxxxx models are the same and all the Vxxxx models are the same. The VZW31 uses the same byte order as the VZM31 since they are both built from the same base hardware and firmware. And the VZM31 (Project code “New Horizon”) represented the new direction of development and innovation going forward. Not with regards to the radio, but with regards to features and functionality. The gen3 devices (Vxxxx) have a lot more functionality (and many more parameters) than the gen2 devices (Lxxxx). There was some attempt to preserve parameter settings, but with so many new features be became impossible to maintain complete parity between generations.
The VZW31 and the LZW31 may both be Zwave, BUT the VZW31 is much more similar to the VZM31 than it is to the LZW31. It makes sense for new devices going forward to try to mimic the 3rd generation rather than mimic the end-of-life 2nd generation.
One thing I can’t answer is why the byte order changed between gen2 and gen3. IMHO putting the ‘effect’ parameter first is better because it allows the other parameters to be optional. But whatever the reason was, I think new devices should follow the new format regardless of which radio is used.
The way I do it is by having a default effect/color/brightness and setting this value to all devices.
Depending on the time of the day some of these values may change (e.g. reducing brightness between 6PM and AM).
Pushing that button sets the parameter to the default value that was put into the zwave-js database. It doesn’t tell the switch to put the parameter back to default.
Sure, it could. But it’s just writing a default value to the parameter, it’s not telling the switch to reset the parameter. You could watch the log to see what it sends.
The defaults for the 4 sub-parameters (duration, level, color, effect) in the zwavejs config file are all 0, so it seems like the reset button would write zero. I didn’t try to log what it actually writes.