Skip to content

Dynamic devdata Widgets

Many DVs show real‑time device information by binding a widget’s name directly to a devdata.* key. No portal, MQTT command, or user action is needed — the device updates these values automatically.

How they work:

  • The widget’s name field is set to the exact devdata key path (e.g., devdata.power.gauge).
  • The widget’s interaction is dynamic.
  • The value field is only a placeholder shown before the first real value arrives.
KeyWhat it showsUsed in
devdata.power.voltageBattery voltage (e.g. 3.8)sysinfo
devdata.power.gaugeBattery percentagesysinfo, allocated_home, unallocated_home
devdata.power.isChargedBattery full (YES/NO)sysinfo
devdata.power.isPoweredExternal power present (YES/NO)sysinfo
devdata.accel.orientOrientation (UK, FU, FD, etc.)sysinfo, allocated_home, unallocated_home
devdata.trust.levelTrust level (stars graphic)sysinfo
devdata.fw.ver_strFirmware versionsysinfo
devdata.fw.relFirmware release stringsysinfo
devdata.fw.device_idDevice IDsysinfo, allocated_home, unallocated_home
devdata.fw.device_typeDevice type stringsysinfo
devcfg.wifi.macWiFi MAC addresssysinfo
devcfg.ble.macBLE (nRF53) MAC addresssysinfo
devcfg.bleperi.macBLE peripheral (nRF52) MAC addresssysinfo
  • number — raw value, optional decimal places (dp).
  • percentage — appends %, integer only.
  • bool — shows YES/NO (or localized equivalents via dicts).
  • stars — renders a star rating for trust level.
  • qr — renders the device ID as a QR code.