esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
419 stars 26 forks source link

Add support for Hitachi RAR-3U1 -remote for split unit AC #2484

Open bgmn opened 11 months ago

bgmn commented 11 months ago

Describe the problem you have/What new integration you would like

I set up IR Remote Climate for hitachi_ac424 with ESP32dev and it works perfectly. I wanted to set up a receiver for the Hitachi RAR-3U1 remote. I used the example code and checked that the IR received receives the codes with dump: all and dump: raw.

The problem is that the received codes do nothing with ESPHome or Home assistant. I can control the AC split unit with home assistant and the receiver can read the IR signal but nothing happens. I think that this is because the remote is slightly different from either of the

Please describe your use case for this integration and alternatives you've tried:

I would like to have a receiver for the remote so the status would sync on home assistant

Additional context

Here is my configuration for the

remote_transmitter:
  pin: GPIO16
  carrier_duty_percent: 50%

remote_receiver:
  id: recvr_ir
  dump: all
  pin:
    number: GPIO17
    inverted: true
    mode:
      input: true
      pullup: true
  # high 55% tolerance is recommended for some remote control units
  tolerance: 55%

climate:
  - platform: hitachi_ac424 
    name: "Heat pump"
    receiver_id: recvr_ir

Here is dump: all for hitachi_ac424 and RAR-3U1 remote

[20:55:23][I][remote.pronto:237]: Received Pronto: data=0000 006D 00C1 0000 007F 0041 000F 0030 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000C 0016 000E 0031 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000B 0016 000E 0013
[20:55:23][I][remote.pronto:239]: 000B 0016 000E 0013 000E 0013 000E 0014 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0031 000E 0013 000C 0033 000E 0031 000E 0031 000F 0031 000E 0031 000E 0031 000E 0013 000E 0031 000F 0030 000E 0031 000E 0031 000E 0031 000E 0031 000E 0030 000F 0030 000E 0031 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0013 000E 0031 000E 0031 000E 0013 000E 0013 000E 0031 000F 0031 000F 0030 000F 0031 000E 0013 000E 0013 
[20:55:23][I][remote.panasonic:070]: Received Panasonic: address=0x8008, command=0x0002FDFF

Here is dump: all for hitachi_ac424 and HA command

[20:55:49][I][remote.pronto:237]: Received Pronto: data=0000 006D 00C1 0000 0084 003D 0013 002D 0010 0011 0013 000E 0013 000D 0012 000E 0013 000E 0013 000E 0013 000D 0012 000E 0013 000E 0013 000E 0013 000D 0012 002E 0013 000E 0012 000E 0012 000E 0013 000E 0013 000E 0012 000E 0013 000E
[20:55:49][I][remote.pronto:239]: 0013 000D 0013 000D 0012 000E 0013 000E 0013 000E 0013 000D 0012 000E 0013 000E 0013 000E 0013 000D 0012 002E 0013 000E 0012 002E 0013 002E 0013 002D 0013 002E 0013 002D 0013 002E 0013 000D 0012 002E 0013 002D 0012 002E 0013 002D 0012 002E 0013 002D 0012 002E 0013 002D 0012 002E 0013 000E 0013 000D 0012 000E 0013 000F 0012 000F 0011 000E 0012 000E 0013 000F 0012 000D 0012 000E 0013 002E 0013 002D 0013 000E 0013 000F 0012 002D 0013 002E 0013 002D 0013 002E 0013 000E 0011 000F 
[20:55:49][I][remote.drayton:213]: Received Drayton: address=0x0000 (0x0000), channel=0x000 command=0x000
[20:55:49][I][remote.panasonic:070]: Received Panasonic: address=0x8008, command=0x0002FDFF

I also tried with hitachi_ac344 but it didn't work on the AC unit and the remote didn't have any effect on Home Assistant Here is dump: all for hitachi_ac344 and RAR-3U1 remote

[20:58:00][I][remote.pronto:237]: Received Pronto: data=0000 006D 00C1 0000 007D 0043 000D 0032 000D 0015 000D 0015 000C 0015 000C 0016 000C 0016 000C 0016 000C 0016 000B 0017 000B 0015 000D 0016 000E 0012 000D 0034 000E 0013 000B 0016 000E 0014 000E 0014 000E 0013 000E 0013 000E 0014
[20:58:00][I][remote.pronto:239]: 000E 0013 000E 0014 000B 0016 000E 0014 000B 0016 000E 0014 000E 0013 000E 0013 000E 0013 000B 0016 000E 002F 0010 0014 000E 002F 000D 0032 0010 002F 0010 002F 0010 002F 0010 002F 0010 0014 000E 0031 000E 002F 000F 0030 000D 0032 0010 002F 0010 002F 000D 0032 000F 0030 0010 0030 000F 0014 000E 0013 000E 0013 000B 0016 000B 0016 000E 0013 000B 0016 000B 0016 000B 0015 000D 0015 000C 0033 000C 0032 000D 0015 000C 0016 000C 0033 000D 0033 000D 0032 000C 0033 000C 0015 000C 0015 
[20:58:00][I][remote.panasonic:070]: Received Panasonic: address=0x81AA, command=0x0286FDFF

Here is dump: all for hitachi_ac344 and HA command

[20:57:34][I][remote.pronto:237]: Received Pronto: data=0000 006D 00C1 0000 007F 0041 0010 0030 000C 0017 000F 0014 000F 0014 000F 0014 000C 0017 000C 0017 000F 0014 000F 0014 000F 0014 000C 0017 000C 0017 0010 0030 000F 0014 000F 0014 000F 0014 000F 0014 000F 0014 000F 0014 000F 0014
[20:57:34][I][remote.pronto:239]: 000F 0014 000F 0014 000C 0017 000C 0017 000F 0014 000F 0014 000F 0014 000C 0017 000C 0017 0010 0014 000F 0030 000F 0014 000F 0030 000C 0034 000F 0031 000F 0030 000D 0033 000C 0034 000F 0014 000C 0034 000F 0030 0010 0030 000C 0034 000F 0030 0010 0030 000E 0031 000C 0033 000F 0030 0010 0013 0010 0014 000F 0014 000F 0014 000C 0017 000F 0014 000F 0014 000F 0014 000C 0017 000C 0017 000F 0030 000C 0034 000F 0014 000C 0017 000C 0034 000F 0030 000F 0030 000F 0030 000E 0015 000C 0017 
[20:57:34][I][remote.panasonic:070]: Received Panasonic: address=0xC638, command=0x031AFDFF
gamerabbit16 commented 8 months ago

Is it working now ? because i have also this remote but i don't know which protocol to use