Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- substitutions:
- name: esphome-web-a0807c
- friendlyName: Ecodan
- esphome:
- name: ${name}
- friendly_name: ${friendlyName}
- name_add_mac_suffix: false
- # enable ota update via http request
- http_request:
- buffer_size_tx: 20248
- ota:
- - platform: esphome
- - platform: http_request
- # password: !secret heatpump_ota_password
- api:
- reboot_timeout: 0s
- # encryption:
- # key: !secret heatpump_encryption_key
- external_components:
- - source: github://gekkekoe/esphome-ecodan-hp@main
- components: [ ecodan ]
- refresh: always
- packages:
- remote_package:
- url: https://github.com/gekkekoe/esphome-ecodan-hp/
- ref: main
- refresh: always
- files: [
- confs/base.yaml, # required
- confs/request-codes.yaml, # disable if your unit does not support request codes (service menu)
- #esp32.yaml included at bottom
- #confs/esp32.yaml, # confs/esp32.yaml, for regular board
- confs/zone1.yaml,
- confs/ecodan-labels-en.yaml,
- confs/server-control.yaml,
- #confs/debug.yaml,
- confs/wifi.yaml
- ]
- # enable logger
- logger:
- baud_rate: 9600
- logs:
- esp32.preferences: ERROR
- sensor: ERROR
- text_sensor: ERROR
- binary_sensor: ERROR
- switch: ERROR
- button: ERROR
- number: ERROR
- climate: ERROR
- component: ERROR
- ecodan.component: DEBUG
- # Enable Web server.
- web_server:
- port: 80
- #ota: true
- ecodan:
- id: ecodan_instance
- uart_id: uart_ecodan
- # polling interval override in ms, default 500
- # polling_interval_override: 1000
- # uncomment line below and adjust the heat constant if your system uses a water + glycol mixture
- # specific_heat_constant_override: 3.9
- ##esp32.yaml
- esp32:
- board: esp32dev
- framework:
- type: esp-idf
- version: recommended
- # Custom sdkconfig options
- sdkconfig_options:
- COMPILER_OPTIMIZATION_SIZE: y
- uart:
- id: uart_ecodan
- rx_pin:
- number: GPIO3
- mode:
- input: true
- pullup: true
- tx_pin:
- number: GPIO1
- mode:
- output: true
- baud_rate: 2400
- parity: EVEN
- stop_bits: 1
- debug:
- direction: BOTH
- dummy_receiver: false
- after:
- delimiter: "\n"
- sequence:
- - lambda: UARTDebug::log_hex(direction, bytes, ' ');
- sensor:
- - platform: internal_temperature
- name: ${internal_esp_temperature}
- entity_category: diagnostic
Advertisement
Add Comment
Please, Sign In to add comment