core icon indicating copy to clipboard operation
core copied to clipboard

ESP devices won't update

Open bkr1969 opened this issue 11 months ago • 8 comments

The problem

ESP Homebuilder will update, but the individual devices requiring update afterwards fail with this message:

INFO ESPHome 2024.12.4
INFO Reading configuration /config/esphome/esp32-bluetooth-proxy-8554d0.yaml...
Failed config

packages: [source /config/esphome/esp32-bluetooth-proxy-8554d0.yaml:5]
  
  Failed to load packages. esp32-generic.yaml does not exist in repository.
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main

What version of Home Assistant Core has the issue?

2025.1.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ESPHome

Link to integration documentation on our website

https://www.home-assistant.io/integrations/esphome/

Diagnostics information

5c53de3b_esphome_2025-01-17T14-18-09.241Z.log

Example YAML snippet


Anything in the logs that might be useful for us?


Additional information

No response

bkr1969 avatar Jan 17 '25 14:01 bkr1969

Hey there @ottowinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of esphome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


esphome documentation esphome source (message by IssueLinks)

home-assistant[bot] avatar Jan 17 '25 14:01 home-assistant[bot]

This is my config file:

substitutions:
  name: esp32-bluetooth-proxy-8554d0
  friendly_name: Bluetooth Proxy 8554d0
packages:
  esphome.bluetooth-proxy: github://esphome/bluetooth-proxies/esp32-generic.yaml@main
esphome:
  name: ${name}
  name_add_mac_suffix: false
  friendly_name: ${friendly_name}
api:
  encryption:
    key: Zh6eWk1rLHh+AdjKggIgIriL5XbgNNZVGMYxF13i+dA=


wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

ota:
  platform: esphome
  

bkr1969 avatar Jan 17 '25 14:01 bkr1969

Well...I took the packages: portion out and it's working now.

bkr1969 avatar Jan 17 '25 18:01 bkr1969

Not sure if this is related to your issue, I still have the packages: portion, but it is looking at a different location.

packages:
  esphome.bluetooth-proxy: github://esphome/firmware/bluetooth-proxy/esp32-generic.yaml@main

and I had to give my devices a static IP to get them to update.

manual_ip:
   static_ip: 192.168.0.XX
   gateway: 192.168.0.1
   subnet: 255.255.255.0

Alf-Tupper avatar Feb 15 '25 23:02 Alf-Tupper

same problem after update to 2025.3.0

jove01 avatar Mar 20 '25 12:03 jove01

If you look at https://github.com/esphome/firmware/blob/main/bluetooth-proxy/esp32-generic.yaml

You will see the packages has moved

packages: moved: github://esphome/bluetooth-proxies/esp32-generic/esp32-generic.yaml@main

Who knew? Not me

MrEcosse avatar Mar 24 '25 17:03 MrEcosse

Your Bluetooth proxy is very old and the configuration has gone through quite a few iterations since that version existed.

Please reinstall from https://esphome.io/projects/index.html so you are sure the partition table is updated to use the one for ESP-IDF and all the significant known issues have been solved

bdraco avatar Mar 25 '25 17:03 bdraco