Jump to content
Drake0508

Modes Agent Cintegration

Recommended Posts

Can anyone comment on the Modes Agent? I came from a DIY system. It was really unreliable but it ran based on modes. It was really nice to program sensors to do different things based on the mode of the house. Just wondering if this is similar. 

Share this post


Link to post
Share on other sites

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!!

Share this post


Link to post
Share on other sites

That is awesome. I have automations that I don’t want to happen until that mode changes. Not time of day. Or sunset, but the second we want our home in “Night” mode. 

Share this post


Link to post
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!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×