#Mitsubishi heatpump (AC)

7 messages · Page 1 of 1 (latest)

sudden crow
#

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.

spring pewter
sudden crow
#

Nah. If it's made to work with 5V, I want it to be as close as possible. I hate doing stuff halfway and then something sometimes works, another day it stops... This way I can be sure voltage levels aren't the problem if it breaks 🙂

light elbow
#

@spring pewter
I tried using no level shifter with the Midea integration on ESP32 - and it worked with one model of split AC but not with another one and so of course I wish I had just gone with the level shift to begin with.. would have saved time. It's an extra $1 and 5 mins..

spring pewter
#

Hah, that's exactly what I ended up doing after this thread, just put two in, who cares if it's $2 wasted, not worth my time

sudden crow
#

That's exactly the reason why I try to make thing work as intended 😄 It could work today and even for the next year, then suddenly you start seeing glitches and.. Not worth my time 😦

raw moss