Insteon Programming PLM Basics X10  PLM Receiving Insteon Commands Ramp Rates Devices  i2cs  Deus Ex Machina

Ramp Rates

The Ramp Rate for a dimmer is how fast it will turn on or off. These values can be useful when linking devices. When reading this table, the value in the Ramp Rate column corresponds to on/off time given in the Time column. For example, if the Ramp Rate is 0x0F (15), the device will take 38.5 seconds to turn on/off.
      
Time Ramp Rate Half Rate 100% ON at Rate
9 min* 0x00 0    
8 min 0x01 1 0x00 0 240
7 min 0x02 2    
6 min 0x03 3 0x01 1 241
5 min 0x04 4    
4.5 min 0x05 5 0x02 2 242
4 min 0x06 6    
3.5 min 0x07 7 0x03 3 243
3 min 0x08 8    
2.5 min 0x09 9 0x04 4 244
2 min 0x0A 10    
1.5 min 0x0B 11 0x05 5 245
1 min 0x0C 12    
47 sec 0x0D 13 0x06 6 246
43 sec 0x0E 14    
38.5 sec 0x0F 15 0x07 7 247
34 sec 0x10 16    
32 sec 0x11 17 0x08 8 248
30 sec 0x12 18    
28 sec 0x13 19 0x09 9 249
26 sec 0x14 20    
23.5 sec 0x15 21 0x0A 10 250
21.5 sec 0x16 22    
19 sec 0x17 23 0x0B 11 251
8.5 sec 0x18 24    
6.5 sec 0x19 25 0x0C 12 252
4.5 sec 0x1A 26    
2.0 sec 0x1B 27 0x0D 13 253
0.5 sec 0x1C 28    
0.3 sec 0x1D 29 0x0E 14 254
0.2 sec 0x1E 30    
0.1 sec 0x1F 31 0x0F 15 255

* SwitchLinc Dimmers V4.35 and up treat a ramp rate setting of 0x00 as a 2 second ramp rate. All other ramp rate settings operate as listed on the table. This was changed by Smarthome to work around a default setting in the ISY.

Newer devices (e.g. LampLinc V4.1 and up) also have two commands called "Light ON at Ramp Rate" and "Light OFF at Ramp Rate". Rather than using the preset ramp rate for the device, these commands specify both a level and ramp rate in command2. Since both kinds of information will be transmitted in a single byte, each must be compressed to a 4-bit value. The Half Rate in the table above gives the value for the Rate part. The Level will be sent in the high bits. For example:

11111101 = full on (1111 = 240) in 2 seconds (1101 = 0x0D = 13).
00000101 = full off (0000 = 0) in 1.5 minutes (0101 = 0x05 = 5).
10001101 = 56% on (1000 = 143) in 2 seconds (1101 = 0x0D = 13).

The level is simply the high bits that would normally be set, plus 0x0F (1111). For example in the last example above, the high bits are 1000 so the actual level the light will go to is 10001111 = 143. This means that the Light ON at Ramp Rate command can never set a light to a level lower than 00001111 = 15 (about 6% on).

To turn the light off, just use the value in the Half Rate column by itself with the Light OFF at Ramp Rate command.
To turn the light on to 100%, use the value in the 100% ON at Rate column, which has 1111 for the level bits.

Light ON at Ramp Rate is command 0x2E (46).
Light OFF at Ramp Rate is command 0x2F (47).