As for these three extra features, they were working for me from the remote ir control, but if I remember correctly, not from MELCloud, so I don’t think they can be added via ESPHome.
I wanted to investigate these points, but unfortunately, I didn’t have time. Maybe I will in the future, but I’m not sure.
The “Air Purifier” mode should correspond to the “Plasma Quad Plus Filter.”
Regarding the modes, I had only set:
mode: ["COOL", "HEAT", "FAN_ONLY"]
,
but they should actually be:
mode: ["COOL", "HEAT", "FAN_ONLY", "DRY", "HEAT_COOL"]
.
“HEAT_COOL” should correspond to the “AUTOMATIC” mode.
As for the fan speeds, the names are a bit misleading, but they should be:
Auto, 1, 2, 3, 4, 5
["AUTO", "DIFFUSE", "LOW", "MEDIUM", "MIDDLE", "HIGH"]
in that order.
For the temperature sensor, I managed to connect a remote sensor provided by Home Assistant.
I’m attaching my ESPHome configuration file. Unfortunately, I can’t help you with integrating a remote MQTT sensor.
I still hope this has been helpful to you.
esphome:
name: air-conditioner-camerina
platformio_options:
build_unflags:
- "-std=gnu++11"
build_flags:
- "-std=gnu++17"
on_boot:
priority: -100
then:
- delay: 5s
esp8266:
board: esp01_1m
logger:
baud_rate: 0
logs:
component: ERROR
api:
password: ""
ota:
platform: esphome
password: ""
wifi:
ssid: "***"
password: "***"
use_address: 192.168.0.249
web_server:
port: 80
switch:
- platform: restart
name: "AIR-CONDITIONER-CAMERINA-REBOOT"
external_components:
- source: github://geoffdavis/esphome-mitsubishiheatpump
climate:
- platform: mitsubishi_heatpump
id: air_conditioner_camerina
name: "AIR-CONDITIONER-CAMERINA"
update_interval: 1000ms
supports:
mode: ["COOL", "HEAT", "FAN_ONLY"]
fan_mode: ["AUTO", "DIFFUSE", "LOW", "MEDIUM", "MIDDLE", "HIGH"]
swing_mode: ["OFF"]
horizontal_vane_select:
name: Horizontal Vane
vertical_vane_select:
name: Vertical Vane
visual:
min_temperature: 19
max_temperature: 31
temperature_step:
target_temperature: 0.5
current_temperature: 0.5
remote_temperature_operating_timeout_minutes: 120
remote_temperature_idle_timeout_minutes: 240
remote_temperature_ping_timeout_minutes: 30
sensor:
- platform: homeassistant
name: "HASS-TEMP-CAMERINA"
entity_id: sensor.shelly_blu_h_t_camerina_temperature_with_offset
on_value:
then:
- lambda: 'id(air_conditioner_camerina).set_remote_temperature(x+0.0);'
filters:
- heartbeat: 60s