Devices
A Device is the cloud-side representation of your edge machine. On that machine you run a small piece of software, the Device Agent, whose job is to manage vPLC containers there. The cloud talks to the agent over a secure connection, and the agent does the real work of starting, stopping, and monitoring vPLCs locally.
You need at least one Device before you can deploy a project. The agent runs on Linux only, typically a PLC, PAC, industrial PC, dedicated server, or a Raspberry Pi.
Why an agent on the edge?
Three reasons:
- Real-time runtime. PLCs need to execute their scan loop with predictable timing. Running the runtime container directly on the edge device (rather than in the cloud) keeps latency to the I/O hardware low.
- Network resilience. Once the project is deployed, the vPLC keeps running even if the agent's connection to the cloud is interrupted. The cloud connection is only needed for management, not for control.
- Native networking. The agent sets up MACVLAN networking, which makes each vPLC container appear on your physical LAN with its own IP address, the same way a standalone PLC would. Sensors, drives, and HMIs see vPLCs as just another device on the wire.
What you get when you "create" a Device
Creating a Device in the web app:
- Reserves a unique Device entity in the cloud with the name and ID you give it.
- Generates an installation command.
- Waits for the agent to call home from your edge device and complete the pairing.
After pairing, the Device's status moves from Inactive to Active (or Connected) and you can start adding vPLCs to it.
What the agent itself does
Once paired and running, the agent:
- Maintains a persistent mutual-TLS (mTLS) WebSocket to the cloud.
- Sends periodic heartbeats with CPU, memory, disk, and uptime metrics: the values you see on the Device card.
- Pulls and runs OpenPLC v4 runtime container images on demand.
- Configures MACVLAN networking for each vPLC according to its NIC settings.
- Reacts to host network changes (LAN reconnect, IP changes) and reconfigures containers as needed.
- Reports vPLC status (running, stopped, restarted) back to the cloud.
If you want to dig deeper, the agent's own documentation lives in its GitHub repository. Users don't normally need to read it, installation is one command and management is done from the web app.
Where to next
- Install the agent on a device → Installing the Device Agent.
- See your Devices in the web app → Devices list.
- Inspect a single Device → Device detail.
- Rename, delete, or replace a Device → Managing devices.
- Add a vPLC to a Device → Creating a vPLC.
On This Page