Coffee machine
OffUnknown
Object & API
This synthetic object powers the controls above. Requests run in this browser.
Object schema · Explore in graph
GET /api/devices/demo-device-31Current object state
{
"schemaVersion": 1,
"id": "demo-device-31",
"name": "Coffee machine",
"status": "online",
"health": {
"status": "healthy",
"detail": "Simulated device",
"checkedAt": "2000-01-01T00:00:00.000Z"
},
"manufacturer": "TP-Link",
"model": "Kasa plug",
"capabilities": {
"binarySwitch": {
"id": "demo-device-31",
"state": {
"availability": "online",
"observedAt": "2000-01-01T00:00:00.000Z",
"value": "off"
},
"actions": {
"turnOn": {},
"turnOff": {},
"toggle": {},
"getState": {}
}
}
}
}Capabilities & actions
binarySwitch
turnOn
POST /api/devices/demo-device-31/capabilities/binarySwitch/controls/turnOnAction description
{}turnOff
POST /api/devices/demo-device-31/capabilities/binarySwitch/controls/turnOffAction description
{}toggle
POST /api/devices/demo-device-31/capabilities/binarySwitch/controls/toggleAction description
{}getState
POST /api/devices/demo-device-31/capabilities/binarySwitch/controls/getStateAction description
{}