Register, trust, and manage IoT devices against your nSelf backend. Handles device enrollment, mutual TLS certificates, trust management, command dispatch, and telemetry ingestion. Designed for fleets of edge devices, sensors, and embedded clients connecting to your self-hosted infrastructure.
Set your license key with nself license set nself_pro_... before installing.
nself license set nself_pro_...
nself plugin install devices
nself build
nself startcurl -X POST http://127.0.0.1:3603/devices/enroll \
-H "Content-Type: application/json" \
-d '{
"device_id": "sensor-floor-1",
"name": "Floor 1 Temperature Sensor",
"type": "sensor",
"tags": ["floor-1", "hvac"]
}'curl -X POST http://127.0.0.1:3603/devices/sensor-floor-1/commands \
-H "Content-Type: application/json" \
-d '{"command": "reset", "params": {"mode": "factory"}}'| Endpoint | Method | Description |
|---|---|---|
/devices | GET | List all registered devices |
/devices/enroll | POST | Enroll a new device |
/devices/:id | GET, PUT, DELETE | Read, update trust state, or remove a device |
/devices/:id/commands | POST | Dispatch a command to a device |
/devices/:id/telemetry | GET, POST | Read or ingest telemetry data |
/health | GET | Plugin health check |
nself plugin remove devicesPort: 3603 | Category: IoT | Last Updated: April 2026 | Plugin Version 1.1.1