fonske / clack-reader-v3

Esphome component for Clack WS1 softener with TOF sensor saltlevel detection
8 stars 6 forks source link

Clack reader v3 update broken after ESPHome 2024.6.1 update #15

Open ragg987 opened 3 months ago

ragg987 commented 3 months ago

After the update of ESPHome from 2024.5.5 to 2024.6.1 the update of Clack firmware on the Clack v3 reader is failing. I suspect it is because the OTA update setup has changed. Where can I update this in my system? It is not a parameter in my clack.yaml file.

Referencing the release notes here: https://esphome.io/changelog/2024.6.0#ota-platforms

# Old
ota:

# New
ota:
  platform: esphome

I'm getting this error

INFO ESPHome 2024.6.1
INFO Reading configuration /config/esphome/clack.yaml...
INFO Updating https://github.com/fonske/clack-reader-v3@main
WARNING GPIO35 is used by the PSRAM interface on ESP32-S3R8 / ESP32-S3R8V and should be avoided on these models
WARNING GPIO36 is used by the PSRAM interface on ESP32-S3R8 / ESP32-S3R8V and should be avoided on these models
Failed config

At least one platform must be specified for 'ota'; add 'platform: esphome' for original OTA functionality
fonske commented 3 months ago

Thanks for notifying

I changed all branches to

# OTA:
ota:
  platform: esphome

This code is in clack_base.yaml I changed it there (automatic downloaded from github during compile) otherwise is would break the ota function if i transfer it to the clack.yaml which is local.

ragg987 commented 3 months ago

Thank you that worked. Appreciate the fast fix.