Repurposed my fet "multiboard" with a bidirectional level shifter so i can control my Mitsubishi A/C unit directly from HA 🙂
esphome:
name: klima-pisarna-nejc-zgoraj
esp8266:
board: d1_mini_pro #not exactly the right one but it works if you know what you're doing :)
external_components:
- source: github://geoffdavis/esphome-mitsubishiheatpump
# Enable logging
logger:
baud_rate: 0 # important if using ESP8266!
# Enable Home Assistant API
api:
encryption:
key: "yeah, nope :P"
ota:
password: !secret otapass
wifi:
networks:
- ssid: !secret primarywifizgoraj
password: !secret primarywifipass
manual_ip:
static_ip: !secret ip_klima-pisarna-nejc-zgoraj
gateway: !secret gateway
subnet: !secret subnet
web_server:
port: 80
auth:
username: !secret webuser
password: !secret webpass
button:
- platform: restart
name: "Resetiraj ESP klima pisarna Nejc zgoraj"
climate:
- platform: mitsubishi_heatpump
name: "Klima pisarna Nejc zgoraj"
update_interval: 500ms
supports:
mode: [HEAT_COOL, COOL, HEAT, FAN_ONLY, DRY]
fan_mode: [AUTO, LOW, MEDIUM, MIDDLE, HIGH]
swing_mode: ['OFF', VERTICAL, BOTH]
visual:
min_temperature: 18
max_temperature: 31
temperature_step: 1.0
status_led:
pin:
number: GPIO2
inverted: true
Oh, upper pins are 3V3 UART pins and lower ones (coming from level shifter) are 5V UART pins.