Variables
bOS allows users to create and manage different types of variables, including Boolean, Integer, Double, Mode, and String variables.
Variables are useful configuration elements that can store values, represent states, support automation logic, and provide additional flexibility inside a project. They can be used in tasks, visualization, scenes, schedules, alerts, and integrations.
Variables can be used for many purposes, such as:
Linking to actual device addresses
Creating virtual values for testing
Storing temporary or calculated values
Supporting automation and logic tasks
Adding additional control options in the visualization
Creating custom modes, states, or settings
Simplifying complex project behavior
For example, a Boolean variable can be used as a virtual ON/OFF switch, an Integer or Double variable can store numeric values such as setpoints or calculated results, a Mode variable can be used for operating modes, and a String variable can store text-based information.
Variables are especially useful when the project requires additional logic or control values that are not directly provided by a physical device.