New: the AI firewall watches every module and explains each incident in plain words. See how it works

Devices

How devices are modelled in Hermetry, the ways they connect, how they prove who they are, their status, and where to manage them.

A device is anything that sends data to Hermetry or receives commands from it: a sensor, a controller, a meter, a camera, a LoRaWAN gateway, a licensed router. Every device belongs to one organisation and uses exactly one device profile. This section explains how to add devices, connect them, keep their credentials safe, read their status, send them commands, update their firmware and change their settings.

The device model

PartWhat it isRead
DeviceOne record in Devices: name (unique in your organisation), label, type, profile, status, optional serial, and whether it is a gateway.The Devices list and the device page
Device profileThe settings shared by one kind of device: transport, logins, topics, limits, online rule, telemetry and configuration keys, provisioning, plus alarm rules, commands and firmware.Device profiles
CredentialWhat the device logs in with. At most one active credential per device.Device credentials
TelemetryTime-stamped readings, one series per key.Telemetry and data
AttributesValues that describe or configure the device: client (the device’s own), shared (sent to the device) and server (kept on the platform).Attributes
Connection stateOnline or offline under the profile’s rule, last seen, connection log.Connection status and activity
PlacementThe site, building, room or machine the device is on.Placing devices

How devices reach Hermetry

WayForPage
MQTT 3.1.1 over TLSDevices that keep a connection openMQTT, MQTT topics and payload reference
HTTPSDevices that wake up, send and sleep, or networks that block MQTTDevice HTTP API
LoRaWANBattery sensors behind LoRaWAN gateways (EU868)LoRaWAN
Through a gatewayField devices behind a router or gateway that reports for themGateways and devices behind a gateway
Polled by the platformBoxes that cannot dial in: SNMP agents, IP cameras and recordersGateways and devices behind a gateway

Not sure which one fits? See Choose how to connect your devices.

How devices get into your organisation

WayUse it forPage
New device (by hand)A few devices you set up yourselfAdding and claiming devices
Import from a CSV fileTens to hundreds of devices at once (up to 1,000 rows per file)Importing devices in bulk
Self-provisioning with a profile keyMany identical devices that register themselves on first startAdding and claiming devices, Quarantine
ClaimLicensed devices, with the code on their Cloud pageLicensed devices
A gateway reports a new childField devices behind a gatewayDevices behind a gateway
LoRaWAN registration or pairing modeLoRaWAN sensorsAdd an OTAA device, Pairing mode

How devices prove who they are

CredentialLogin
Access tokenMQTT username = token, empty password. HTTP: Authorization: Bearer <token>.
MQTT basicUsername and password, optionally pinned to one client ID.
X.509 certificateA client certificate issued by the Hermetry device certificate authority. Used by licensed devices.

Secrets are shown once, when they are issued or rotated. Hermetry stores only hashes. LoRaWAN sensors, gateway children and polled devices have no credential of their own: their gateway, the network server or the poller brings their data.

Device status

StatusMeaning
ActiveThe device may connect and its data is stored.
DisabledThe device is refused when it connects. Its live connection ends when you disable it.
QuarantinedThe device registered itself and waits for approval. It may connect, but its data is dropped until an administrator activates it. It counts toward your device limit.

The status is separate from the connection state. An active device can be Online, Offline, Never connected, or show only Last seen, depending on its profile’s online rule.

Permissions

PermissionDefault minimum role
View devicesUser
Create devicesAdmin
Edit and disable devicesAdmin
Delete devicesAdmin
Manage device credentialsAdmin
View device attributesUser
Write server and shared device attributesAdmin

Other IoT modules add their own permissions (commands, firmware, alarms, LoRaWAN, settings). See Permissions reference.

Limits

Your plan sets the number of devices you may have. Every device counts: quarantined devices, LoRaWAN gateways and sensors, gateway children and polled devices. When you reach the limit, new devices are refused with the message that the plan’s device limit is reached. See Plans and the IoT add-on.

In this section

Basics

Connecting

Managing devices remotely