Skip to content

Devices ​

Devices is the list of field devices. A gateway hub is not managed on this page. Open Gateways for the hub (token, setup, children, detach). A child device still appears here, with the parent gateway named in the row. On the device page, Child of gateway also shows that parent by name (linked to the gateway page), not the raw ID. Create hubs only under Gateways — this Create form is for standalone or child devices.

Devices list

The line under the title is the count: devices, how many are active, how many are inactive, how many gateways, and how many are on an asset. An asset is a place or machine (site / area / zone). Attachment is optional — a device does not have to be on an asset.

ControlWhat it does
Open GatewaysThe hub list
Provisioning keyPreferred for fleets — one tenant key + secret; same firmware on every board
Bulk UploadCreate many devices from a CSV; after import, download the one-time tokens CSV
Claim device (lab QR)Optional lab path with a one-time QR code — not the main fleet path
Create DeviceOne device by hand

Filters: search by name, device type, profile, and status. Status sits next to Name on the table. Role is Child (under a gateway) or Standalone.

Device type keeps the casing you type (for example Modbus_Sensor). Filters and lookups still match without caring about case.

Provisioning key (preferred) ​

Same firmware on every board. The tenant generates one provisioning key + secret. Whoever flashes (you or the customer) uses that pair. On first connect the board calls the platform; Autoconnecto creates the device and issues a unique device token. Your plan device limit still applies — when the plan is full, provision is refused.

  1. Devices → Provisioning key → Generate (or Rotate). Copy the secret once.
  2. Set Default profile if every board should use the same profile. Set Name prefix (e.g. meter) so new boards become meter001, meter002, … without unique firmware. Digits grow past 999 (meter1000). Changing the prefix resets the sequence.
  3. Flash the SDK example Provision_https (sdk/examples/Provision_https — see its README). Put key + secret in secrets.h. Leave DEVICE_NAME empty for fleets so names stay unique. Optional: PROFILE_NAME, DEVICE_TYPE. Same image on all units.
  4. Power the board on the network. It provisions once and stores the token in NVS.
    • Name: firmware name → else prefix+sequence → else full hardwareId.
    • Profile: firmware profile → else tenant default profile → else Default.
  5. Use the stored token with an MQTT example (for example BasicTelemetry_mqtt).
  6. Lock provisioning when the plant is commissioned, if you want no more auto-creates.

Claim device (optional) ​

Use this for a lab board with a QR claim code, not the main fleet path.

  1. Mint claim code on Devices. The screen shows a QR plus the text. Use Print QR sticker.
  2. Redeem on web or Android Scan QR. That creates the device.
  3. Claim firmware (sdk/examples/Claim_https) collects the token once.

Creating a device by hand with a token still works. Detail: Plant operations.

Solution Sample devices stay under Solutions. They do not appear on this list and do not count toward the plan.

Click a row to open the device. The ⋮ on the row is the actions for that device.

A new tenant already has a profile named Default. Create Device can be used on the first visit to Devices. Opening Device Profiles is not required before the first device.

Create a device ​

Create Device asks for:

FieldMeaning
Device NameThe name operators see
Device TypeThe kind of device, for example Energy Meter or Temperature Sensor
Device ProfileThe profile that holds the transport, the alarm rules, and the rule engine
Attach to AssetOptional. The place or machine this device belongs to
Inactivity TimeoutIf no reading arrives in this time, the device becomes inactive. Choices are 1, 5, 10, 15, 30 minutes, or 1 hour. The next reading makes it active again
Device RoleA normal device, or a gateway
Parent gatewayWhen this device reports through a gateway
LoRaOptional, only when the device is on LoRaWAN

The credentials the screen shows after create are the device identity. Treat them as a secret. They are not repeated in this guide.

A device does not need a rule engine before it can send data. The profile alarm rules still run. The reading is still stored.

On a gateway, OPC UA, BACnet, and Sparkplug stay off until you turn that protocol on and fill the address it needs. OPC UA needs an endpoint, a node id, and a telemetry key. BACnet needs an address, an object, and a telemetry key. Sparkplug needs a group and an edge node. Saving while the switch is off does not start polling.

What you see on the device ​

The device page shows the latest readings, attributes, alarms, and commands. The Alarms tab count is the number of alarms for that device, including cleared ones, as soon as the page opens. Updated on a cleared alarm is the time it cleared. A device with no reading yet is still a valid device. Do not rename a live device unless you mean to.

Decommission and restore ​

The device list hides decommissioned devices by default. Turn on Show decommissioned to find them and use the row's Restore action. Decommissioning keeps telemetry and history, marks the device inactive, revokes its current token, and disconnects its live sessions. Restoring issues a new token; copy and update the device's firmware or gateway configuration because the old token cannot be recovered.

Restore requires an available plan/license device slot and an unused active device name. If the device is a child, its parent gateway must still be active. A gateway cannot be decommissioned while it has linked children; detach or decommission those children first.

Device activity status and last telemetry are different: Active/Inactive reflects the device's activity state, while Last telemetry shows when it last sent readings. Activity status does not mean there is currently a live connection.

Bulk CSV ​

Bulk Upload accepts quoted commas, escaped quotes (""), CRLF files, and newlines inside quoted fields. It rejects malformed quoting, duplicate or empty headers, and rows with a different number of fields than the header instead of importing a partial file.

Hardware for a specific box stays under Device hardware on this site: Compatible hardware (ESP32, STM32, Linux SBC, DR154, XY-MD02, AVH-14-M1, Modbus meters), USR-DR154, ESP32 Modbus edge, and Multispan AVH-14-M1.

support@autoconnecto.in · founder@autoconnecto.in · +91 92121 00555 · app.autoconnecto.in