Build the screens with ESPHome 2026.9 and keep its build memory in the app's own storage, give the CYD 94 KB more room, and stop a timer from counting one second too many (0.2.89)
The add-on ships ESPHome 2026.9.0: it builds an ESP32 with ESP-IDF itself and keeps a compiler cache. firmware.py gives the CLI its own storage in /data (ESPHOME_DATA_DIR /data/esphome, which the ESPHome Device Builder no longer wipes on start; ESP-IDF and ccache in /data/idf, at most 1 GB; compilers limited to the core count as PlatformIO ran them), removes the unused PlatformIO once before the first ESP-IDF build, and leaves the new folders out of backups. Firmware 0.2.75: assertion_level SILENT in every board's esp32 block, the core logs from INFO, and clock_parts() in runtime_model.h replaces sscanf. timer_left() caps a running timer at its duration (the screen's clock runs up to a second behind Home Assistant's). The packages keep min_version 2026.6.2, the top-level online_image and OTA passwords for new screens, so an add-on or Device Builder that isn't updated yet keeps building every screen; CI now builds both boards with the add-on's ESPHome and with min_version. ESP-IDF's error names stay on, and build_flags stay under platformio_options, because ESPHome 2026.9's LVGL reads only those. tools/check.sh: 478 Python tests, 19/19 C++, editor; --firmware PASS with ESPHome 2026.6.2 (CYD 87.7 %), 2026.8.1 (88.3 %) and 2026.9.0 (86.4 %, was 91.5 %). Both bench screens OTA'd and watched for half an hour; ESP Screens as a local add-on on the Yellow built both profiles (CYD 1,037 s first build, 41 s unchanged). Details: docs/TEST_RESULTS_0289.md. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+10
-4
@@ -14,7 +14,7 @@
|
||||
# fonts/materialdesignicons-webfont.ttf (Apache 2.0, github.com/Templarian/MaterialDesign-Webfont).
|
||||
############################################################
|
||||
substitutions:
|
||||
SCREEN_FIRMWARE_VERSION: "0.2.74"
|
||||
SCREEN_FIRMWARE_VERSION: "0.2.75"
|
||||
DASHBOARD_INBOX_INTERNAL: "false"
|
||||
CALIBRATION_ON_BOOT: "false" # a bench build: start on the touch test page
|
||||
ROOM_NAME: "" # top left until ESP Screens sends the screen name
|
||||
@@ -34,10 +34,16 @@ substitutions:
|
||||
# board file's, the credentials the entry file's (secrets.yaml, see secrets.yaml.example).
|
||||
# ============================================================
|
||||
esphome:
|
||||
# The oldest ESPHome these packages build with, not the one the add-on ships (2026.9.0, screen_manager/Dockerfile): an
|
||||
# add-on or ESPHome Device Builder that isn't updated yet keeps building every screen (firmware 0.2.75+). Raise it in a
|
||||
# release of its own, with the camera images' `image:` form (before ESPHome 2027.1) and OTA with the api key for new
|
||||
# screens; docs/RELEASING.md, Compatibility 0.2.89.
|
||||
min_version: 2026.6.2
|
||||
project:
|
||||
name: maxgramser.esp_screen
|
||||
version: "${SCREEN_FIRMWARE_VERSION}"
|
||||
# Still under platformio_options, although ESPHome 2026.9 calls that deprecated and offers `esphome: build_flags`:
|
||||
# its LVGL only reads these flags when it writes lv_conf.h, and writes `LV_USE_SWITCH 0` over the other form.
|
||||
platformio_options:
|
||||
build_flags:
|
||||
- -DLV_USE_SWITCH=1
|
||||
@@ -251,9 +257,9 @@ esphome:
|
||||
|
||||
|
||||
logger:
|
||||
# Set to DEBUG or VERBOSE temporarily for diagnosis. Note: ESPHome logs
|
||||
# its configuration lines at CONFIG level, which are invisible at INFO.
|
||||
level: DEBUG
|
||||
# INFO (firmware 0.2.75+): the lines below INFO, ESPHome's configuration dump and its per-state debug lines, are left
|
||||
# out of the firmware, 9 KB on the CYD. For a diagnosis, give one screen `logger: level: DEBUG` in its Override YAML.
|
||||
level: INFO
|
||||
logs:
|
||||
sensor: WARN
|
||||
text_sensor: WARN
|
||||
|
||||
Reference in New Issue
Block a user