I have a Mitsubishi Heavy ZM A/C controlled with an ESPhome device with IR-beamer. I have simply used Home Assistant to turn the device on when the electricity price is low and then off when it is high. This has worked during the winter.
However, we are now moving into spring and I wanted to work the A/C on a room temperature (another ESPhome device on battery updating every 20 minutes) but I have some issues.
-
I cannot get the A/C to work in fan only mode, even when trying to set the target_temperature. I see in the device logs that the command is sent to the ESP but no beeps are heard from the A/C
-
Minimum and maximum for the thermostat in Home Assistant isn’t picked up from the heatpumpir ESPhome climate device. “Note that
min_temperature
andmax_temperature
from the base climate component are used to define the range of allowed temperature values in the thermostat component.” (Thermostat Climate Controller — ESPHome)
The thermostat in Home Assistant (2022.3.7 with ESPhome 2022.3.1) looks like this (not obeying min, max or step):
with card config:
type: thermostat
entity: climate.vp_termostat
Any help appreciated!
/Mattias
The ESPhome configuration:
esphome:
name: esphome-vp-ir
esp8266:
board: d1_mini
# Enable logging
logger:
# Enable Home Assistant API
api:
web_server:
ota:
password: "d20b2e036c339e4ec530aa7bfa2de78d"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esphome-Vp-Ir Fallback Hotspot"
password: "7De5lK5Anvf3"
captive_portal:
# Example configuration entry
remote_transmitter:
pin: GPIO0
carrier_duty_percent: 50%
remote_receiver:
pin:
number: GPIO2
inverted: true
dump: all
# Verkar som om den alltid startar i POWER MODE, vilket väl är OK
sensor:
- platform: homeassistant
id: temp
accuracy_decimals: 1
entity_id: sensor.vardagsrum_temp
climate:
- platform: heatpumpir
id: vp
sensor: temp
# Fungerar: mitsubishi_heavy_zj
# protocol: mitsubishi_heavy_zj
protocol: mitsubishi_heavy_zm
# Dubbel-pip på 24°C eller auto fläkt
visual:
temperature_step: 1.0 °C
min_temperature: 18 °C
max_temperature: 30 °C
horizontal_default: auto
vertical_default: auto
name: "Vardagsrum VP"
- platform: thermostat
name: "VP Termostat"
sensor: temp
default_mode: heat
default_target_temperature_low: 18 °C
min_heating_off_time: 900s
min_heating_run_time: 900s
min_fan_mode_switching_time: 60s
min_fanning_run_time: 60s
min_fanning_off_time: 60s
min_idle_time: 900s
fan_only_action:
- climate.control:
id: vp
mode: FAN_ONLY
fan_mode: MEDIUM
target_temperature: 18 °C
fan_mode_on_action:
- climate.control:
id: vp
mode: FAN_ONLY
fan_mode: MEDIUM
target_temperature: 18 °C
heat_action:
- climate.control:
id: vp
mode: HEAT
idle_action:
- climate.control:
id: vp
mode: 'OFF'