File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,7 @@ enum gree_ac_remote_model_t {
157
157
YBOFB, // (2) Green, YBOFB2, YAPOF3
158
158
YX1FSF, // (3) Soleus Air window unit (Similar to YAW1F, but with an
159
159
// Operation mode of Energy Saver (Econo))
160
+ YX1F8F, // Similiar to YX1FSF
160
161
};
161
162
162
163
// / HAIER_AC176 A/C model numbers
Original file line number Diff line number Diff line change @@ -122,8 +122,16 @@ void IRGreeAC::stateReset(void) {
122
122
std::memset (_.remote_state , 0 , sizeof _.remote_state );
123
123
_.Temp = 9 ; // _.remote_state[1] = 0x09;
124
124
_.Light = true ; // _.remote_state[2] = 0x20;
125
- _.unknown1 = 5 ; // _.remote_state[3] = 0x50;
126
- _.unknown2 = 4 ; // _.remote_state[5] = 0x20;
125
+
126
+ if (_model == gree_ac_remote_model_t ::YX1F8F) {
127
+ _.unknown1 = 10 ; // _.remote_state[3] = 0x0A;
128
+ _.unknown2 = 0 ; // _.remote_state[5] = 0x01;
129
+ _.unknown3 = 1 ; // _.remote_state[5] = 0x01;
130
+ } else {
131
+ _.unknown1 = 5 ; // _.remote_state[3] = 0x50;
132
+ _.unknown2 = 4 ; // _.remote_state[5] = 0x20;
133
+ _.unknown3 = 0 ; // _.remote_state[5] = 0x20;
134
+ }
127
135
}
128
136
129
137
// / Fix up the internal state so it is correct.
@@ -188,7 +196,8 @@ void IRGreeAC::setModel(const gree_ac_remote_model_t model) {
188
196
switch (model) {
189
197
case gree_ac_remote_model_t ::YAW1F:
190
198
case gree_ac_remote_model_t ::YBOFB:
191
- case gree_ac_remote_model_t ::YX1FSF: _model = model; break ;
199
+ case gree_ac_remote_model_t ::YX1FSF:
200
+ case gree_ac_remote_model_t ::YX1F8F: _model = model; break ;
192
201
default : _model = gree_ac_remote_model_t ::YAW1F;
193
202
}
194
203
}
Original file line number Diff line number Diff line change 26
26
// Brand: Vailland, Model: YACIFB remote
27
27
// Brand: Vailland, Model: VAI5-035WNI A/C
28
28
// Brand: Soleus Air, Model: window A/C (YX1FSF)
29
+ // Brand: Frigidaire, Model: YX1F8F remote
29
30
30
31
#ifndef IR_GREE_H_
31
32
#define IR_GREE_H_
@@ -76,7 +77,7 @@ union GreeProtocol{
76
77
uint8_t IFeel :1 ;
77
78
uint8_t unknown2 :3 ; // value = 0b100
78
79
uint8_t WiFi :1 ;
79
- uint8_t : 1 ;
80
+ uint8_t unknown3 : 1 ; // value = 0b0
80
81
// Byte 6
81
82
uint8_t :8 ;
82
83
// Byte 7
You can’t perform that action at this time.
0 commit comments