Powerplate Pin I/O

Powerplate Pin I/O

🚫
NOTE: This part of the API does not exist yet.

Set Pin State

Topic

Publish to api_client/<client_name>/<location_id>/<device_id>/powerplate/io/set

Payload

{
  "pin": 0,
  "state": "high"
}
  • pin: The pin number (0-3)
  • state: The state of the pin, either high or low

Get Pin State

Topics

Subscribe to api_client/<client_name>/<location_id>/<device_id>/powerplate/io
Publish to api_client/<client_name>/<location_id>/<device_id>/powerplate/io/get

Response

Not retained
QoS: 1

{
  "pin": 0,
  "state": "high"
}
  • pin: The pin number (0-3)
  • state: The state of the pin, either high or low