Created
April 23, 2025 01:12
-
-
Save joergbattermann/ebd5ffed92d6eef955c82fff6377e68c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
substitutions: | |
name: mitp-heat-pump-adae60 | |
friendly_name: Mitsubishi Heat Pump | |
esphome: | |
name: ${name} | |
friendly_name: ${friendly_name} | |
name_add_mac_suffix: false | |
# See https://muart-group.github.io/user/configuration/useful-snippets#setting-a-default-temperature-source | |
# for why this is her e/ set Thermostat on boot | |
on_boot: | |
priority: 260 | |
then: | |
- select.set: | |
id: temperature_source_selected | |
option: "Thermostat" | |
project: | |
name: tinwer.mahtanarm | |
version: "1.2" | |
esp32: | |
board: esp32-c3-devkitm-1 | |
framework: | |
type: arduino | |
# Load the mitsubishi_itp component from this repo for now (hopefully eventually it will merged in ESPHome) | |
external_components: | |
- source: github://muart-group/esphome@dev | |
components: [mitsubishi_itp] | |
# This should point to the public location of this yaml file. | |
dashboard_import: | |
package_import_url: github://tinwer-group/mahtanar/esphome-configs/[email protected] | |
import_full_config: true | |
# Serial logging disabled to support communication with thermostat. Can be reenabled by disabling tstat_uart below, and specifying baud_rate. | |
logger: | |
baud_rate: 0 | |
level: VERBOSE | |
logs: | |
sensor: WARN | |
# Enable Home Assistant / ESPHome API | |
api: | |
encryption: | |
key: "MY ENC KEY" | |
# services: | |
# - service: reboot | |
# then: | |
# - logger.log: "Restart in progress..." | |
# - lambda: |- | |
# ESP.restart(); | |
# Enable ota updates (no password here, but one will be generated during adoption) | |
ota: | |
platform: esphome | |
# Enable Ethernet (no WiFi can be configured with Ethernet) | |
ethernet: | |
type: W5500 | |
mosi_pin: GPIO09 | |
miso_pin: GPIO01 | |
clk_pin: GPIO10 | |
cs_pin: GPIO5 | |
reset_pin: GPIO04 | |
interrupt_pin: GPIO03 | |
clock_speed: 25MHz | |
manual_ip: | |
static_ip: 192.168.7.205 | |
gateway: 192.168.7.1 | |
subnet: 255.255.255.0 | |
# Define UARTs connected to heat pump and thermostat | |
uart: | |
- id: hp_uart | |
baud_rate: 2400 # For some equipment this may need to be 9600 | |
parity: EVEN | |
rx_pin: | |
number: GPIO7 | |
tx_pin: | |
number: GPIO6 | |
- id: tstat_uart | |
baud_rate: 2400 # For some equipment this may need to be 9600 | |
parity: EVEN | |
rx_pin: | |
number: GPIO20 | |
tx_pin: | |
number: GPIO21 | |
time: | |
- platform: homeassistant | |
id: homeassistant_time | |
# Define mitsubishi_itp climate component | |
climate: | |
- platform: mitsubishi_itp | |
name: Climate | |
uart_heatpump: hp_uart | |
uart_thermostat: tstat_uart # This and the uart component below can be removed if no thermostat connected | |
update_interval: 5s # This should be a relatively safe default, but can be adjusted if desired | |
enhanced_mhk: true | |
time_id: homeassistant_time | |
# This default configuration includes all the common sensors, but these can each be commented out if your | |
# equipment doesn't support them or they are not needed. | |
binary_sensor: | |
- platform: mitsubishi_itp | |
defrost: | |
# Reports if system is in defrost | |
name: Defrost | |
filter_status: | |
# Reports if filter needs to be replaced (false = OK) | |
name: Filter Status | |
# isee_status: | |
# # Reports if i-see is enabled | |
# name: i-see Status | |
preheat: | |
# Reports if system is preheating | |
name: Preheat | |
disabled_by_default: true | |
standby: | |
# Reports if system is in standby | |
name: Standby | |
disabled_by_default: true | |
sensor: | |
- platform: mitsubishi_itp | |
compressor_frequency: | |
# Frequency in Hz of compressor (only some equipment) | |
name: Compressor Frequency | |
outdoor_temperature: | |
# Outdoor temperature as reported by equipment | |
name: "Outdoor Temperature" | |
filters: | |
- lambda: |- | |
if (x > -63) return x; | |
return NAN; | |
# Only available if a thermostat is connected | |
thermostat_humidity: | |
# Humidity reported by thermostat (only with enhanced_mhk) | |
name: "Thermostat Humidity" | |
# Only available if a thermostat is connected | |
thermostat_temperature: | |
# Temperature reported by thermostat | |
name: "Thermostat Temperature" | |
text_sensor: | |
- platform: mitsubishi_itp | |
actual_fan: | |
# Actual current fan speed (vs. set speed) | |
name: Actual Fan | |
error_code: | |
# Reports diagnostic error code | |
name: Error Code | |
button: | |
- platform: restart | |
name: "Restart ESP Controller" | |
- platform: mitsubishi_itp | |
filter_reset_button: | |
# Resets the change-filter warning when pressed | |
name: Filter Reset | |
select: | |
- platform: mitsubishi_itp | |
# vane_position: | |
# # Contols vertical vanes on supported units | |
# name: Vane Position | |
# disabled_by_default: true | |
# horizontal_vane_position: | |
# # Contols horizontal vanes on supported units | |
# name: H. Vane Position | |
# disabled_by_default: true | |
temperature_source: | |
# A list of additional temperature source sensors. Included in this default | |
# config so that Thermostat can be selected if configured. | |
name: Temperature Source | |
id: temperature_source_selected | |
sources: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment