Jump to content
C4 Forums | Control4

Modes Agent Cintegration


Drake0508

Recommended Posts


I have never used the modes agent. Will look into it. However, I have created “Modes” many times with simple programming.
Using a variable, you can set conditionals “modes” based on events. Like time of day, button press, alarm armed or disarmed, and the list is endless.
Happy to help walk you through it




Happy Automating!!

Link to comment
Share on other sites

Ok, do you have composer express ?

If so, go to the agents tab, select variables and create a Boolean variable. Call it “Night Mode”.

Now select the programming tab on bottom left of screen.
Scroll to device or event that you want to trigger night mode. Ok right side select variables. Then “Night mode”. Now select true radio button. Drag green arrow into center of screen. Should read; When (Your event here) is changed, set variable Night Mode to true.

Repeat for false on you disable night mode event.

You could also select toggle instead of set to true. This means every time your event happens, it will toggle between true and false.



Now, in the programming tab, scroll to the programming that currently runs, the one you want to be on day mode only, and select it. Now, on right side of screen, scroll to variables and expand. it. Then select your “Night Mode” variable. Below you will select the tab “Conditionals” then select the radio button “true”. Now take the blue ? Above it and drag it to the top of the Center of screen. Just above all of the programming in there. Now drag each section of programming green arrow or blue ? On top of the new blue ? “When the Variable Night Mode is true”. It should populate below the ? Indented.

Now when night mode is true. It will run your programming. If it is false, nothing will happen.




Happy Automating!!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.