It’s possible to change the ramp rate of GE switches, but I’m not sure the best way to do this in smart things. I only really want to set the values once per switch, and I want to use the same value for all my dimmers.
My first thought was to create my own dimmer device type and just throw in a one time setting of these parameters in the “refresh” command. However, this does not seem to be working for me (setting all values to 1):
These do work for me when using the GE remote to set the parameters. Here is the info from the manual:
Dim Rate Adjustments
Both the number of steps (or levels) that the dimmer will change and the timing of the steps can be modified to suit personal preferences. The timing of the steps can be adjusted in 10 millisecond intervals.
1… When Receiving a Z-Wave Dim Command
• Parameter 7 (number of steps or levels)
• Parameter 8 (timing of the steps)
• Length: 1 Byte
• Valid Values:
Parameter 7 (default = 1) Valid Values: 1-99
Parameter 8 (default = 3) Valid Values: 1-255
Manual Control Dimming (pressing the Dimmer’s rocker)
• Parameter 9 (number of steps or levels)
• Parameter 10 (timing of the steps)
• Length: 1 Byte
• Valid Values:
Parameter 9 (default = 1) Valid Values: 1-99 Parameter 10 (default = 3) Valid Values: 1-255
Maybe they’re executing too quickly back to back.
Try reading the values back to see if they’re being set.
There’s some examples of reading parameters in the Fibaro motion sensor device if you don’t have a snippet already…
Thanks for the help @Mike_Maxwell! I’m a lot closer now. I wasn’t able to get anything to set using update() for whatever reason. but I added the following code that is working as expected:
Ideally I can find a way so that these lights will auto update (so if I change the values all the lights in the house using this device type will update as well). I’m guessing that using update() does this? in theory?
updated() is a method that is called from the device tile when the preferences panel is opened and then closed.
So it only would apply to the specific device where the preferences tile was opened, not all of them.
To get all of them at once, you would have to write a smartapp to call updated() (or your custom method) on each one…