![Daikin Airzone Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/daikin/airzone/airzone_api-integration-manual_502360016.webp)
API Integration Manual for Daikin DKN Cloud Wi-Fi Adaptor
15
3.2.1 Device
– State
Turn on/off the AC.
-
REQUEST:
-
PUT https://dkncloudna.com/api/v1/open/{{INSTALLTION_ID}}/{{MAC}}/state
-
BODY: (JSON). Properties:
o
value
: (Boolean) true for on; false for off
-
EXAMPLE:
-
PUT https://dkcloudna.com/api/v1/open/5cd51f1684c09013f6765d9c/AA:BB:CC:DD:EE:0D/state
3.2.2 Device
– Setpoint
Specify the AC’s setpoint for the current operation mode.
-
REQUEST:
-
PUT https://dkncloudna.com/api/v1/open/{{INSTALLTION_ID}}/{{MAC}}/setpoint
-
BODY: (JSON). Properties:
o
value
: (Number) value of the setpoint.
-
EXAMPLE:
-
PUT https://dkncloudna.com/api/v1/open/5cd51f1684c09013f6765d9c/AA:BB:CC:DD:EE:0D/setpoint
In case the value is out of range, the request will return the following error:
o
Response code: 400
o
Body:
{
"_id": "outOfRange",
"msg": "Value out of range",
"data": {
"validRange": {
"minimumValue": {
"value": 18
},
"maximumValue": {
"value": 30
}
}
}
}
Where the
minimumValue
and
maximumValue
objects represent the minimum and maximum
values allowed respectively.
3.2.3 Device
– Mode
Change the AC’s operation mode.
-
REQUEST:
-
PUT https://dkncloudna.com/api/v1/open/{{INSTALLTION_ID}}/{{MAC}}/mode