-
Notifications
You must be signed in to change notification settings - Fork 0
API
Maximiliano Churichi edited this page Jul 27, 2017
·
4 revisions
Get the current status of the device
curl -X GET "http://{iPava}/api/status"
{
"deviceId": "iPava_1235",
"auth": true,
"success": true,
"response": {
"calentando": true,
"temperatura": 28.3
}
}
Starts the device with the desired temperature
curl -X POST "http://{iPava}/api/start/" -d '{"temperature":83}'
{
"auth": true,
"success": true,
"response": {
"taskId": 1,
"ack": true
}
}