What the Local Agent does
- Runs the Arduino CLI 1.5.1 and ESP32 Core 3.3.11 versions tested by Ruang IoT on the user's computer.
- Provides the official RuangIoT 1.4.0 library and installs other Arduino libraries a project needs automatically.
- Receives source code from Firmware Studio or Virtual Lab, compiles it, and uploads it to the board over USB.
- Retries ESP32 uploads at a lower baud rate when the USB connection is unstable.
- Runs in the background with a notification-area icon and starts automatically at sign-in; there is no CMD window to keep open.
Installation
| System | How to install |
|---|---|
| Windows 10/11 (64-bit) | Download the installer from the download page, run it, and choose Yes when Windows asks about the "Ruang IoT Local Agent CA" certificate. The agent starts automatically at every sign-in. |
| macOS 11+ | Run the Terminal command from the download page. macOS asks for your password once to trust the local certificate; the agent is registered as a LaunchAgent. |
| Ubuntu · Debian · Mint | Install the .deb package from the download page, then start Ruang IoT Local Agent from the application menu once. |
| Other Linux | Run the one-line script from the download page (no root needed). To open serial ports, add your account to the dialout group. |
- Open Firmware Studio or Virtual Lab.
- Open Board & Port and choose Install compile components when asked.
- Select the board and port, then press Verify or Upload.
Ruang IoT Browser (Windows)
Ruang IoT Browser is a Chromium-based browser with the Local Agent built in. The agent starts with the browser, so there is no separate agent to install, no certificate to trust and no local-network permission to grant. The Serial Monitor (Web Serial) works with a built-in port picker. It suits school computer labs.
Android Serial Monitor
The Ruang IoT Serial Monitor app reads and sends serial data over a USB OTG cable (CP210x, CH340, FTDI, PL2303 and the native USB of ESP32-S2/S3/C3) and includes a Serial Plotter. Firmware uploads are still done from a computer.
If the Agent is not detected
- Check for the Ruang IoT icon in the notification area (Windows/Linux), or start the agent again from the Start menu/application menu. On macOS the agent runs without an icon; open
http://127.0.0.1:8991/to see its status. - Chrome and Edge 142 and later ask whether ruangiot.id may connect to apps on this device (the Local Agent). Choose Allow; if you blocked it, open the site settings from the address bar and allow Apps on device (older versions: Local network).
- If the HTTPS certificate is not trusted, the web app automatically uses
http://127.0.0.1:8991. To trust it again, choose Trust the HTTPS certificate again in the agent icon menu. - Port busy during upload: close the Serial Monitor, Arduino IDE or other browser tabs that use the same port.
- ESP32 board not responding: hold the BOOT button while "Connecting…" is shown, or choose Safe mode 115200.
- Agent logs are stored in the
logsfolder of the agent data folder (icon menu → Open log folder).
Removing the agent
- Windows: Settings → Apps → Ruang IoT Local Agent → Uninstall. The toolchain (several GB) can be removed as well if you choose so.
- macOS: run
"$HOME/Library/Application Support/RuangIoTAgent/bin/ruangiot-agent" --uninstall, then delete that folder. - Linux: run
ruangiot-agent --uninstall, thensudo apt remove ruangiot-agentfor the .deb package.