Your First Flow
This guide walks you through creating a simple automation flow from scratch. We’ll build a temperature-based fan control — if the temperature exceeds a threshold, turn on the fan.
Prerequisites
Before building a flow, you need:
- A controller connected and online (see Hardware Overview)
- A temperature sensor added (see Device Wizard)
- A fan actuator added and mapped to a relay channel
Step 1: Open the Flow Editor
- Click Flows in the left navigation
- Click New Flow (top right)
- The Flow Editor opens with a blank canvas containing two blocks: Start and End
Step 2: Add a Sensor Read Block
- In the Palette (left sidebar), find Sensor Read 🌡️
- Click and drag it onto the canvas, between Start and End
- Connect Start → Sensor Read → End using the handles (small circles on the blocks)
- Click the block to select it
- In the Properties Panel (right sidebar):
- Device → select your temperature sensor
- Variable → type
temperature(this creates a new variable)
Step 3: Add a Condition Block
- Drag an IF Condition block ❓ onto the canvas
- Place it after the Sensor Read block
- Rewire: Start → Sensor Read → IF Condition
- Click the IF block, configure in Properties:
- Variable →
temperature - Operator →
> - Value →
28(degrees)
- Variable →
Step 4: Add an Actuator Set Block
- Drag an Actuator Set block ⚡ onto the canvas
- Connect the TRUE output of the IF block to this new block
- Connect the FALSE output of the IF block directly to End
- Click the Actuator Set block, configure:
- Device → select your fan actuator
- Action →
Turn On
Step 5: Connect to End
- Connect Actuator Set → End
Your flow should look like:
START → Sensor Read → IF (temp > 28°C) → TRUE → Actuator Set (Fan ON) → END
→ FALSE → END
Step 6: Save the Flow
- Click Save Flow in the toolbar
- Give it a name:
Temperature Fan Control - Click Save
The system validates the flow. If everything is correct, it saves as Active (ready to run).
Step 7: Test It
- Click Run ▶️ in the toolbar
- The Test Dialog opens — click Start
- Watch the flow execute block by block with live feedback
- Check the result: was the fan turned on or off based on the current temperature?
What’s Next?
This was a simple one-shot flow. In real automation you’d typically:
- Loop the reading continuously (use a Loop block)
- Add a Wait between readings (e.g., check every 5 minutes)
- Add a “Turn Off” path when temperature drops below threshold
- Use a Program to run this flow on a schedule
Explore more:
- Flow Tutorial: pH Control — a complete real-world example
- Variables — global values across flows
- Testing Flows — advanced test features