03-10-2017, 03:30 PM
We are currently writing in to Comfort control of some swish curtains we have, and this has prompted some questions about the use and design of responses:
Do LivingPwrON [Cbus RampInst UCM03 23 255]
Do LivingPwrOFF After 15 Seconds Using Curtains2 [Cbus RampInst UCM03 23 0]
Unbypass Lounge
How do I get the ââ¬Ëunbypass responseââ¬â¢ to wait till all commands are complete before completing?
- If we write a response with the wizard which uses a CBus command, does that CBus command needs to be in a response in order to use the ââ¬ËDoââ¬â¢ command? If I was to edit the command manually would it be permissible to write: Do Cbus RampInst UCM03 23 0 after 15 seconds using curtain2 or some similar statement?
- The curtains we are using have toggle logic built in. So we apply a voltage for ~10 seconds, this drives the motor till the curtains are closed. It senses the end of travel and stops the motor. The next time the power is applied to the motor the curtains travel in the opposite direction till fully open, and so on back and forth each time power is supplied for a period. The only way to keep track of curtain position is to have a flag change state each time, which can sometimes get out of synch. My question is would it be better to use the blinds function for this purpose as that is, I believe, stateful?
- This code unbypasses before the curtains have stopped moving, thus setting off the alarm:
Do LivingPwrON [Cbus RampInst UCM03 23 255]
Do LivingPwrOFF After 15 Seconds Using Curtains2 [Cbus RampInst UCM03 23 0]
Unbypass Lounge
How do I get the ââ¬Ëunbypass responseââ¬â¢ to wait till all commands are complete before completing?

