Modify Ramp Rate on GE (Jasco) Dimmers

@ultrazero I don’t mind, I’ll link it in a second, but because I’m lazy and this is a 1-off thing let me explain the hacky thing I did.

  1. I added the accompanying code as a “my device type” (i cloned the dimmer switch and added the 2 functions that @chrisdrackett originally posted)
  2. (here’s the hacky party) I modified the two methods for changing the light status.
    2a) I made “indicatorNever” also call "listCurrentParams()"
    2b) I made "indicatorWhenOff() also call “updateRamp()”
  3. I saved /published the device type
  4. I went to a dimmer in “my devices”, clicked “Edit” and switched the Device Type to the device type I created
  5. I pulled up the Logs interface on the web UI
  6. on my phone, I brought up the device, I toggled through the indicator light modes and watched the log interface for updates. I saw the initial default values, then when I cycled through again, i saw the updated values from updateRamp()

That’s pretty much it. The code listing in its entirety:

2 Likes