Skip to content

Core State Uplink Data

Reports the current device operating state, uptime, and whether the backend connection is healthy. All values are sent automatically on change and periodically (based on update_period_mins).

Key path: devdata.core

To request current values:

{ "devdata": { "core": null } }

Current device state as a single character code.

Configuration variables

  • Type: string (single character)
  • Sent on: Every state change
CodeState
IInitialising
BBoot / starting
UUnallocated
AAllocated
EError
WWiping / formatting
DDFU mode
PProvisioning
{ "devdata": { "core": { "state": "A" } } }

System timestamp in milliseconds (device uptime). Useful for correlating events.

Configuration variables

  • Type: integer (milliseconds)
  • Sent on: With every devdata message
{ "devdata": { "core": { "ts": 987654321 } } }

true when the device has received any MQTT message within devcfg.core.app_timeout_secs. Goes false when the timeout expires with no traffic.

Configuration variables

  • Type: boolean
  • Sent on: Every state change, periodic updates
{ "devdata": { "core": { "comm_ok": false } } }

true when the device has received an application‑level message (anything in the app or devcfg sections) within the timeout. false when only system‑level traffic (pings, etc.) has been seen.

Configuration variables

  • Type: boolean
  • Sent on: Every state change, periodic updates
{ "devdata": { "core": { "app_ok": false } } }