Skip to content

Relay Outputs

This page explains one RelayState item inside peripherals.relays.

RelayState Schema

FieldTypeRequiredDescription
indexintegerYesRelay index, starting from 1
onbooleanYesWhether the relay output is ON

Example

json
[
  {
    "index": 1,
    "on": false
  },
  {
    "index": 2,
    "on": true
  }
]
Docs buildVersion v1.2.19-20260602-174859-60
Copyright © 2026 WLTE