KaufHA/PLF10

ESP does not have enough space to store OTA file

Closed this issue · 2 comments

After updating to ESPHome v2023.6.4 and trying OTA flash of my normal firmware, I recieve the following error message.

INFO Successfully compiled program.
INFO Resolving IP address of recirculation-pump-plug.local
INFO  -> REDACTED IP ADDRESS
INFO Uploading /data/recirculation-pump-plug/.pioenvs/recirculation-pump-plug/firmware.bin (608288 bytes)
INFO Compressed to 418843 bytes
ERROR Error binary size: Error: ESP does not have enough space to store OTA file. Please try flashing a minimal firmware (remove everything except ota)

Quick questions:

  1. How should I go about flashing the plug now? Is there any feature that I can disable to make the firmware smaller?
  2. Do the newer PLF12 plugs have a similar issue?

For reference, my ESPHome config file:

substitutions:
  name: "recirculation-pump-plug"
  friendly_name: Recirculation Pump Plug
  node_ip: REDACTED
  disable_webserver: "true"
  sub_restore_mode: ALWAYS_OFF

packages:
  Kauf.PLF10: github://KaufHA/PLF10/kauf-plug.yaml

esphome:
  name: ${name}
  name_add_mac_suffix: false

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  use_address: ${name}.local

  manual_ip:
    static_ip: ${node_ip}
    gateway: 192.168.0.1
    subnet: 255.255.255.0
    dns1: 192.168.0.100
    dns2: 8.8.8.8
  
  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "${name}-HS"
    password: !secret ap_password

api:
  encryption:
    key: "REDACTED"