Mitsubishi AC with Wemos D1 Mini Pro

I can control the air conditioner but I don’t receive any data from it when I use it with the remote control.

I followed this cfg: GitHub - geoffdavis/esphome-mitsubishiheatpump: ESPHome Climate Component for Mitsubishi Heatpumps using direct serial connection

I modified the yaml as you told me, but the result doesn’t change (I also tried setting it to 1200)

substitutions:
  name: "condizionatore-cameretta"
  friendly_name: Condizionatore cameretta

esphome:
  name: ${name}
  friendly_name: ${friendly_name}
  min_version: 2024.6.0
  name_add_mac_suffix: false
  project:
    name: esphome.web
    version: '1.0'

esp8266:
  board: esp01_1m

# Enable logging
logger:
  baud_rate: 0
# Enable Home Assistant API
api:

# Allow Over-The-Air updates
ota:
- platform: esphome

# Allow provisioning Wi-Fi via serial
#improv_serial:

wifi:
  # Set up a wifi access point
  ap: {}

# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:

dashboard_import:
  package_import_url: github://esphome/example-configs/esphome-web/esp8266.yaml@main
  import_full_config: true

# To have a "next url" for improv serial
web_server:


# Text sensors with general information.
text_sensor:
  # Expose ESPHome version as sensor.
  - platform: version
    name: ${name} ESPHome Version
  # Expose WiFi information as sensors.
  - platform: wifi_info
    ip_address:
      name: ${name} IP
    ssid:
      name: ${name} SSID
    bssid:
      name: ${name} BSSID
      
      
# Sensors with general information.
sensor:
  # Uptime sensor.
  - platform: uptime
    name: ${name} Uptime

  # WiFi Signal sensor.
  - platform: wifi_signal
    name: ${name} WiFi Signal
    update_interval: 60s

external_components:
  - source: github://geoffdavis/esphome-mitsubishiheatpump

climate:
  - platform: mitsubishi_heatpump
    name: "${friendly_name}"

    horizontal_vane_select:
      name: Horizontal Vane
    vertical_vane_select:
      name: Vertical Vane
    visual:
      min_temperature: 15
      max_temperature: 31
      temperature_step:
        target_temperature: 0.5
        current_temperature: 0.1

    # ESP32 only - change UART0 to UART1 or UART2 and remove the
    # logging:baud_rate above to allow the built-in UART0 to function for
    # logging. 
    # Some ESP32 boards will require the baud_rate setting if hardware_uart is specified.
    
uart:
  id: HP_UART
  baud_rate: 2400
  tx_pin: 1
  rx_pin: 3

It seems that you did it okay the first time. But you said you use a Wemos D1.
You could try another board config.

esp8266:
    board: nodemcuv2
    framework:
      version: recommended

From what i read the Wemos d1 mini is a smaller version of the nodeMCU.
You can use the airco via HA and you do see the changes then ?

I don’t have the wemos d1 mini but I think it’s a clone purchased on Amazon (the object no longer exists) I can control the air conditioner but I can’t receive the data (I control it on HA, but if I use the original infrared remote control, HA sees off). it seems as if only the tx works and not the rx.

I would try another esp module. And one from a brand like m5stack, seeed or other good brands.

Hi, i have a few of this jst 2.0 connector after setting up for my daikin.
Could I just cut the ridges on this and connect to cn105 port?



I did order the PAP connector but it’s gonna take at least a week to arrive

Have you tried desoldering some of the resistors?

https://www.geekzone.co.nz/forums.asp?forumid=73&topicid=303958&page_no=1#3205989

You can, if connector will then fit into climate’s socket. But make sure that you won’t flip it over… it could destroy esp, since it can get power on wrong pins. Make a marking with a pen on both connectors.

ok, but in that forum the guy said he didn’t communicate with HP, I communicate but I don’t receive. So maybe just desolder rx?

I also read this: https://github.com/unixko/MitsuCon/issues/15

Do you mean to be careful not to connect tx and rx instead of 5V and G?

Thanks, I’ve already re-arranged the cable colors according to the pinout.

Just the resistors for tx/rx, at least from that post.
I can’t comment much it though since my d1 mini (type c version) works fine

It appears to me that the build quality of the wemos variations are the problem. As said above. And I have tried a few esp8266 and esp32 but al from vendors who are known to build quality boards. But then again using a level converter and adding resistors and it works why not. But i like a simple clean build so that you can put it away nicely in the airconditioning unit.

What protoncek said. It depends on how creative you are and if the header spacing is the same it wil fit.

I’m confused on the wiring, or at least unsure. Can you get more specific on what wire goes to which in the PAP-05V-S?


Here you go. Black = GND RED = 5V Yellow = TX Blue = RX.

1 Like

I’m using ESPHome on a ESP-01. All works fine but in the log I have the following message:

[21:04:30][W][component:238]: Components should block for at most 30 ms.
[21:04:33][W][component:237]: Component esphome.coroutine took a long time for an operation (100 ms).
[21:04:33][W][component:238]: Components should block for at most 30 ms.
[21:04:36][W][component:237]: Component esphome.coroutine took a long time for an operation (101 ms).
[21:04:36][W][component:238]: Components should block for at most 30 ms.
[21:04:38][W][component:237]: Component esphome.coroutine took a long time for an operation (100 ms).

Same header spacing but can’t get it to fit
There’s something on the PAP male connector that’s not letting it in

Anyway, received the proper jst and got it all setup nicely now.

This thread probably should be renamed to Mitsubishi Electric AC since it’s specific to it. As for my Mitsubishi Heavy Industries AC, it’s not compatible because it has 6 pin CNS port instead of the 5 pin CNS.

This seems to be normal. I also get this with multiple esp devices. Your device does work stable?

Maybe, But from what i understand there are also heavy industries with 5 pins connector.

@aliali, yes it works stable

@ferbulous it’s expensive, a bit bulky and it’s zigbee, but this I spotted this and thought you might be interested Airzone AZAI6ZBEMHI control via MQTT | Zigbee2MQTT

1 Like