1. Temperature Control Screen Protocol

1.1. 1. Document information

  • Protocol version: V1.1
  • It is recommended to read the overall interaction sequence diagram in Section 6 first to get an overview

1.2. 2. Communication parameters

  The default communication parameters are as follows:

Item Parameter value
Transmission mode Half duplex
Baud rate 9600bps by default
Data format 1 start bit, 8 data bits
Parity bit Even
Stop bit 1 bit

1.3. 3. Data structure

1.3.1. 3.1 Command sent (temperature control screen -> gateway)

Gateway address Function code Function parameter HVAC device count HVAC device address Checksum
1 byte 1 byte 1 byte 1 byte count × 2 byte 1 byte

1.3.2. 3.2 Data feedback (gateway -> temperature control screen)

Gateway address Function code Function parameter HVAC device count HVAC device address + status value Checksum
1 byte 1 byte 1 byte 1 byte count × 10 byte 1 byte
  • Gateway address: the gateway's own 485 address, 0x01 by default
  • Function code: query and control commands
  • Function parameter: the parameter value of the function code
  • HVAC device address definition:
    • Address length: composed of 2 bytes
    • Air conditioner address: composed of (outdoor unit address, indoor unit address) .
    • Fresh air address: the first byte is fixed to 0x41 (65), the second byte is the fresh air 485 address
    • Floor heating address: the first byte is fixed to 0x42 (66), the second byte is the floor heating 485 address
  • HVAC device status value:
    • Length: composed of 8 bytes
    • Room: defaults to 00
Power Temperature Mode Fan speed Room Checksum (Fault) Air direction
1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte
  • Checksum calculation: the sum of all data bytes from the "gateway address" up to (but not including) the "checksum", keeping the low 8 bits (overflow ignored)

1.4. 4. Query command set

Function code Function parameter Meaning
0x50-Query AC status 0xFF Query by the temperature control screen
0x51-Query fresh air status 0xFF Query by the temperature control screen
0x52-Query floor heating status 0xFF Query by the temperature control screen
0x10-Query temperature control screen temperature and humidity 0xFF Active query by the gateway, frequent querying is prohibited, it will cause bus conflicts
  • Query AC status:
Gateway address Function code Function parameter HVAC device count HVAC device address Checksum
1 byte 0X50 0XFF 0XFF 0XFF 0XFF 1 byte
  • Query fresh air status:
Gateway address Function code Function parameter HVAC device count HVAC device address Checksum
1 byte 0X51 0XFF 0XFF 0XFF 0XFF 1 byte
  • Query floor heating status:
Gateway address Function code Function parameter HVAC device count HVAC device address Checksum
1 byte 0X52 0XFF 0XFF 0XFF 0XFF 1 byte
  • Query temperature control screen temperature and humidity:

Command

Gateway address Function code Function parameter Checksum
1 byte 0X10 0XFF 1 byte

Response

Gateway address Function code Function parameter Temperature Humidity Checksum
1 byte 0X10 0XFF 2 bytes 2 bytes 1 byte

[!TIP] Actual temperature/humidity value (one decimal place) = (temperature|humidity) / 10

1.5. 5. Control command set

1.5.1. 5.1 Air conditioner control

Function code Function parameter Meaning
0x31-Control power 0x01 Power on
0x00 Power off
0x32-Control temperature 0x10~0x1E Temperature 16~30°C
0x33-Control mode 0x01 Cooling
0x02 Dehumidification
0x04 Fan
0x08 Heating
0x34-Control fan speed 0x00 Auto
0x01 High
0x02 Medium
0x04 Low
0x35-Control air direction Front/back and left/right air direction, 1 byte, controlled bit by bit See the table below, air direction parameters

Air direction parameters

Air direction type Bit range Rule description
Front/back air direction Bit7~Bit4 (upper four bits) 0: swing

1-6: position 1-position 6

F: keep unchanged
Left/right air direction Bit3~Bit0 (lower four bits) 0: swing

1-6: position 1-position 6

F: keep unchanged

1.5.2. 5.2 Fresh air control

Function code Function parameter Meaning
0x71-Control power 0x01 Power on
0x00 Power off
0x73-Control mode 0x01 Ventilation
0x02 Exhaust
0x74-Control fan speed 0x00 Auto
0x01 High
0x02 Medium
0x04 Low

1.5.3. 5.3 Floor heating control

Function code Function parameter Meaning
0x81-Control power 0x01 Power on
0x00 Power off
0x82-Control temperature 0x5~0x5A Temperature 5~90°C

1.5.4. 6. Interaction sequence diagram

sequenceDiagram participant T10 as Temperature control screen (Client) participant GW as Gateway (Server) T10->>GW: 0x50-Query AC status, obtain all AC information GW-->>T10: Reply with all AC information T10->>GW: Send control command GW-->>T10: Reply with AC status changes

1.6. 7. Command sending examples

1.6.1. 7.1 Query example

  • Query all AC parameters under the AC gateway with address 01:
Send: 01  50  FF  FF  FF  FF  4D
Receive: 01  50  FF  06
01  01  01  14  02  03  20  00  00  00  (10-byte status of indoor unit 01-01)
01  02  00  14  02  01  23  00  00  00  (10-byte status of indoor unit 01-02)
01  03  01  14  02  03  24  00  00  00  (10-byte status of indoor unit 01-03)
02  00  01  14  03  01  20  00  00  00  (10-byte status of indoor unit 02-00)
02  01  00  14  02  03  20  00  00  00  (10-byte status of indoor unit 02-01)
02  02  00  14  03  01  20  00  00  00  (10-byte status of indoor unit 02-02)
3C

1.6.2. 7.2 Control command examples

  • Power on the AC at address 1-3:
Send: 01  31  01  01  01  03  38
Receive: 01  31  01  01  01  03  38
  • Set the temperature of the AC at address 1-3 to 26°C:
Send: 01  32  1A  01  01  03  52
Receive: 01  32  1A  01  01  03  52

results matching ""

    No results matching ""