Henglos IO
Core concepts

Core concepts

Packages, components, actions and triggers — what a workflow is made of.

A workflow is a graph of nodes on the canvas. Every node comes from a component, every component (and the board itself) comes from a package — and each node is either an action, a step of the flow, or a trigger, what starts one.

Package (npm)
├── board       ESP32 — its pins, its firmware, what it offers (wifi, bluetooth…)
└── component   GPIO, HTTP, DHT…
    ├── actions     Write, Read…        steps of the flow
    └── triggers    Pin Trigger…        what starts a branch of it

Above: Start (a trigger) runs WiFi's Connect (an action); HTTP's Request Trigger and Time's Timer Trigger each start a branch of their own, driving GPIO's Write.

In one sentence each

ConceptIs
PackageAn npm package with a manifest.yaml — a board or a component. What you install.
BoardThe hardware a workflow runs on: its pins and what each can do, its firmware, its capabilities. One per workflow.
ComponentA set of actions and triggers about one thing, with the MicroPython that runs them.
ActionA node that runs when the flow reaches it, and ends on one of its outputs.
TriggerA node that starts a branch on its own — no input, one Out.
WorkflowThe graph: its board, its components' nodes, the wires between them, its variables.

On this page