VZW32-SN - Dimming command does not scale values against P10 max dim level (and possibly P9)

Context

I have a VZW32-SN where I set P10 to 80 because there is no difference in brightness between 80 and 100 on one of my lights (LED).

(BTW my platform is Homey, it’s not in the list but that’s likely irrelevant to this report).

Observed behavior

When I send a command to dim to 80%, the switch’s internal dimming is set to 80%.

This means dimming down from 100% to 80% on a user interface makes no difference because 80/80 = 1. The LED bar shows 100% as well.

Expected behavior

When I send a command to dim to 80%, I expect the switch to set the absolute dimming value by scaling the configured effective range (concretely:internal_dim = p9 + user_dim * (p10 - p9) / 100, assuming dim in 0..100).

In my scenario, this would set the switch’s internal dimming value to 64, instead of 80. The LED bar would show 64% as well.

Of course the switch would still report a user-facing value of 80%, unless someone updates P9 or P10, at which point the user-facing value is recomputed based on the current internal dimming value.

Note: I have not tried setting p9 to a non-0 value, but I’d suggest verifying whether it is taken into account or not.

@EricM_Inovelli may I ask if you have any thoughts? (and if my understanding of the current behavior is correct)

Yes, your description sounds correct. The scaling occurs internally on the switch and the switch will always support the range of levels of 1-99 (99 is the Z-wave max but most smart home hubs will allow for 100=99%).

would it make sense to enable relative scaling? or offer a toggle parameter to turn that on?

it seems more user friendly to map to the configured range rather than the absolute range. it would also make more sense with regard to the gauge on the LED display, if I’m at max brightness there’s no reason to display anything other than 100% for the person using the switch (even if internally it’s 80%).

I love this idea if it’s feasible. Have always wondered why when I set my switch to 1% (with minimum value set to ~20%) that 20% of the light bar was lit up.

Wouldn’t mind the following behavior if feasible:

  • 0% = full off
  • 1-99% = minimum to maximum value configured in params
  • 100% = full on