![Daikin Airzone Скачать руководство пользователя страница 15](http://html1.mh-extra.com/html/daikin/airzone/airzone_api-integration-manual_502360015.webp)
API Integration Manual for Daikin DKN Cloud Wi-Fi Adaptor
14
o
devices:
Array of JSON objects describing the linked devices from installation which the user
has access to:
mac
: device mac.
icon
: number which identifies the device’s icon as appears in the DKN Cloud NA app.
name
: device name, as appears in the DKN Cloud NA app
3.1.2 Device State
Returns the state parameters of a device.
-
RETURN
-
GET
https://dkncloudna.com/api/v1/open/{{INSTALLTION_ID}}/{{MAC}}
-
BODY:
none
-
EXAMPLE:
-
GET https://dkncloudna.com/api/v1/open/5cd51f1684c09013f6765d9c/AA:BB:CC:DD:EE:0D
-
RESPONSE:
{
"mode": <number>,
"power": <boolean>,
"setpoint": <number>,
"temperature": <number>,
"speed": <number>,
"isConnected": <boolean>,
"error": <number>,
"errorStr": <string>,
"warning": <number>,
"warningStr": <string>
}
o
mode
:
device’s current operation mode.
o
power
:
true
if on;
false
if off.
o
setpoint
: setpoint for the current operation mode.
o
temperature
: room temperature.
o
speed
: fan speed.
o
isConnected
: if device is online or not (connected to the cloud).
o
error
: AC unit’s error code.
If there’s no error, this field will not be returned.
o
errorStr
: ASCII representation of the error.
If there’s no error, this field will not be
returned.
o
warning
: AC unit’s warning code.
If there’s no warning, this field will not be returned.
o
warningStr
: ASCII representation of the warning.
If there’s no warning, this field will not
be returned.
3.2 Command Requests
The following requests execute idempotent actions over a device. Every action, in case of being
correctly executed, will return the device’s state after applying the command. The format of the
response is the same as the previous device state request.