Aircon International / Hisense Mini Split Control

First let me mention that while I have put Hisense in the title of this post, I make no guarantees that this will work with any Hisense unit without modifying the code. In fact, I strongly suspect that the reply message structure would need to be modified to work with a Hisense unit. Luckily there are several examples of the Hisense compatible message structure in the references included in the readme file.

Backstory:

I purchased a AirCon International 18000BTU mini split for my garage in July of 2022. When I purchased it on amazon it said it was Wi-Fi compatible. After receiving the unit I found out that the only officially supported method of interfacing with the unit was a glorified IR blaster (yuck!) I had a lot of projects come up so I didn’t try and hack this thing until just a few weeks ago.

I’ve been successful at interfacing with the AC (mostly) and I’ve got it integrated in my HA setup now through ESPHome. This integration is still a little rough around the edges, but it works fully for controlling the AC and displays status info with only the occasional error. Most of those errors are related to less important things like outdoor unit temps, compressor speed, etc. It seems like some of the display errors may come from the unit itself reporting bad info.

As I mentioned, my unit is branded and distributed by Air-Con International I found when integrating with this AC that the protocol differs slightly from what others have posted about Hisense units. Notably there are extra bytes in the header of received messages, and the bit endianness is different for status items in the messages.

Hardware:

I’m using an ESP-12F (8266) with a serial to 485 adapter board and a generic adjustable DC-DC converter. I’ll assume that if you’re even thinking of replicating my results you’re well capable of finding the necessary components on Amazon. Given how cheap PCBs are these days I may just spin a ESP-12F carrier board that can plug directly into the AC connector.

The pinout of the connector is:

  1. (Black wire) GND

  2. B-

  3. A+

  4. (Red wire) +5V

YAML config to-do / needs improvement:

  • The way I’ve integrated several of the extraneous parameters as sensors is probably not the preferred method (though it does work).

  • The filtering I’ve put on several of the sensor values is a hack to try and get rid of erroneous values. It doesn’t work. A bgetter solution would be to get rid of the erroneous values in the first place.

C++ code to-do / needs improvement:

  • Generate command messages rather than storing each command as an array.

  • Improve reply handling to process all types of messages. The header tells what kind of reply message has been sent, and how long it is (supposedly).

  • Make reply processing asynchronous? A lot of time is spent spin waiting. Replies come a long time after the request is sent (~150ms ) right now the code waits before even checking for a reply.

  • Handle power usage message. It would be interesting to see the power draw from the unit in real time. That said, I’m not sure the Hisense unit even supports that feature. Every time I requested the message I got the same reply back.

  • Add configuration item to support switching between Hisense packet mode and “AirCon” packet mode.

I probably forgot some details, so if there are any questions feel free to reply here and I’ll respond when I’m able to.

Hello!
This is great news.
Unfortunately, I was unable to replicate your experience.
I unsubscribed to git
Thanks for your hard work! I hope there will be a simple and affordable solution on ESP for these air conditioning units

I have the same unit (probably, looks the same, anyway) and this seems to be working great so far. Thank you for saving me from IR blaster hell!

No problem. I definitely didn’t want to do the IR blaster myself.

Any chance to make it work with a d1 mini?

I see no reason why it shouldn’t be able to work.

Hello,

I’m not that into programming but what do you mean with reply message structure ?
I would like to have it work on my Hisense airconditioner but i’m not that experienced in programming.

Regards Jan

You will have to modify the code to make it work with a Hisense unit. I linked to sources that include the message structure used by Hisense. I don’t have access to such a unit to do any testing so you’d be on your own.

I’m super keen to try this out. I’m currently researching what hardware to get. I’m in need of a bit of help.

I’d like to get an easy plug-n-play solution such as the M5 Atom Lite. Am I correct in thinking that I could get the ATOM Tail485 - RS485 Converter and then plug some jumper leads from the Tail485 into the AC? I have a Hisense and feel confident enough that I could modify the source code to make it work. It’s just the hardware side of things that I feel I need the most help.

