Skip to content

Tank Level Widget

Overview

Tank Level Widget includes its own configuration fields in the widget configuration flow.

Configuration Fields

  • Alias
  • Devices
  • Selected Device ID
  • Title
  • Show Title
  • Key
  • Unit
  • Decimals
  • Value Mode
  • Min Value
  • Max Value
  • Low Low
  • Low
  • High
  • High High
  • Show Thresholds
  • Show Scale
  • Show Value
  • Show Min Max
  • Show Device Name
  • Show Metric Name
  • Show Timestamp
  • Timestamp Mode
  • Color Mode
  • Fill Color
  • Animate Fill
  • Tank Shape
  • Global Keys
  • Loading Devices
  • Loading Keys
  • Device ID
  • Device Ids
  • Next Patch
  • Metric
  • Telemetry Keys

Defaults

  • Alias — null
  • Selected Device ID — config.deviceIds?.[0] || "").trim(
  • Title — "Tank Level"
  • Show Title — true
  • Key — "level"
  • Unit — "%"
  • Decimals — 1
  • Min Value — 0
  • Max Value — 100
  • Low Low — 10
  • Low — 25
  • High — 75
  • High High — 90
  • Show Thresholds — true
  • Show Scale — true
  • Show Value — true
  • Show Min Max — true
  • Show Device Name — true
  • Show Metric Name — true
  • Show Timestamp — true
  • Fill Color — "#2563eb"

Source

  • File — TankLevelWidgetConfig.tsx

Documentation for the Autoconnecto IoT platform