Hagakurje / ESPHome_Gree_AC

24 stars 9 forks source link

Can it be adapted to the remote control model YAD0F1? #9

Open lijiazhiren opened 1 year ago

lijiazhiren commented 1 year ago

The configuration provided now cannot control my Gree air conditioner My air conditioner model is KFR-50LW(50569)FNAB-3 The remote control model is YAD0F1 Here is my esphome config

remote_receiver: pin: number: GPIO5 inverted: true dump: all

remote_transmitter: pin: GPIO14 carrier_duty_percent: 50%

This is the code obtained after the launch of YAD0F1

[23:17:54][D][remote.lg:054]: Received LG: data=0x9860040A, nbits=32 [23:17:54][D][remote.nec:070]: Received NEC: address=0x0619, command=0x5020 [23:17:54][D][remote.pronto:238]: Received Pronto: data=0000 006D 0025 0000 015A 00AC 0019 0040 0019 0015 0018 0016 0018 0040 0019 003F 0019 0015 0018 0017 0017 0016 0018 0016 0019 003F 0018 0040 0018 0017 0017 0016 0018 0016 0018 0016 0018 0016 0018 0017 0017 0016 0018 0016 0018 0016 [23:17:54][D][remote.pronto:240]: 0019 0015 0018 0040 0018 0016 0018 0017 0017 0017 0017 0016 0018 0016 0018 0016 0018 0040 0018 0016 0018 0040 0018 0017 0017 0016 0019 0041 0017 0016 0018 06C3 [23:17:54][D][remote.pronto:238]: Received Pronto: data=0000 006D 0021 0000 0017 0017 0017 0016 0018 0017 0017 0016 0018 0017 0017 0018 0017 0016 0018 0017 0017 0018 0017 0018 0017 0017 0017 0018 0017 0018 0017 0040 0018 0018 0017 0017 0017 0017 0017 0016 0018 0018 0017 0016 0018 0018 [23:17:54][D][remote.pronto:240]: 0017 0016 0018 0017 0017 0018 0017 0016 0018 0018 0017 0018 0017 0017 0017 0042 0017 0042 0017 0016 0018 0042 0017 06C3 [23:17:54][D][remote.jvc:049]: Received JVC: data=0x9860 [23:17:54][D][remote.lg:054]: Received LG: data=0x9860040E, nbits=32 [23:17:54][D][remote.nec:070]: Received NEC: address=0x0619, command=0x7020 [23:17:54][D][remote.pronto:238]: Received Pronto: data=0000 006D 0025 0000 0159 00AE 0017 0042 0017 0017 0017 0017 0017 0040 0018 0042 0017 0016 0018 0016 0018 0018 0017 0018 0017 0042 0017 0042 0017 0018 0017 0018 0017 0018 0017 0018 0017 0017 0017 0017 0017 0017 0017 0018 0017 0017 [23:17:54][D][remote.pronto:240]: 0017 0017 0017 0042 0017 0017 0017 0017 0017 0017 0017 0018 0017 0016 0018 0017 0017 0042 0017 0042 0017 0042 0017 0017 0017 0017 0017 0042 0017 0016 0018 06C3 [23:17:54][D][remote.pronto:238]: Received Pronto: data=0000 006D 0021 0000 0018 0016 0018 0016 0019 0015 0018 0016 0018 0016 0018 0016 0018 0016 0018 0016 0018 0016 0019 0015 0019 0015 0018 0016 0018 0016 0018 0016 0018 0016 0019 0015 0018 0016 0018 0016 0019 0015 0018 0016 0019 0042 [23:17:54][D][remote.pronto:240]: 0017 0016 0018 0016 0019 0015 0018 0016 0019 0015 0019 0015 0018 0016 0018 0016 0019 003F 0018 0016 0019 003F 0019 06C3

This is the code you get after launching with the code you provided

[23:20:28][D][remote.jvc:049]: Received JVC: data=0x9A80 [23:20:28][D][remote.lg:054]: Received LG: data=0x9A80060A, nbits=32 [23:20:28][D][remote.nec:070]: Received NEC: address=0x0159, command=0x5060 [23:20:28][D][remote.pronto:238]: Received Pronto: data=0000 006D 0025 0000 0157 00AF 0017 003F 0017 0016 0017 0016 0017 003F 0017 003F 0017 0016 0017 003F 0017 0016 0017 003F 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0017 0015 0016 0017 0016 [23:20:28][D][remote.pronto:240]: 0017 0016 0017 003F 0017 003F 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 003F 0017 0017 0016 003F 0017 0018 0017 0016 0017 003E 0017 0016 0017 06C3 [23:20:28][D][remote.pronto:238]: Received Pronto: data=0000 006D 0021 0000 0017 0040 0015 0016 0017 0016 0017 0016 0017 0018 0015 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0018 0015 0016 0017 0016 0017 003F 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 [23:20:28][D][remote.pronto:240]: 0017 0019 0013 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 0016 0017 003F 0017 003F 0017 0016 0017 06C3

lijiazhiren commented 1 year ago

I use some universal remotes on my phone that do start my AC This shows that there are codes that can be adapted on the Internet just don't know how to adapt This is the address of the app

https://play.google.com/store/apps/details?id=com.tiqiaa.remote

After installation Add model as YAD0F kjj

lijiazhiren commented 1 year ago

Here are the settings I have tried Codes in other formats are also uncontrollable This is in raw format

Hagakurje commented 1 year ago

I am using IRremoteESP8266 library for send command to AC. If it does not work, please ask in IRremoteESP8266.

lijiazhiren commented 1 year ago

I am using IRremoteESP8266 library for send command to AC. If it does not work, please ask in IRremoteESP8266.

ok I thought it was the control code you provided