Created
July 10, 2024 23:42
-
-
Save ironicbadger/9e67e8e917f17636177820e4818ce8fe 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: esp32-garage-heatpump | |
friendly_name: esp32-garage-heatpump | |
esphome: | |
name: ${name} | |
esp32: | |
board: esp32doit-devkit-v1 | |
# Boards tested: ESP-01S (ESP8266), Wemos D1 Mini (ESP8266); ESP32 Wifi-DevKit2 | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
# Note: if upgrading from 1.x releases of esphome-mitsubishiheatpump, be sure | |
# to remove any old entries from the `libraries` and `includes` section. | |
#libraries: | |
# Remove reference to SwiCago/HeatPump | |
#includes: | |
# Remove reference to src/esphome-mitsubishiheatpump | |
# Enable logging | |
logger: | |
# ESP8266 only - disable serial port logging, as the HeatPump component | |
# needs the sole hardware UART on the ESP8266 | |
# Enable Home Assistant API | |
api: | |
encryption: | |
key: "" | |
mqtt: | |
broker: !secret mqtt_broker | |
username: !secret mqtt_username | |
password: !secret mqtt_password | |
client_id: ${name} | |
#discovery: false | |
topic_prefix: esphome/${name} | |
ota: | |
- platform: esphome | |
password: "" | |
# Enable Web server. | |
web_server: | |
port: 80 | |
# Sync time with Home Assistant. | |
#time: | |
#- platform: homeassistant | |
# id: homeassistant_time | |
# Text sensors with general information. | |
text_sensor: | |
# Expose ESPHome version as sensor. | |
- platform: version | |
name: ${name} ESPHome Version | |
# Expose WiFi information as sensors. | |
- platform: wifi_info | |
ip_address: | |
name: ${name} IP | |
ssid: | |
name: ${name} SSID | |
bssid: | |
name: ${name} BSSID | |
# Sensors with general information. | |
sensor: | |
# Uptime sensor. | |
- platform: uptime | |
name: ${name} Uptime | |
# WiFi Signal sensor. | |
- platform: wifi_signal | |
name: ${name} WiFi Signal | |
update_interval: 60s | |
external_components: | |
#- source: github://geoffdavis/esphome-mitsubishiheatpump | |
#- source: "github://geoffdavis/esphome-mitsubishiheatpump@31ed3068fcf0713873b157e28d0d36248a352d83" | |
- source: github://echavet/MitsubishiCN105ESPHome | |
climate: | |
#- platform: mitsubishi_heatpump | |
- platform: cn105 | |
name: "${friendly_name}" | |
supports: | |
swing_mode: [] | |
vertical_vane_select: | |
name: ${name} Vertical Vane | |
# ESP32 only - change UART0 to UART1 or UART2 and remove the | |
# logging:baud_rate above to allow the built-in UART0 to function for | |
# logging. | |
#hardware_uart: UART2 | |
uart: | |
id: HP_UART | |
baud_rate: 2400 | |
tx_pin: GPIO17 | |
rx_pin: GPIO16 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment