View Full Version : dim through serial
nickrusanov
18 May 07, 04:23 PM
what I do now is rs232 integration of newest Pronto (through wifi and serial extender talking to PAC). What I need is that pressing pronto button - lamp dims, releasing - endramp.
i do understand ON-OFF functions from "serial example", but is there any chance to dim, using Logic?
what I know is SetLightingLevel or State, but no alternatives to Upkey, Downkey or ENDRAMP commands.
:confused:
Darren
21 May 07, 12:48 PM
It isn't clear exactly what you are wanting to do. I take it that you want to emulate a "dimmer" key function on a Pronto.
It should be possible to do this in logic. You would need to get the Pronto to send commands to tell the PAC that the key has been pressed or released. In the PAC, you will need to write code to emulate the "key state machine" to ramp the group level up and down.
nickrusanov
24 May 07, 03:21 PM
It isn't clear exactly what you are wanting to do. I take it that you want to emulate a "dimmer" key function on a Pronto.
It should be possible to do this in logic. You would need to get the Pronto to send commands to tell the PAC that the key has been pressed or released. In the PAC, you will need to write code to emulate the "key state machine" to ramp the group level up and down.
you are right about dimming function. dim up or dim down would be good either.
but as i know at the moment - group could be ramped at _certain_ level, but not UP or DOWN in logic. am I right?
Darren
25 May 07, 10:08 AM
but as i know at the moment - group could be ramped at _certain_ level, but not UP or DOWN in logic. am I right?
To ramp a group up :
SetLightingLevel("Group 1", 100%, "4s");
To ramp a group down :
SetLightingLevel("Group 1", 0%, "4s");
To stop the group ramping :
SetLightingLevel("Group 1", GetLightingLevel("Group 1"), 0);
nickrusanov
29 May 07, 08:34 PM
oh, thank you =)
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.