Skip to content

Code Widget

Overview

Code Widget includes its own configuration fields in the widget configuration flow.

Configuration Fields

  • Alias
  • Devices
  • Selected Device Ids
  • Title
  • Code Type
  • Source Mode
  • Telemetry Key
  • Telemetry Keys Text
  • Template
  • Static Value
  • QR Size
  • Barcode Height
  • Barcode Font Size
  • Compact
  • Show Header
  • Show Device Name
  • Show Encoded Text
  • Show Key Label
  • Global Keys
  • Loading Devices
  • Loading Keys
  • Device ID
  • Device Ids
  • Telemetry Keys

Defaults

  • Alias — null
  • Selected Device Ids — (config.deviceId ? [config.deviceId] : []
  • Title — ""
  • Code Type — "qr"
  • Source Mode — "template"
  • Telemetry Key — ""
  • Template — "{deviceId}"
  • Static Value — ""
  • QR Size — 132) || 132, 240
  • Barcode Height — 56) || 56, 120
  • Barcode Font Size — 11) || 11, 20
  • Compact — true
  • Show Header — true
  • Show Device Name — true
  • Show Encoded Text — true

Source

  • File — CodeWidgetConfig.tsx

Documentation for the Autoconnecto IoT platform