Repository navigation
The Agent
The agent is the small program next to a machine. It drives the machine (USB serial, USB HID), reports to the cloud every few seconds, and carries out what comes back: commands, jobs, pause, resume, stop. It always starts the conversation, over HTTPS, so it works behind any router or firewall.
maker-connect-agent run [--config <file>] [--save] [--cloud <address>] [--name <name>]
[--kind fdm|laser|label] [--port <serial port> [--baud 115200]
[--firmware auto|marlin|grbl]] [--state <file>]
maker-connect-agent ports list the serial ports
maker-connect-agent send <port> <file.gcode> stream a file to a printer directly
| Option | What |
|---|---|
--cloud |
The cloud's address: http://192.168.1.20:8460
|
--name |
The machine's name, as the website shows it |
--kind |
fdm (a 3D printer, the default), laser, label
|
--port, --baud
|
The serial port of a printer or laser (COM3, /dev/ttyACM0, /dev/cu.usbmodem...) |
--firmware |
auto (GRBL if it greets as GRBL, else Marlin), marlin, grbl
|
--state |
Where it keeps its credentials (default: maker-connect-agent.json beside its config) |
--config |
A config file elsewhere than the default places |
--save |
Write the options given into the config file |
maker-connect-agent.toml, looked for in the current folder, then beside the agent itself:
cloud = "http://192.168.1.20:8460"
name = "Dymo"
kind = "label"
# port = "COM3"
# baud = 115200
# firmware = "auto"-
run --savewith options writes it; afterwardsrunalone reads it. - Options on the command line win over the file.
- A misspelled setting is refused with its name, rather than ignored.
- On Windows, a double-click on the agent runs it from the config file beside it; on an error its window stays open until Enter, so the reason can be read.
Keep the agent, its config and maker-connect-agent.json together: the JSON file is its pairing. Delete it to pair the machine anew.
Besides the machine's state, the agent tells about itself: its version, the system (windows, macos, linux and the processor), the computer's name and its address towards the cloud. The cloud adds the address the reports come from. All of it is on the machine's Settings → Connection card.
| System | Build | Notes |
|---|---|---|
| Windows 10/11, x64 | maker-connect-agent-windows-x86_64.exe |
Unsigned: SmartScreen asks once (More info → Run anyway) |
| macOS, Apple silicon | maker-connect-agent-macos-aarch64 |
chmod +x it; Gatekeeper may ask in System Settings → Privacy & Security |
| Linux x64, Raspberry Pi (64-bit) |
maker-connect-agent-linux-x86_64, -linux-aarch64
|
From CI's artifacts, renamed so for the Downloads page; serial ports need the dialout group |
scripts/build-downloads.sh # into maker-connect-downloads/, for the Downloads pageIt builds for the computer it runs on, and for Windows x64 too when cargo-zigbuild is installed (cargo install cargo-zigbuild, and Zig: pip install ziglang): no Windows machine or MinGW needed. Every push to main also builds the agent for Linux, macOS and Windows in CI; the builds are kept as artifacts of the run.
The cloud's Downloads page gives every file named maker-connect-agent-<os>-<arch>[.exe] a card with its system's icon and the command to start it against that cloud.
Home · maker-connect.xyz · for makerspaces
Guides
- Getting Started
- Proxmox
- The Agent
- Updates
- Klipper
- Lasers
- Label Printers
- Cameras
- Materials
- Machine Profiles
- Supported Machines
- Hardware
- Similar Projects
Design
- House Style
- Hub Core v2
- Devices in a Tree
- Multi-Tenant Hub
- Consumables and Stock
- Print Farm
- Devices and Rights
- Door Access
- Door Controller
- The Website
- Guides
- Stream Deck (idea, WIP)
- Roadmap
Code