v21

OpenAPI 3.0.3raw.githubusercontent.com2026-08-032560235.1 KB
gpio

gpio/{pin}

Read the last value set on a GPIO pin via the API/commands. Only pins with a cached value can be read; output pins must be SET before they can be read.

get/api/gpio/{pin}

Response

Object with pin and value (0 or 1).