Drive a relay or output with GPIO

To switch a relay, LED, or other load from Synacl:

  1. Add a device with protocol gpio-digital-out, pick the gateway, and set:
    • pinNumber and activeHigh (polarity),
    • defaultState (0/1) — the state at boot.
  2. Add a control widget to a dashboard:
  3. Toggling the widget publishes a write to the gateway; you'll see device/write and device/write/ack events.

For variable output (dimming, speed), use gpio-pwm with a slider-control instead.