dentra / esphome-ewh

Control Electrolux/Ballu/Zanussi Water Heaters via uart
MIT License
25 stars 8 forks source link

Cyclic reboot of the s3 dongle after flashing #11

Open psarts opened 6 months ago

psarts commented 6 months ago

After flashing using ESPHome version 2023.12 and the config from the example, s3 dongle starts to reboot cyclically. An error appears in the esp flasher logs: "[11: 27: 13]invalid header: 0xffffffff". Here is the configuration I used:

substitutions:
  friendly_name: "Water Heater"
  node_name: "water-heater"
  board: "esp32-s3-devkitc-1"
  time_platform: "sntp"
  wifi_ssid: !secret wifi_ssid
  wifi_password: !secret wifi_password
  wifi_ap_password: !secret wifi_ap_password
  tx_pin: GPIO19
  rx_pin: GPIO20 
packages:
  remote:
    url: https://github.com/dentra/esphome-ewh
    ref: master 
    files:
      - packages/uptime.yaml
      - packages/restart.yaml
      - packages/base.yaml
      - packages/esp32.yaml
time:
  platform: sntp

api:
  encryption:
    key: "ХХХ"

ota:
  password: "ХХХ"

  ssid: $wifi_ssid
  password: $wifi_password

logger:
uart:
  tx_pin: $tx_pin
  rx_pin: $rx_pin
  baud_rate: 9600

vport:
  - platform: ewh

climate:
  - platform: ewh
    id: whc
    name: None 
    bst:
      name: "BST"
dentra commented 6 months ago

it is important to use packages/esp32_s3.yaml

psarts commented 6 months ago

Увидел, что тут можно писать по русски. Поменял на packages/esp32_s3.yaml. При прошивке флаг flash_mode: dio. Однако не помогло. Цикличный ребут, в логах вот что:

[17:12:56]invalid header: 0xffESP-ROM:esp32s3-20210327
[17:12:56]Build:Mar 27 2021
[17:12:56]rst:0x7 (TG0WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
[17:12:56]Saved PC:0x40048839
[17:12:56]invalid header: 0xffffffff
dentra commented 5 months ago

а вы шьете через esphome run или как-то по другому?