Dim & Bright Commands
Posted: Mon Oct 06, 2003 6:15 pm
Dear All,
I'm trying to figure out how the Dim and Bright commands are being treated. I don't have the fancy Leviton style modules as I'm in Australia. My Lamp module can receive On, Off, Dim and Bright commands.
If I send A;2;On it turns on the lamp. Then if I A;2;Dim;20 it dims nicely to off, then I can send A;2;Bright;20 and nicley turns up to full brightness.
My problem is that I'm trying to write a script for a slider control to control the Brightness of the lamp and need to send commands for those inbetween stages between off and on.
Are the Dim and Bright commands relative or absolute? Can anyone give me an explanation as to how they work, or point me towards an explanation ?
Many thanks in advance.
Dave.
I'm trying to figure out how the Dim and Bright commands are being treated. I don't have the fancy Leviton style modules as I'm in Australia. My Lamp module can receive On, Off, Dim and Bright commands.
If I send A;2;On it turns on the lamp. Then if I A;2;Dim;20 it dims nicely to off, then I can send A;2;Bright;20 and nicley turns up to full brightness.
My problem is that I'm trying to write a script for a slider control to control the Brightness of the lamp and need to send commands for those inbetween stages between off and on.
Are the Dim and Bright commands relative or absolute? Can anyone give me an explanation as to how they work, or point me towards an explanation ?
Many thanks in advance.
Dave.