After I’ve managed to get my AC working with an ESP-01 and an Adapter (picture) last summer … (I haven’t updated ESPhome since then, because of some breaking changes to the climate component )
I wanted to upgrade to an ESP32 … however, this does not seem work…
Im not even sure how to wire it in the first place … Theoretically the ESP32 does support 5v logic, so do I even need a converter?! if so, how do I wire it correctly … should I be able to use the same as for the ESP-01?
This setup does not work … (ignore if the RX/TX wires are wrong - I tried both ways)
So, right now, the only things that are different between the ESP-01 and the ESP32 are the ESPhome version (with the correct YAMLs)
esphome:
name: ac01-test
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pass
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Klimaanlage Wohnzimmer Hotspot"
password: "53416ef6123"
web_server:
port: 80
auth:
username: admin
password: !secret web_server_pass
captive_portal:
# Enable Home Assistant API
api:
password: !secret api_ota_pass
ota:
password: !secret api_ota_pass
# Disable logging over UART
logger:
baud_rate: 0
uart:
tx_pin: 1
rx_pin: 3
baud_rate: 9600
midea_dongle:
strength_icon: true
climate:
- platform: midea_ac
name: "Klimaanlage Oben"
visual:
min_temperature: 17 °C
max_temperature: 30 °C
temperature_step: 1 °C
beeper: true
outdoor_temperature:
name: "Klimaanlage Außen Temp"
and
esphome:
name: esphome-web-9dc92c
esp32:
board: esp32dev
framework:
type: arduino
substitutions:
device_name: "ESP32-AC-01"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_pass
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${device_name} wifi"
password: !secret wifi_ap_pass
web_server:
port: 80
auth:
username: admin
password: !secret web_server_pass
# Enable Home Assistant API
api:
password: !secret api_ota_pass
ota:
password: !secret api_ota_pass
captive_portal:
# Enable logging
logger:
baud_rate: 0
uart:
tx_pin: 1
rx_pin: 3
baud_rate: 9600
climate:
- platform: midea
name: Midea Climate # Use a unique name.
autoconf: true # Autoconfigure most options.
beeper: true # Beep on commands.
visual: # Optional. Example of visual settings override.
min_temperature: 17 °C # min: 17
max_temperature: 30 °C # max: 30
temperature_step: 1 °C # min: 0.5
outdoor_temperature: # Optional. Outdoor temperature sensor (may display incorrect values after long inactivity).
name: Temp
No matter what I change in the yaml and what way I connect it to the AC, the logger shows this:
EDIT:
WELL … literally the only thing I haven’t tried over the past couple of days trying to get it to work was the problem in the end … the logic levelshifter is defective … 