Also has the plug type that the Wifi controllers use been determined? Perhaps I could buy the plug and crimp it in, that way it’s even more polished. It looks like it’s some type of 4 pin JST plug.
This cable looks very similar: 4-pin JST SM Plug + Receptacle Cable Set : ID 578 : Adafruit Industries, Unique & fun DIY electronics and kits
I have a AEH-W4G2 and the 4 pin plug does seem to have a pitch of 2.5mm. So I reckon it is the 4-pin JST SM Plug.

I managed to partially control my Hisense AC. I can confirm the Hisense AC definitely uses 4-pin JST SM plugs. Coincidentially I realised I could just use Dupont cables as they line up perfectly.

I used a multi-meter and the AC Wifi JSM port only outputs 4.8V. I wasn’t able to use it to power my 5V ESP32 device. For now I’ve just plugged it into power via USB-C. Then plugged two leads into RX and TX.

AC port pinout when looking at it straight on. Pins from top to bottom.
1-TX
2-GND
3-RX
4-5V

I can turn it on and off and change modes. The temperature keeps going from C to F. However it doesn’t report its status so it’s not very usable. Sensor values are also way off.

I also found a discussion where someone managed to get it all working with different code. It looks super promising, however the ESPHome .yaml code link expired.
Please help ) How to build your project with my config? · Issue #1 · straga/scrivo_project (github.com)

Below is my current ESPHome yaml.

esphome:
  name: hisense-ac
  friendly_name: Hisense AC
  includes:
    - aircon_climate.h

  project:
    name: esphome.hisense-ac
    version: "Hisense-Model"
  platform: ESP32
  board: m5stack-atom

uart:
  id: uart_bus
  tx_pin: 21
  rx_pin: 25
  baud_rate: 9600
  debug:
    direction: BOTH
    dummy_receiver: false
    sequence:
      - lambda: UARTDebug::log_hex(direction, bytes, ',');

logger:
  level: VERBOSE
  logs:
    aircon_climate: INFO
  # ESP8266 only - disable serial port logging, as the HeatPump component
  # needs the sole hardware UART on the ESP8266
  #baud_rate: 0


# Enable Home Assistant API
api:

ota:

web_server:
  port: 80

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  ap:

captive_portal:

globals:
  - id: compressor_frequency
    type: Sensor*
  - id: compressor_frequency_setting
    type: Sensor*
  - id: compressor_frequency_send
    type: Sensor*
  - id: outdoor_temperature
    type: Sensor*
  - id: outdoor_condenser_temperature
    type: Sensor*
  - id: compressor_exhaust_temperature
    type: Sensor*
  - id: target_exhaust_temperature
    type: Sensor*
  - id: indoor_pipe_temperature
    type: Sensor*
  - id: indoor_humidity_setting
    type: Sensor*
  - id: indoor_humidity_status
    type: Sensor*

button:
  - platform: uart
    name: "UART Bytes Output - Display Off"
    data: [0xF4, 0xF5, 0x00, 0x40, 0x29, 0x00, 0x00, 0x01, 0x01, 0xFE, 0x01,
          0x00, 0x00, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x00, 0x02, 0x13, 0xF4, 0xFB]

  - platform: uart
    name: "UART Bytes Output - Display On"
    data: [0xF4, 0xF5, 0x00, 0x40, 0x29, 0x00, 0x00, 0x01, 0x01, 0xFE, 0x01,
          0x00, 0x00, 0x65, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x00, 0x00, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
          0x00, 0x00, 0x02, 0x93, 0xF4, 0xFB]

