Guest User

Untitled

a guest
May 31st, 2025
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.43 KB | None | 0 0
  1. substitutions:
  2.   name: esphome-web-a0807c
  3.   friendlyName: Ecodan
  4.  
  5. esphome:
  6.   name: ${name}
  7.   friendly_name: ${friendlyName}
  8.   name_add_mac_suffix: false
  9.  
  10. # enable ota update via http request
  11. http_request:
  12.   buffer_size_tx: 20248
  13.  
  14. ota:
  15.   - platform: esphome
  16.   - platform: http_request
  17. #  password: !secret heatpump_ota_password
  18.  
  19. api:
  20.   reboot_timeout: 0s
  21. #  encryption:
  22. #    key: !secret heatpump_encryption_key
  23.  
  24. external_components:
  25.   - source: github://gekkekoe/esphome-ecodan-hp@main
  26.     components: [ ecodan ]
  27.     refresh: always
  28.  
  29. packages:
  30.   remote_package:
  31.     url: https://github.com/gekkekoe/esphome-ecodan-hp/
  32.     ref: main
  33.     refresh: always
  34.     files: [
  35.             confs/base.yaml,        # required
  36.             confs/request-codes.yaml,   # disable if your unit does not support request codes (service menu)
  37.             #esp32.yaml included at bottom
  38.             #confs/esp32.yaml,     # confs/esp32.yaml, for regular board
  39.             confs/zone1.yaml,
  40.             confs/ecodan-labels-en.yaml,
  41.             confs/server-control.yaml,
  42.             #confs/debug.yaml,
  43.             confs/wifi.yaml
  44.            ]
  45.  
  46. # enable logger
  47. logger:
  48.   baud_rate: 9600
  49.   logs:
  50.     esp32.preferences: ERROR
  51.     sensor: ERROR
  52.     text_sensor: ERROR
  53.     binary_sensor: ERROR
  54.     switch: ERROR
  55.     button: ERROR
  56.     number: ERROR
  57.     climate: ERROR
  58.     component: ERROR
  59.     ecodan.component: DEBUG
  60.  
  61. # Enable Web server.
  62. web_server:
  63.   port: 80
  64.   #ota: true
  65.  
  66. ecodan:
  67.   id: ecodan_instance
  68.   uart_id: uart_ecodan
  69. # polling interval override in ms, default 500
  70. #  polling_interval_override: 1000
  71. # uncomment line below and adjust the heat constant if your system uses a water + glycol mixture
  72. #  specific_heat_constant_override: 3.9
  73.  
  74.  
  75. ##esp32.yaml
  76. esp32:
  77.   board: esp32dev
  78.   framework:
  79.     type: esp-idf
  80.     version: recommended
  81.     # Custom sdkconfig options
  82.     sdkconfig_options:
  83.       COMPILER_OPTIMIZATION_SIZE: y
  84.  
  85. uart:
  86.   id: uart_ecodan
  87.   rx_pin:
  88.     number: GPIO3
  89.     mode:
  90.       input: true
  91.       pullup: true
  92.   tx_pin:
  93.     number: GPIO1
  94.     mode:
  95.       output: true
  96.   baud_rate: 2400
  97.   parity: EVEN
  98.   stop_bits: 1
  99.   debug:
  100.     direction: BOTH
  101.     dummy_receiver: false
  102.     after:
  103.       delimiter: "\n"
  104.     sequence:
  105.       - lambda: UARTDebug::log_hex(direction, bytes, ' ');
  106.  
  107. sensor:
  108.   - platform: internal_temperature
  109.     name: ${internal_esp_temperature}
  110.     entity_category: diagnostic
Advertisement
Add Comment
Please, Sign In to add comment