Devices & room
Identify a device
POST
/api/devices/{id}/identifyOpen. Open to everyone who can reach Tempolight.
Lights that controller's shapes for a few seconds.
Path parameters
idstringrequiredA device id (d…).
Responses
200OKapplication/json
oktruerequiredRequest
curl -X POST 'http://localhost:8080/api/devices/id/identify'const res = await fetch("http://localhost:8080/api/devices/id/identify", {
method: "POST",
});
const data = await res.json();
console.log(data);import requests
res = requests.post(
"http://localhost:8080/api/devices/id/identify",
)
print(res.json())Response
{
"ok": true
}