Modes

So I finally got my Vera3 and I’m enjoying playing around, but I have a question: One of the cooler features of Smartthings is modes. They work similar to alarms in that they allow you to define your status “I’m home”, “Away”, etc… Similar to how alarms work. In reality they seem to work like scenes with 1 exception; they can impact other scenes. E.g. If I set my home to away, I can have scheduled actions not happen since i’m not home. Obviously, this could probably be accomplished through some global variables and luup (or lua?) code, but that doenst look like it would work with existing plugins.

If there an easier way to accomplish this in Vera?

Many thanks!

[quote=“boojew, post:1, topic:180480”]So I finally got my Vera3 and I’m enjoying playing around, but I have a question: One of the cooler features of Smartthings is modes. They work similar to alarms in that they allow you to define your status “I’m home”, “Away”, etc… Similar to how alarms work. In reality they seem to work like scenes with 1 exception; they can impact other scenes. E.g. If I set my home to away, I can have scheduled actions not happen since i’m not home. Obviously, this could probably be accomplished through some global variables and luup (or lua?) code, but that doenst look like it would work with existing plugins.

If there an easier way to accomplish this in Vera?

Many thanks![/quote]

Most people do that with a Virtual Switch, available at the MiOS Marketplace

ok sorry - mandatory dumb follow up question: So, let’s say I set the switch to off, would I use this to then disable other scheduled scenes or can I have scenes check the status of the switch and behave in different ways?

You can enable or disable scene actions based on the status of many different things. See Conditional Scene Execution.

Thanks Rex.

Sorry boojew, I probably should have elaborated. Rex set you straight!

Try the PLEG plugin with the virtual plugin it’s really easy to do stuff like this.

Thanks to everyone on the thread! Will play around this coming weekend :slight_smile: