Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- substitutions:
- name: vp-oppe
- friendly_name: Varmepumpe oppe
- esphome:
- name: ${name}
- platform: ESP8266
- board: d1_mini
- # Boards tested: ESP-01S (ESP8266), Wemos D1 Mini (ESP8266); ESP32 Wifi-DevKit2
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- domain: .lan
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "${friendly_name} Fallback Hotspot"
- password: !secret fallback_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
- captive_portal:
- # Enable logging
- logger:
- # ESP8266 only - disable serial port logging, as the HeatPump component
- # needs the sole hardware UART on the ESP8266
- baud_rate: 0
- level: DEBUG
- logs:
- component: ERROR
- mqtt:
- broker: !secret mqtt_addr
- username: !secret mqtt_user
- password: !secret mqtt_password
- keepalive:
- seconds: 120
- ota:
- # Enable Web server.
- web_server:
- port: 80
- time:
- - platform: sntp
- id: sntp_time
- timezone: Europe/Oslo
- servers:
- - 0.pool.ntp.org
- - 1.pool.ntp.org
- - 2.pool.ntp.org
- # 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
- climate:
- - platform: mitsubishi_heatpump
- name: "${friendly_name}"
- # 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: UART0
- switch:
- - platform: restart
- name: "Restart"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement