Jump to content
c4forums | The Control4 Community

Conditionals not working as planned


Brian Bain

Recommended Posts

Any suggestions on how to get this to work?  I want the top button to turn the light on if it's off, and turn it off if it's on.  Right now the light goes on and then off.  it seems the stop command is not stopping it from running the second conditional?

 

post-135053-0-37457700-1449003624_thumb.

Link to comment
Share on other sites


In advanced lighting add an on scene & an off scene with the selected lights in both

In the on scene at the top in "toggle scene" use the drop down & select the off scene

Then in connections bind the button to the toggle scene

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Or just toggle the light itself instead on or off. Why bother making a scene. Connection is best but requires Pro.

 

I can tell you the reason though - you're programming this on a switch or dimmer, and it's activating the default command (being on) after the programming.

Programming does NOT override a devices default commands.

 

The device will need to be set to detach buttons.

Link to comment
Share on other sites

Thanks found toggle!

 

Unfortunately Toggle doesn't seem to work either.   Probably because of the default behavior can't be overwritten?

 

Sounds like I won't be able to do this without Pro?

 

Yes, for the exact same reason.

 

I can't speak for your dealer, but some of the guys on here could alternatively help you disconnecting that button - it takes longer to log in than to change that setting.....

Link to comment
Share on other sites

If I'm understanding correctly what Cy is saying, you can do what you need from HE (I'm assuming you're using HE based on your original screen shot).  I'm not at home to see the exact screen but if memory serves, there's a checkbox or radio button option in the properties for your switch/dimmer that let's you select you want to use it as a Keypad (and disconnect it from controlling the load).

Link to comment
Share on other sites

If I'm understanding correctly what Cy is saying, you can do what you need from HE (I'm assuming you're using HE based on your original screen shot).  I'm not at home to see the exact screen but if memory serves, there's a checkbox or radio button option in the properties for your switch/dimmer that let's you select you want to use it as a Keypad (and disconnect it from controlling the load).

 

Very possible - I'll not claim being knowing all the ins and outs of HE. Not that I stated a CONNECTION required Pro - not the button detach :)

Link to comment
Share on other sites

if you are looking to program this to toggle the light i would do this. this would not need a dealer but would help defeat the binding

 

create a new variable

programming should look like this.

 

When button is pressed

 

If Variable is true

    delay 1 secound

    turn off light 

   set variable to false

   stop

set variable to true

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...