v1

latestOpenAPI 3.0.32026-07-171092496.0 KB
Equipment

Control equipment power state

post/api/equipment/{id}/control

Path parameters

idstring required

Equipment ID

Request body

onboolean required

Desired power state for the equipment

Response

Equipment state changed successfully

idstring

Unique identifier for the equipment

namestring required

Name of the equipment (e.g., "Main Light", "Heater")

outletstring required

Identifier of the outlet this equipment is connected to

onboolean

Current power state of the equipment

stay_off_on_bootboolean

If true, equipment will not be powered on during boot sequence

boot_delayinteger

Seconds to wait after powering on during boot sequence