Skip to content

Spanfile/ac-remote-reverse-engineer

Repository files navigation

Reverse engineering the YK-H/531E AC remote control IR protocol

This repository contains Python scripts that I used to reverse engineer the YK-H/531E air conditioner remote control IR protocol, and to encode my own messages for the protocol that can be sent out from an IR blaster.

More information in my blog post.

Examples

Capture a stream of IR messages from a Zigbee2MQTT-connected IR blaster:

python ir_receive.py --broker your.mqtt.broker --topic "zigbee2mqtt/IR blaster" --username username --password password > captured_messages.txt

Decode captured messages:

python ir_decode.py captured_messages.txt

Encode a control message:

python ir_encode.py --on --temp 20 --mode cool --fan mid --swing --button onoff

About

Reverse engineer of the YK-H/531E AC unit remote control IR protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages