Getting Started Cameras & Video Detection & Recording Automation & Events Actions Integration & Connectivity Network & Discovery AI & Remote Control MQTT Modbus Pi4J & Raspberry Pi GPIO ZeroMQ System & Administration Comparisons Use Cases Troubleshooting About & Legal
Home / Documentation / Pi4J Set Digital Output Action
Action ยท Pi4J 2.0.0

Pi4J Set Digital Output

Sets one configured GPIO digital output to an on or off logical state.

ParameterDescriptionDefault
TitleAction display name.Empty
Pi4J ThingActive target controller.Required
BCMConfigured digital-output pin.Required
OnRequested logical state.false

The target Thing emits Pi4JPinStateEvent after applying the state.

IO

Digital actuator trigger

Switch a relay-driver input, indicator, buzzer trigger, or hardware enable line.

RULE

Event-driven output

Change an output from a sensor, schedule, camera event, or manual operator action.