Downlink Commands for Temperature Control Parameters
This section describes the JSON format for downlink commands for temperature control parameters.
Configure Data Source
| Name | Example |
|---|---|
| collection_interval | Collect Interval is
300s.{
"collection_interval": {
"seconds_of_time": 300 //Unit: s, range: 1-360, default: 60
}
} |
| data_sync_to_peer | Data Source is
LoRa.{
"data_sync_to_peer": 1 //00=Embedded (Default), 01=LoRa
} |
| data_sync_timeout | Data Timeout is 30
minutes.{
"data_sync_timeout": 30 //Unit: min, range: 1-60, default: 10
} |
| origin_temperature | External Temperature is
20.5°C.{
"origin_temperature": 20.50 //Unit: °C, range: -26-60
} |
| origin_humidity | External Humidity is
47.3%RH.{
"origin_humidity": 47.30 //Unit: %RH, range: 0-100
} |
Configure Temperature Control System Parameters
Note: When the thermostat is paired with or connected to the Milesight controller, the supported options depend on the controller and it is suggested to send downlink commands to the controller directly.
| Name | Example |
|---|---|
| system_status | Turn on the
system.{
"system_status": 1 //0=Off, 1=On
} |
| mode_enable | Configure Temperature Control Mode Enable
options.{
"mode_enable": 1 //1: Heat+EM Heat+Cool+Auto, 2: Heat+Cool+Auto, 3: Heat, 4: Cool, 5: Heat+Cool, 6: All Modes
} |
| temperature_control_mode | Temperature Control Mode is
Heat.{
"temperature_control_mode": {
"mode": 0 //0=Heat, 1=EM Heat, 2=Cool, 3=Auto, 4=Dehumidification, 5=Ventilation
}
} |
| target_temperature_mode | Target Temperature Mode is Dual target
temperature.{
"target_temperature_mode": 1 //0=Single Target Temperature, 1=Dual Target Temperature
} |
| target_temperature_resolution | Target Temperature Resolution is
0.5.{
"target_temperature_resolution": 0 //0=0.5, 1=1
} |
| target_temperature_settings | Configure the target temperature of every
mode.{
"target_temperature_settings": { //Unit: °C, Range: 5-35
"heat": 22.0,
"em_heat": 24.0,
"cool": 26.0,
"auto": 24.0,
"auto_heat": 22.0,
"auto_cool": 26.0
}
} |
| minimum_dead_zone | Deadband is
3°C.{
"minimum_dead_zone": 3 //Unit: °C, range: 1-10, default: 5
} |
| target_temperature_range | Configure the target temperature regulation range
of every
mode.{
"target_temperature_range": { Unit: °C, Range: 5-35
"heat": {
"min": 16.0,
"max": 30.0
},
"em_heat": {
"min": 16.0,
"max": 30.0
},
"cool": {
"min": 16.0,
"max": 30.0
},
"auto": {
"min": 16.0,
"max": 30.0
}
}
} |
| fan_enable | Enable
Auto/Circulate/Low/Medium/High.{
"fan_enable": 1 //1=auto/circulate/low/medium/high, 2=auto/low/medium/high, 3=circulate/low/medium/high, 4=auto/circulate, 5=low/medium/high
} |
| fan_control_mode | Fan Mode is
Auto.{
"fan_control_mode": 0 //0=Auto,, 1=Circulate, 2=On, 3=Low, 4=Medium, 5=High
} |
Configure Occupancy Detection Parameters
| Name | Example |
|---|---|
| pir_common | Enable Occupancy Detection and set the delay
time.{
"pir_common":{
"enable": 0, //00=Disable, 01=Enable (default)
"release_time": 15 //Unit: minute, Range: 1 ~ 360, Default: 30
}
} |
| pir_energy | Enable Energy-saving Setting and configure the
execution plan
IDs.{
"pir_energy":{
"enable": 0, //00=Disable, 01=Enable (default)
"plan":
{
"occupied":1, //Range: 0-7, 255=Not executed
"unoccupied": 2 //Range: 0-7, 255=Not executed
}
}
} |
| pir_night | Enable Night Setting, set night time is 0:00 to
7:00, the execution plan ID is
2.{
"pir_night":{
"enable": 1, //00=Disable (default), 01=Enable
"night_time": Unit: min, Range: 0-1439
{
"start":0,
"stop":420
},
"occupied": 2 //Range: 0-7, 255=Not executed
}
} |
Configure Schedule Parameters
| Name | Example |
|---|---|
| insert_temporary_plan | Execute Schedule Plan
1.{
"insert_temporary_plan": 0 //Range: 0-7
} |
| delete_task_plan | Delete/Reset Schedule Plan
2.{
"delete_task_plan": 1 //Range: 0-7
} |
| schedule_settings | Add schedule 1 and configure the
settings.{
"schedule_settings": [
{
"id": 0, //Schedule ID, range: 0-7
"enable": 1, //0: Disable, 1: Enable
"name_first": "schedu", //6 charaters max.
"name_last": "le", //4 charaters min.
"system_on_off":0, //0: Off, 1: On
"tstat_mode":0, //0=Heat, 1=EM Heat, 2=Cool, 3=Auto, 4=Dehumidification, 5=Ventilation
"fan_mode":0, //0=Auto,, 1=Circulate, 2=On, 3=Low, 4=Medium, 5=High
"heat_target_temperature":16, //Unit: °C, Range: 5-35
"cool_target_temperature":23, //Unit: °C, Range: 5-35
"auto_target_temperature":23 //Unit: °C, Range: 5-35
}
]
} |