This is a very quick and dirty implementation of an IR encoder/decoder for a Lennox Heat pump unit for use with a Broadlink RM4 Mini
- Remote model: RG57A6/BGEFU1
- Heat pump: MWMA018S4-2P
heatpump set-state --power --mode Heat -t 24 --fan Auto | python ./py/send.py
$ cat captures/off.ir | heatpump decode
Recv: a12347ffffeb 101000010010001101000111111111111111111111101011
Decode: Ok(ControlState { power: false, mode: Heat, temperature: Some(24), fan: Auto })