Skip to main content

Local Flags

Local Flag Driver with Persistence

Written by Isaiah

By: Coupe Automation | Version: 1.11 | Updated: Feb. 28, 2026


Driver Instructions

Local Flag Driver with Persistence

This driver provides 32 local flags for each remote and automatically saves the flag variables into persistent storage and retrieves them at Startup right after a reboot.

Use System Variable Test in a macro to test the state of any of the flags. These can only be tested in a button macro and will yield unpredictable results if used within a System Macro that is not called by a button macro on a remote.

DO NOT USE these flags in a System Macro that is triggered by an event.

Functions

Change Flag State (Index, State) - Lets you explicitly change the state of one of the 32 flags to True or False.

Set Flag State (Index) - Sets the flag to true.

Clear Flag State (Index) - Clears the flag state to false.

Toggle Flag State (Index) - Changes the flag to the opposite state from its current state.

Events

There are true and false events that get triggered when a flag's state changes (edge triggered). Events are triggered once upon state change.

Did this answer your question?