Drive a relay or output with GPIO
To switch a relay, LED, or other load from Synacl:
- Add a device with protocol gpio-digital-out, pick the gateway, and set:
pinNumberandactiveHigh(polarity),defaultState(0/1) — the state at boot.
- Add a control widget to a dashboard:
- a toggle-switch for on/off, or
- a command-button for a one-shot pulse.
- Toggling the widget publishes a write to the gateway; you'll see
device/writeanddevice/write/ackevents.
For variable output (dimming, speed), use gpio-pwm with a slider-control instead.