There are two things I would like to add to my dimmer devices that are created by the plugin I wrote for LiteTouch (modified from the RadioRA code).
- Logarithmic dimming. I use LED’s in most of my lights. 10% is nearly half brightness, but if I dim them manually with the buttons I can get a very dim glow on them. There are 250 dimming levels. I’m converting, rounding, and formatting the dimming levels from the slider using this and it works great:
local rawTarget
rawTarget = (string.format( "%03d", (string.format("%." .. 0 .. "f", lul_settings.newLoadlevelTarget*2.5))))
Maybe I just need higher resolution on the dimmer slider? Is it possible to change this?
- Fade rate. LiteTouch supports adding an option to the command which will fade the lights over a period of 0-3600 seconds. Actually, this would be more useful in scenes, like fading the kitchen, hall, and stair lights off over 5 minutes after I arm the alarm at night to give me time to get upstairs to my room.