Downlink Commands for Air Conditioner Control Parameters
This section describes the downlink commands for air conditioner control related parameters.
IR Code Learning
| Name | Example |
|---|---|
| trigger_infrared_learn | Activate the IR learning
mode.{
"trigger_infrared_learn": "yes"
} |
| infrared_learn.predefine_brand | Set the preset mode as M96b
(TCL/XIAOMI).{
"infrared_learn": {
"predefine_brand": 1 //1: XIAOMI/TCL, 2: SHINCO/SAMSUNG/ELECTROLUX, 3: AIRWELL/BOSCH/WHIRLPOOL, 4: FUJITSU/McQUAY, 5: TRUMA
}
} |
| infrared_format_code_divide | Write the IR
code.{
"infrared_format_code_divide": [
{
"index": 0,
"format_code": "000006015304100400" //9 bytes
},
{
"index": 1,
"format_code": "000000000400044410" //9 bytes
},
{
"index": 2,
"format_code": "044000800000000000" //9 bytes
},
......
]
} |
| clear_infrared_format_code | Clear the IR code.{
"clear_infrared_format_code": "yes"
} |
Configure Air Conditioner System Parameters
| Name | Example |
|---|---|
| system_switch | Turn the AC on.{
"system_switch": 1 //0: Off (default), 1: On
} |
| temperature_control_mode_enable | Enable Auto and Heat
mode.{
"temperature_control_mode_enable": { //0: disable, 1: enable
"heat": 1,
"em_heat": 0, //reserved
"cool": 0,
"auto": 1,
"dehumidify": 0,
"ventilate": 0
}
} |
| temperature_control_mode.ctrl_mode | Set the temperature control mode as
Cool.{
"temperature_control_mode": {
"ctrl_mode": 2 //0: Heat, 2: Cool, 3: Auto, 4: Dehumidification, 5: Ventilation
}
} |
| target_temperature_settings | Set the target temperature as 20 °C
in Cool mode.{
"target_temperature_settings": {
"cool": 20 //Unit: °C, range: 16-30
}
}Set the target temperature as 20 °C in Heat
mode. {
"target_temperature_settings": {
"heat": 20 //Unit: °C, range: 16-30
}
} |
| target_temperature_tolerance | Set the target temperature tolerance
as 5 °C.{
"target_temperature_tolerance": {
"target_value": 5 //Unit: °C, range: 0.1-5, default: 1
}
} |
| fan_settings.fan_mode | Set the fan mode as Auto.{
"fan_settings": {
"fan_mode": 0 //0: Auto (default), 3: Low, 4: Medium, 5: High
}
} |
| temp_control_param_config | AC on, Cool mode, Auto fan mode,
target temperature is 20
°C.{
"temp_control_param_config": {
"on_off": 1, //0: Off, 1: On, 255: No apply
"temp_ctrl_mode": 2, //0: Heat, 2: Cool, 3: Auto, 4: Dehumidification, 5: Ventilation, 255: No apply
"fan_mode": 0, //0: Auto, 3: Low, 4: Medium, 5: High, 255: No apply
"target_temperature": 20 //Unit: °C, range: 16-30,32767: No apply
}
} |
Configure Open Window Detection
| Name | Example |
|---|---|
| window_opening_detection_settings | Enable open window
detection.{
"window_opening_detection_settings": {
"enable": 1 //0: Disable (default), 1: Enable
}
}Set the temperature change as 10
°C/min.{
"window_opening_detection_settings": {
"difference_in_temperature": 10 //Unit: °C/min, range: 1-10, default: 3
}
}Set the stop temperature time as 360
minutes.{
"window_opening_detection_settings": {
"stop_time": 360 //Unit: min, range: 1-1440, default: 30
}
} |
| open_window_alarm | Trigger the open window
alarm.{
"open_window_alarm": {
"mode": 1 //0: Release, 1: Alarm
}
} |
Configure Filter Cleaning Alarm
| Name | Example |
|---|---|
| filter_clean_settings | Enable the filter cleaning
alarm.{
"filter_clean_settings": {
"enable": 1 //0: Disable (default), 1: Enable
}
}Set the reminder interval as 1
day.{
"filter_clean_settings": {
"reminder_period": 1 //Unit: day, range: 1-730, default: 90
}
} |
| filter_clean_alarm | Trigger the filter cleaning
alarm.{
"filter_clean_alarm": {
"mode": 1 //0: Release, 1: Alarm
}
} |
Configure Schedule Parameters
Tip: To delete a plan, just leave the value of the
command as all 0.
| Name | Example |
|---|---|
| schedule_settings | Enable/Add plan
4.{
"schedule_settings": [
{
"id": 3, //Schedule ID, range: 0-7
"enable": 1 //0: Disable (default), 1: Enable
}
]
}Schedule name is Schedule
1.{
"schedule_settings": [
{
"id": 0, //Schedule ID, range: 0-7
"name1": "schedu", //First 6 characters
"name2": "le 1" //Last 4 charatersI
}
]
}Schedule 1 fan mode is Auto and target temperature is 16
°C.{
"schedule_settings": [
{
"id": 0, //Schedule ID, range: 0-7
"fan_mode": 0, //0: Auto, 3: Low, 4: Medium, 5: High
"target_temp": 16 //Unit: °C, range: 16-30
}
]
}Schedule 1 AC on in Cool
mode.{
"schedule_settings": [
{
"id": 0, //Schedule ID, range: 0-7
"switch_on": 1, //0: Off, 1: On
"work_mode": 2 //0: Heat, 2: Cool, 3: Auto, 4: Dehumidification, 5: Ventilation
}
]
}Enable schedule time 1, time is 8:00, repeat day is Mon., Wed.,
Fri.{
"schedule_settings": [
{
"id": 0, //Schedule ID, range: 0-7
"cycle_settings": [
{
"id": 0, //Time ID, range: 0-15
"enable": 1, //0: Disable (default), 1: Enable
"execution_time_point": 480, //Unit: min, range: 0-1439
"execution_day_sun": 0, //0: Disable, 1: Enable
"execution_day_mon": 1, //0: Disable, 1: Enable
"execution_day_tues": 0, //0: Disable, 1: Enable
"execution_day_wed": 1, //0: Disable, 1: Enable
"execution_day_thu": 0, //0: Disable, 1: Enable
"execution_day_fri": 1, //0: Disable, 1: Enable
"execution_day_sat": 0, //0: Disable, 1: Enable
"reserved": 1
}
]
}
]
} |
| insert_temporary_plan | Execute plan
1.{
"insert_temporary_plan": {
"id": 0 //0-15, 255: Stop insertion
}
} |
| delete_task_plan | Delete plan
2.{
"delete_task_plan": {
"type": 1 //0-15, 255: Reset all
}
} |
Configure Energy Saving Parameters
Tip: To delete a task, just leave the value of the
command as all 0.
| Name | Example |
|---|---|
| temperature_limit_task_settings | Enable the temp limit
task.{
"temperature_limit_task_settings": [
{
"id": 0, //Task ID, range: 0
"enable": 1 //0: Disable (default), 1: Enable
}
]
}Valid date is 1.1 to
12.31.{
"temperature_limit_task_settings": [
{
"id": 0,
"task_date_settings": {
"start_mon": 1, //Range: 1-12
"start_day": 1, //Range: 1-31
"end_mon": 12, //Range: 1-12
"end_day": 31 //Range: 1-31
}
}
]
}Active period is 8:00 to
18:00.{
"temperature_limit_task_settings": [
{
"id": 0,
"execute_period": {
"start_minute": 480, //Unit: min, range: 0-1439
"end_minute": 1080 //Unit: min, range: 0-1439
}
}
]
}Repeat cycle is Mon., Wed.,
Fri.{
"temperature_limit_task_settings": [
{
"id": 0,
"cycle_settings": {
"execution_day_sun": 0, //0: Disable, 1: Enable
"execution_day_mon": 1, //0: Disable, 1: Enable
"execution_day_tues": 0, //0: Disable, 1: Enable
"execution_day_wed": 1, //0: Disable, 1: Enable
"execution_day_thu": 0, //0: Disable, 1: Enable
"execution_day_fri": 1, //0: Disable, 1: Enable
"execution_day_sat": 0 //0: Disable, 1: Enable
}
}
]
}Low threshold is 16
°C.{
"temperature_limit_task_settings": [
{
"id": 0,
"low_threshold": 16 //Unit: °C, range: 16-30
}
]
}High threshold is 30
°C.{
"temperature_limit_task_settings": [
{
"id": 0,
"high_threshold": 30 //Unit: °C, range: 16-30
}
]
} |
| delete_temperature_limit_task | Delete the temp limit
task.{
"delete_temperature_limit_task": {
"type": 0 //0: Task 1
}
} |
| vacation_task_settings | Add/Enable task
1.{
"vacation_task_settings": [
{
"id": 0, //Task ID, range: 0-7
"enable": 1 //0: Disable (default), 1: Enable
}
]
}Task 1 valid date is 1.1 to
12.31.{
"vacation_task_settings": [
{
"id": 0,
"task_date_settings": {
"start_mon": 1, //Range: 1-12
"start_day": 1, //Range: 1-31
"end_mon": 12, //Range: 1-12
"end_day": 31 //Range: 1-31
}
}
]
}Task 1 active period is 8:00 to
18:00.{
"vacation_task_settings": [
{
"id": 0,
"execute_period": {
"start_minute": 480, //Unit: min, range: 0-1439
"end_minute": 1080 //Unit: min, range: 0-1439
}
}
]
}Task 1 repeat cycle is Mon., Wed.,
Fri.{
"vacation_task_settings": [
{
"id": 0,
"cycle_settings": {
"execution_day_sun": 0, //0: Disable, 1: Enable
"execution_day_mon": 1, //0: Disable, 1: Enable
"execution_day_tues": 0, //0: Disable, 1: Enable
"execution_day_wed": 1, //0: Disable, 1: Enable
"execution_day_thu": 0, //0: Disable, 1: Enable
"execution_day_fri": 1, //0: Disable, 1: Enable
"execution_day_sat": 0 //0: Disable, 1: Enable
}
}
]
}Task 1 fan mode is
Auto.{
"vacation_task_settings": [
{
"id": 0,
"fan_mode": 0 //0: Auto, 3: Low, 4: Medium, 5: High
}
]
}Task 1 target temperature is 16
°C.{
"vacation_task_settings": [
{
"id": 0,
"target_temp": 16 //Unit: °C, range: 16-30
}
]
}Task 1 AC
on.{
"vacation_task_settings": [
{
"id": 0,
"switch_on": 1 //0: Off, 1: On
}
]
}Task 1 cool
mode.{
"vacation_task_settings": [
{
"id": 0,
"work_mode": 2 //0: Heat, 2: Cool, 3: Auto, 4: Dehumidification, 5: Ventilation
}
]
} |
| delete_vacation_task | Delete holiday mode task
1.{
"delete_vacation_task": {
"type": 0 //0-7, 255: Reset all
}
} |