climate:
- platform: custom
  id: my_climate
  lambda: |-
    auto aircon_climate = new AirconClimate(id(uart_bus));
    App.register_component(aircon_climate);
    id(compressor_frequency) = &aircon_climate->compressor_frequency;
    id(compressor_frequency_setting) = &aircon_climate->compressor_frequency_setting;
    id(compressor_frequency_send) = &aircon_climate->compressor_frequency_send;
    id(outdoor_temperature) = &aircon_climate->outdoor_temperature;
    id(outdoor_condenser_temperature) = &aircon_climate->outdoor_condenser_temperature;
    id(compressor_exhaust_temperature) = &aircon_climate->compressor_exhaust_temperature;
    id(target_exhaust_temperature) = &aircon_climate->target_exhaust_temperature;
    id(indoor_pipe_temperature) = &aircon_climate->indoor_pipe_temperature;
    id(indoor_humidity_setting) = &aircon_climate->indoor_humidity_setting;
    id(indoor_humidity_status) = &aircon_climate->indoor_humidity_status;
    return {aircon_climate};
  climates:
    - name: "Aircon Climate"

sensor:
- platform: custom
  lambda: |-
    return {
      id(compressor_frequency),
      id(compressor_frequency_setting),
      id(compressor_frequency_send),
      id(outdoor_temperature),
      id(outdoor_condenser_temperature),
      id(compressor_exhaust_temperature),
      id(target_exhaust_temperature),
      id(indoor_pipe_temperature),
      id(indoor_humidity_setting),
      id(indoor_humidity_status)
    };
  sensors:
  - name: "Compressor Frequency"
    unit_of_measurement: "Hz"
    device_class: "frequency"
    state_class: "measurement"
  - name: "Compressor Frequency Setting"
    unit_of_measurement: "Hz"
    device_class: "frequency"
    state_class: "measurement"
  - name: "Compressor Frequency Send"
    unit_of_measurement: "Hz"
    device_class: "frequency"
    state_class: "measurement"
  - name: "Outdoor Temperature"
    unit_of_measurement: "°C"
    icon: "mdi:thermometer"
    device_class: "temperature"
    state_class: "measurement"
  - name: "Outdoor Condenser Temperature"
    unit_of_measurement: "°C"
    icon: "mdi:thermometer"
    device_class: "temperature"
    state_class: "measurement"
  - name: "Compressor Exhaust Temperature"
    unit_of_measurement: "°C"
    icon: "mdi:thermometer"
    device_class: "temperature"
    state_class: "measurement"
  - name: "Target Exhaust Temperature"
    unit_of_measurement: "°C"
    icon: "mdi:thermometer"
    device_class: "temperature"
    state_class: "measurement"
  - name: "Indoor Evaporator Inlet Temperature"
    unit_of_measurement: "°C"
    icon: "mdi:thermometer"
    device_class: "temperature"
    state_class: "measurement"
  - name: "Indoor Humidity setting"
    unit_of_measurement: "%"
    icon: "mdi:water-percent"
    device_class: "humidity"
    state_class: "measurement"
  - name: "Indoor Humidity status"
    unit_of_measurement: "%"
    icon: "mdi:water-percent"
    device_class: "humidity"
    state_class: "measurement"

Hi, I used your code, and everything works for the control, but the device responds incomprehensibly:

