devices
هذا المحتوى غير متوفر بلغتك بعد.
Devices Plugin
Section titled “Devices Plugin”IoT device enrollment and trust management with command dispatch and telemetry ingestion. Pro plugin.
Requires: Basic license tier or higher.
nself license set nself_pro_...
Install
Section titled “Install”nself license set nself_pro_xxxxx...nself plugin install devicesWhat It Does
Section titled “What It Does”Handles IoT device enrollment, identity trust, and lifecycle management via a token-based registration flow. Once enrolled, devices can receive commands dispatched from the API and submit telemetry data for storage and querying. All device events, enrollment, command acknowledgement, disconnection, are recorded in a structured event log with configurable telemetry retention.
Configuration
Section titled “Configuration”| Env Var | Default | Description |
|---|---|---|
DEVICES_PORT | 3603 | Port the Devices plugin service listens on |
DEVICES_ENROLLMENT_TOKEN | none | Shared secret used during initial device enrollment |
DEVICES_TELEMETRY_RETENTION | 90 | Number of days to retain telemetry data |
| Port | Purpose |
|---|---|
3603 | Devices plugin HTTP service |
Database Tables
Section titled “Database Tables”5 tables added to your Postgres database.
np_devices_registry: Enrolled device records and metadatanp_devices_trust: Device trust certificates and enrollment tokensnp_devices_commands: Queued and acknowledged commands per devicenp_devices_telemetry: Ingested telemetry data pointsnp_devices_events: Device lifecycle and connection event log
Nginx Routes
Section titled “Nginx Routes”| Route | Description |
|---|---|
/devices/ | Proxied to Devices plugin service on port 3603 |