-
Notifications
You must be signed in to change notification settings - Fork 2
/
AC_uart_Proto
181 lines (138 loc) · 5.05 KB
/
AC_uart_Proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
9600 8E1
CRC8 poly 0x1
0: bb hdr
1: 1 = rx
2: 1 = tx
3: cmd 3 = set
4: len
BB 00 01 04 02 01 00 BD
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
BB 01 00 04 37 04 00 34 D5 00 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 52 18 CA 00 00 00 00 E1 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E3
resp
----
7: pwr on off/ ac mode
2x = off
3x = on (bit 0001)
7x = eco (bit 0100)
bx = turbo fan (bit 1000)
x1 = cool
x2 = fan
x3 = dehum
x4 = heat
x5 = auto
8: fan set/temp set
xf = 31
...
x5 = 21
x4 = 20
x3 = 19
....
x0 = 16
8x = auto (1000)
9x = 1/low noise (1001)
cx = 2 (1100)
ax = 3 (1010)
dx = 4 (1101)
bx = 5/turbo (1011)
9: deci temp set,
x2 = .5 °C / .0°C
10: vanes
00 fix
40 vane move
20 wide vane move
BB 00 01 04 02 01 00 BD
BB 01 00 04 37 04 00 34 D5 00 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 52 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E2
BB 00 01 04 02 01 00 BD
BB 01 00 04 37 04 00 34 D6 00 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 53 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E0
BB 00 01 04 02 01 00 BD
BB 01 00 04 37 04 00 34 D5 02 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 53 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E1
BB 00 01 04 02 01 00 BD
BB 01 00 04 37 04 00 34 D5 02 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 52 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E0
BB 00 01 0A 03 05 00 00 B6
BB 01 00 0A 2D 04 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9D
BB 00 01 0A 03 05 00 00 B6
BB 01 00 0A 2D 04 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 9D
BB 01 00 0A 2D 04 00 0C 19 01 00 00 00 00 00 00 00 00 00 00 75 48 73 04 00 00 00 00 00 00 0000000000000000000000000000000000000000C7
BB 00 01 09 02 05 00 B4
BB 01 00 09 2D 04 00 00 00 00 00 00 FF 00 00 00 00 00 FF FF 00 00 00 00 00 00 F0 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6A
BB 00 01 09 02 05 00 B4
BB 01 00 09 2D 04 00 00 00 00 00 00 FF 00 00 00 00 00 FF FF 00 00 00 00 00 00 F0 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 6A
00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
BB 00 01 03 1D 00 00 64 01 5A 07 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 1E <- Temp 20,5
BB 01 00 03 37 04 00 34 D5 02 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 52 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E7
Set cmd
-------
7: misc
ex = eco
6x = default
2x = disp off
4x = buzz off
x4 = ON
8: ac mode
0x = normal
4x = turbo
8x = low noise
x1 = ac heat
x2 = ac dehum
x3 = ac cool
x7 = ac fan
x8 = ac auto mode
11 = health mode
9: full temp
55 = 26
..
5a = 21
5b = 20
5c = 19
5d = 18
5e = 17
5f = 16
10: fan speed (vane move + 38)
05 high (3d)
07 midhigh (3f)
03 medium (3b)
06 midlow
02 low (3a)
00 auto (38)
80 = 8° heater
11: deci temp, wide vane flow
x2 = .5 °C / .0°C
x8 = flow on/flow of
19: sleep mode
01 = default
02 = old people
03 = young
00 = off
32: vane
00 = off
01 = top fix
02 = upper fix
03 = mid fix
04 = above fix
05 = bot fix
08 = move full (10: 00->38 )
10 = move upper
18 = move bot
33: wide vane
80 = off
81 = left fix
..
83 = mid fix
..
85 = right fix
90 = left move
98 = mid move
a0 = rigth move
88 = full move
BB 00 01 03 1D 00 00 64 01 59 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 1F <- Temp 20,0
BB 01 00 03 37 04 00 34 D6 00 00 00 00 00 00 00 00 73 03 88 00 00 00 00 00 00 00 00 00 00 91 FF 40 00 6C 1F 1B 4F 52 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 E6
BB 00 01 03 1D 00 00 64 01 5A 07 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 1E <- Temp 20,5
BB 01 00 03 37 04 00 34 D5 02 00 00 00 00 00 00 00 73 23 88 00 00 00 00 00 00 00 00 00 00 8E FF 40 00 6C 1F 1B 4F 53 18 CA 00 00 00 00 E0 01 00 00 44 40 00 00 00 00 1A 00 00 00 00 D9
BB 00 01 03 1D 00 00 64 01 5A 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 1C <- On
BB 01 00 03 37 04 00 34 D5 00 00 00 00 00 00 00 00 69 23 88 00 00 00 00 00 00 00 00 00 00 6B FF 40 00 00 21 20 2C 00 00 C0 00 00 00 00 E6 00 00 00 44 40 00 00 00 00 1A 00 00 00 00 68
AP mode
[b'\xbb', b'\x01', b'\x00', b'\x05', b'\x0b', b'\x04', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x01', b'\xb1']
bb 00 01 05 09 00 00 00 00 00 00 00 00 01 b7
CF mode
bb 00 01 05 09 00 00 00 00 00 00 00 00 08 be
[b'\xbb', b'\x01', b'\x00', b'\x05', b'\x0b', b'\x04', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x00', b'\x08', b'\xb8']