Overview
Variables represent individual data points associated with a device. Each variable stores a specific measurement, status, or calculated value received from the connected device, such as temperature, voltage, current, energy consumption, pressure, or equipment status.
Every device can contain multiple variables, allowing StatStream to collect, monitor, and analyze different aspects of the device independently.
How Variables Work
Section titled “How Variables Work”Before data can be stored in StatStream, a variable must be created for each data point that the device will send.
When a device transmits data, StatStream matches each value to its corresponding Variable ID and stores it as a time-series record.
This data can then be used throughout the platform for:
- Live dashboards
- Historical trend analysis
- Alerts and automation
- Reports
- AI recommendations
- Calculations and aggregations
Variable Lifecycle
Section titled “Variable Lifecycle”The typical workflow for working with variables is:
- Create a Device.
- Add one or more Variables to the device.
- Configure the device to send data using the Variable IDs.
- Visualize and analyze the collected data throughout StatStream.
Variable Types
Section titled “Variable Types”Choose the variable type that best matches how the data is generated.
| Variable Type | Purpose |
|---|---|
| Actual Variables | Collect data directly from devices and sensors. |
| Derived Variables | Calculate new values using existing variables. |
| Periodic Variables | Generate values at scheduled intervals using configured calculations. |