Title: Can't OTA any devices (2025.7) due to program size -- fixed by switching to esp-idf instead of arduino · Issue #9555 · esphome/esphome · GitHub
Open Graph Title: Can't OTA any devices (2025.7) due to program size -- fixed by switching to esp-idf instead of arduino · Issue #9555 · esphome/esphome
X Title: Can't OTA any devices (2025.7) due to program size -- fixed by switching to esp-idf instead of arduino · Issue #9555 · esphome/esphome
Description: The problem It seems like esphome put on a bunch of weight with this release, I can't ota update any of my nodes anymore because the file size is too big. This is anything from a device just running the ble proxy to light strips, to cont...
Open Graph Description: The problem It seems like esphome put on a bunch of weight with this release, I can't ota update any of my nodes anymore because the file size is too big. This is anything from a device just runnin...
X Description: The problem It seems like esphome put on a bunch of weight with this release, I can't ota update any of my nodes anymore because the file size is too big. This is anything from a device just ru...
Opengraph URL: https://github.com/esphome/esphome/issues/9555
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Can't OTA any devices (2025.7) due to program size -- fixed by switching to esp-idf instead of arduino","articleBody":"### The problem\n\nIt seems like esphome put on a bunch of weight with this release, I can't ota update any of my nodes anymore because the file size is too big. This is anything from a device just running the ble proxy to light strips, to controlling my standing desk, etc. They're all too large. \n\n```\nRAM: [== ] 18.9% (used 62064 bytes from 327680 bytes)\nFlash: [==========] 107.4% (used 1970436 bytes from 1835008 bytes)\nError: The program size (1970436 bytes) is greater than maximum allowed (1835008 bytes)\n*** [checkprogsize] Explicit exit, status 1\n========================== [FAILED] Took 7.59 seconds ==========================\n```\n\n### Which version of ESPHome has the issue?\n\n2025.7\n\n### What type of installation are you using?\n\nHome Assistant Add-on\n\n### What platform are you using?\n\nESP32\n\n### Component causing the issue\n\n_No response_\n\n### YAML Config\n\n```yaml\nsubstitutions:\n name: justins-room-mirror-lightstrip\n friendly_name: Justins Room Mirror lightstrip\n\nesphome:\n name: ${name}\n friendly_name: ${friendly_name}\n min_version: 2024.6.0\n name_add_mac_suffix: false\n project:\n name: esphome.web\n version: '1.0'\n\nesp32:\n board: esp32dev\n framework:\n type: arduino\n\n# Enable logging\nlogger:\n\n# Enable Home Assistant API\napi:\n encryption:\n key: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n\nota:\n - platform: esphome\n\n# Enable Bluetooth Proxy\nbluetooth_proxy:\n active: true\n\nwifi:\n ssid: !secret wifi_ssid\n password: !secret wifi_password\n\n # Enable fallback hotspot (captive portal) in case wifi connection fails\n ap:\n ssid: \"Esphome-Web-1Fd1C4\"\n password: \"xxxxxxxxxxxxxxxxxxxxxxxxxxxx\"\n\ncaptive_portal:\n\n\n# LED Strip\nlight:\n - platform: rgb\n name: \"Justins Light Strip\"\n red: gpio_red\n green: gpio_green\n blue: gpio_blue\n\n# LED Strip Output Pins\noutput:\n - platform: ledc\n pin: GPIO19\n id: gpio_red\n inverted: true\n\n - platform: ledc\n pin: GPIO18\n id: gpio_green\n inverted: true\n\n - platform: ledc\n pin: GPIO21\n id: gpio_blue\n inverted: true\n\nswitch:\n - platform: restart\n name: Restart ${friendly_name}\n```\n\n### Anything in the logs that might be useful for us?\n\n```txt\nINFO ESPHome 2025.7.0\nINFO Reading configuration /config/esphome/justins-room-mirror-lightstrip.yaml...\nINFO Generating C++ source...\nINFO Compiling app...\nProcessing justins-room-mirror-lightstrip (board: esp32dev; framework: arduino; platform: https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip)\n--------------------------------------------------------------------------------\nHARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash\n - framework-arduinoespressif32 @ 3.1.3 \n - framework-arduinoespressif32-libs @ 5.3.0+sha.489d7a2b3a \n - tool-esptoolpy @ 4.8.6 \n - tool-mklittlefs @ 3.2.0 \n - tool-riscv32-esp-elf-gdb @ 14.2.0+20240403 \n - tool-xtensa-esp-elf-gdb @ 14.2.0+20240403 \n - toolchain-xtensa-esp-elf @ 13.2.0+20240530\nDependency Graph\n|-- Networking @ 3.1.3\n|-- AsyncTCP @ 3.4.5\n|-- WiFi @ 3.1.3\n|-- FS @ 3.1.3\n|-- Update @ 3.1.3\n|-- ESPAsyncWebServer @ 3.7.10\n|-- ESP32 Async UDP @ 3.1.3\n|-- DNSServer @ 3.1.3\n|-- ESPmDNS @ 3.1.3\n|-- noise-c @ 0.1.10\nError: The program size (1970436 bytes) is greater than maximum allowed (1835008 bytes)\nRAM: [== ] 18.9% (used 62064 bytes from 327680 bytes)\nFlash: [==========] 107.4% (used 1970436 bytes from 1835008 bytes)\n*** [checkprogsize] Explicit exit, status 1\n========================== [FAILED] Took 7.51 seconds ==========================\n```\n\n### Additional information\n\nInstalls just fine on 2025.6.3","author":{"url":"https://github.com/broyuken","@type":"Person","name":"broyuken"},"datePublished":"2025-07-16T14:57:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/9555/esphome/issues/9555"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2d57ddf0-3be3-56d7-18ca-033c7d879dc2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF46:ED1BF:2BD9CE6:3A52F99:6992EADA |
| html-safe-nonce | 79a032dea59756e89d87461fa41095b92c880433d0685a894da2c4ee6f10f0d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjQ2OkVEMUJGOjJCRDlDRTY6M0E1MkY5OTo2OTkyRUFEQSIsInZpc2l0b3JfaWQiOiI4NzYzMzY4NjgwMzA4NTMzOTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2be2f1ff7db9d974705fed804bde28bd3de724027d3911a4e2175c201b69e560 |
| hovercard-subject-tag | issue:3236307262 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/esphome/esphome/9555/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d88b32633b134e153751c5df6ce870433ad9a5f4774cf6d74416b281760ac91c/esphome/esphome/issues/9555 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d88b32633b134e153751c5df6ce870433ad9a5f4774cf6d74416b281760ac91c/esphome/esphome/issues/9555 |
| og:image:alt | The problem It seems like esphome put on a bunch of weight with this release, I can't ota update any of my nodes anymore because the file size is too big. This is anything from a device just runnin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | broyuken |
| hostname | github.com |
| expected-hostname | github.com |
| None | 01ab16879a3159e6f0717ab948b9b562e162a6aafd1f4393b786b07b747df244 |
| turbo-cache-control | no-preview |
| go-import | github.com/esphome/esphome git https://github.com/esphome/esphome.git |
| octolytics-dimension-user_id | 45919759 |
| octolytics-dimension-user_login | esphome |
| octolytics-dimension-repository_id | 128479644 |
| octolytics-dimension-repository_nwo | esphome/esphome |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 128479644 |
| octolytics-dimension-repository_network_root_nwo | esphome/esphome |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b1570f3928bef80fa5fc7890ce0942e9b696ad9d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width