RELO IO8

First Automation Flow

Build and deploy your first automation flow on the RELO IO8. Toggling a relay when a pushbutton connected to a digital input is pressed.

This guide walks through the simplest useful flow you can build: pressing a physical pushbutton wired to IN 1 toggles the relay on OUT 1. By the end you will have deployed a working flow to a real device and will understand the core concepts of the Cueva flow editor.

Before starting, make sure you have completed Network Setup and that your RELO IO8 appears in Cueva Desktop's device list. You will also need a momentary pushbutton wired between the IN 1 and GND terminals.

Step 1: Open the Flow Editor

In Cueva Desktop, select your RELO IO8 from the device list and click the "Edit Flows" button. The flow editor canvas opens. The canvas is empty for a new device. You will build the flow from scratch.

Step 2: Add a Trigger node

Right-click anywhere on the canvas and choose Add Node → Trigger → Digital Input. A node appears on the canvas. In the node's properties panel on the right, set Input to "IN 1" and Event to "Falling edge" (this fires when the button is pressed, i.e., when the input goes from open to closed).

Step 3: Add an Action node

Right-click the canvas again and choose Add Node → Action → Relay Toggle. Set Output to "OUT 1". This node, when executed, will flip the current state of relay 1.

Step 4: Connect the nodes

Click and drag from the output port (the small circle on the right edge) of the Trigger node to the input port on the left edge of the Relay Toggle node. A connection line appears. Your flow is now complete: trigger → action.

Step 5: Deploy the flow

Click the Deploy button in the top-right of the editor. Cueva Desktop compiles the flow and uploads it to the RELO IO8 over the local network. Deployment typically takes 2–3 seconds. The device runs the flow immediately after deployment. No restart required.

You can monitor flow execution in real time using the Activity panel at the bottom of the flow editor. Each node highlights briefly as it executes, making it easy to trace the signal path.

Step 6: Test it

Press the pushbutton wired to IN 1. The relay LED for OUT 1 on the front panel of the RELO IO8 should toggle. Press again to toggle back. You have just deployed your first automation flow.

Next steps

  • Add a Condition node between the trigger and action to only toggle the relay during certain hours
  • Add a second Action node to send an HTTP request to a projector control API at the same time as the relay toggles
  • Explore the other Trigger types: UDP, HTTP, schedule, and more
  • Read the Flow Editor documentation for a complete reference of all node types