request:  F4 F5 00 40 0C 00 00 01 01 FE 01 00 00 66 00 00 00 01 B3 F4 FB
many answers:
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CD E3 FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF D7 D7 D7 D3 C7 97 6F FF FF 63 FF FF FF F7 9F FF FF E7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 9F DF EF E3 90
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CF E3 FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF D7 D7 D7 D3 C9 B5 B9 FF FF 57 FF FF FF F7 9F FF FF E7 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 9F DF EF E6 90
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C7 CF E3 FF FE FD 7D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D3 C9 B9 B9 FF FF 5B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 15 41 F0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C7 CF D7 FF FE FD 7D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D5 D1 BB B9 FF FF 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 19 41 F0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C7 CF CF FF FE FD 7D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D3 CF BD B9 FF FF 5B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 0B 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CF CF FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D3 CF BD B9 FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 29 41 F0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CD CD FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D3 CF BF B9 FF FF 53 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 23 41 F0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CD CD FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D1 CF BF B9 FF FF 53 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 21 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AB C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF 7F FF 7D FF FF FF FF D3 D1 C1 B9 FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 29 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D3 D1 C1 B9 FF FF 53 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 A9 17 02
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D3 D3 C3 B9 FF FF 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 B9 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D3 D3 C3 B9 FF FF 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 B9 17 02
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D5 D3 C3 B9 FF FF 5B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 B7 17 02
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D5 D3 C5 B9 FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 B5 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF 0F D1 CD CB FF FE FD FD FF FF FF FF FF FF FF FF FF FF FF 7D FF FF 87 FF D5 D5 C7 B9 FF FF 5F FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F5 11 41 F0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF 0F D1 CD CB FF FE FD FD FF FF FF FF FF FF FF FF FF FF FF 7D FF 99 87 C3 D5 D5 C7 B9 FF FF 67 FF FF FF EF CF FF FF D3 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF CF 2F CB 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D5 D3 BF B9 FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 AF 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D5 D3 BF B9 FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 AF 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CD CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF D5 D5 C1 B9 FF FF 53 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F3 AF 17 02
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF C9 CF CB FF FE FD 9D FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF DB DB D1 FF FF FF 5B FF FF FF FF 6F FF FF FB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6F F1 F7 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF 8F D3 CF CB FF FE FD FD FF FF FF FF FF FF FF FF FF FF FF 7D FF FF 87 FF DB DB D1 FF FF FF 53 FF FF FF FF 6F FF FF FB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6F F1 C1 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD DB FF EF D3 CF DB FF FE FD FD FF FF FF FF FF FF FF FF FF FF FF 7D FF FF 87 91 DB DB C7 FF FF FF 5B FF FF FF FF FF FF FF FF DB FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F5 9F 41 C0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FF FF CF D5 CF DD FF FE FD 5D FF FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF DB D9 C3 FF FF FF 5B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F5 0B 17 82
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF CB CF DB FF FE FD BD FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF DB D9 C3 FF FF FF 57 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F5 39 41 E0
41 41 7F E5 7F 03 7F 7F 7F 7F 33 FF FD FD FF AF CB CF CB FF FE FD BD FF FF FF FF FF FF FF FF FF FF 7D FF FF FF FF DB D9 C9 FF FF FF 4B FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F5 23 41 E0

I see repetition, a pattern, but I don’t understand it. (different answers are different modes) .
I completely forgot to express my deep gratitude to you for creating the code! Thank you!

Is your AC a Hisense? I get similar responses from my Hisense. The responses were coded for Aircon International and would need to be adjusted to work with Hisense. I unfortunately lack the skillset to do that but might figure it out eventually. If you know how to adjust it then I’d happily help you test it.

Hello! My AC - “Ballu iGreen Pro”, i am not understand responds my AC.
P.S. Unfortunately, I don’t know how to decipher the answer from my AC, if I suddenly succeed, I’ll write it here, but I doubt that I have enough time for this…
Thank you for the answer!

Hi guys. I have a Galactic GK07H-S1 air conditioner made by Hisense. Remote control DG11Zh1-91. Board PCB05-404-V02, 1553856, B. Support for the Galactic GKZ09HM-S air conditioner was announced here on the forum. Please tell me where on the board to connect your device to esphome. Thank you.

After looking at it with an oscilloscope, I figured it out. Need to invert the RX signal

Hi, did you figure out how to control your AC with ESPHome properly?
I think i got the same Unit

Shortly after posting about it I ended up moving house so I never got much more time to solve it. I was unsuccessful in getting it to work. But since then there’s been a lot more discussion about it and it seems someone managed to get it to work by changing a small value in the code Please help ) How to build your project with my config? · Issue #1 · straga/scrivo_project · GitHub

Someone else has also managed to flash the chip on the W4G2 and run ESPhome on it. Here is the code for that implementation W4G2/docs/usage.md at main · pio2398/W4G2 (github.com)

1 Like

Thanks for the info Ben! I will look into that