Skip to content

Sync upstream changes through November - #1

Open
infamy wants to merge 167 commits into
mainfrom
sync-upstream-nov
Open

infamy wants to merge 167 commits into
mainfrom
sync-upstream-nov

Conversation

@infamy

@infamy infamy commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Purpose

Brings in the 166 EspControl changes made since our last sync (#2100, Sept 28 → #2456, Nov 10), so Basalt picks up upstream's fixes and features while keeping its own features.

What you get

  • Fixes: a stuck web interface when the browser connection stalls, broken or incomplete browser firmware uploads, climate, option select, cover stop, speaker grouping, stale sensors, cover-art memory, image download timing, webhook credentials no longer written to logs, and builds working on ESPHome 2026.10/2026.11.
  • Features: light mode theme, custom card colours, adjustable soft corners, resizing cards by dragging, renaming cards by clicking their title, PIN protection plus a Screensaver card, animated GIFs, a date under the screensaver clock, a JSON backup download, a persistent warning when Home Assistant disconnects, controls that respond on touch-down, new icons, translations, and 4 KB config capacity.
  • Weather: upstream's daily forecast and details popup replace Basalt's own "days" forecast. Upstream's Wind, Rainfall, Pressure, Humidity, Visibility and Temperature cards come with it. Cards already saved with the old "days" forecast are switched to the new daily forecast automatically.
  • New hardware: support for the 4.3" JC4880P443 V3 and the 7" JC1060P470 V3.
  • Improv Serial WiFi setup is removed, matching upstream.
  • 7" V2 (JC1060P470 V2): dashboards move into dedicated flash storage (#2437), and the panel's local speaker output is removed, matching upstream (#2144).

Kept from Basalt

Camera motion wake, the dual switch card, Home Assistant entity autocomplete, the Basalt naming and domain, CalVer releases, and CI on GitHub-hosted runners. The docs for camera motion and entity autocomplete were moved into upstream's new docs layout.

Skipped

  • Upstream CI that assumes self-hosted runners or a live device: the PR-process workflow split from #2110 (its local tooling was kept), the nightly firmware workflow, live device health tests (#2293), and runner readiness canaries (#2448).
  • Upstream's internal agent skills: #2134, #2244, #2447.
  • #2102 (removing upstream's internal developer notes) was taken. Skipping it made almost every later tooling change conflict.

How it was checked (automated only)

  • Ran the CI check profile locally under UTC. Everything passes except firmware-tests, which fails only because my local compiler (GCC 16) defaults to newer C++. Built at C++17, all 143 firmware host tests pass apart from two upstream test files that trip new GCC 16 warnings; those two pass with the warning switched off and are identical to upstream.
  • Web unit tests, web smoke and the full browser smoke test pass.
  • Firmware has not been compiled locally. CI will compile it.
  • Nothing has been tested on a physical device yet.

Testing notes

Flash the 7" Guition JC1060P470 V2 from this branch.

  1. Before flashing, export a backup (System > Backup). This update moves dashboards into new storage (#2437). The move is automatic, but keep the backup in case it fails.
  2. After flashing, check that all cards and subpages are still there.
  3. Check that camera motion wake still wakes the screen.
  4. Check that a dual switch card works and follows the light/dark theme.
  5. Check that entity autocomplete still suggests Home Assistant entities.
  6. If you had a weather card set to the old multi-day forecast, check that it now shows upstream's daily forecast.
  7. Optionally try the light theme, custom colours and the PIN lock.

🤖 Generated with Claude Code

jtenniswood and others added 30 commits November 12, 2026 11:52
* Add folder outline icons

* Regenerate embedded web icon bundle

* Update product snapshot for folder icons

* Update web bundle size baseline
* Remove internal development guides

* Retire checks for removed developer guides

* Remove stale developer documentation artifacts
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Bump pinned ESPHome to 2026.9.1

* Keep panel adapter API history accurate

* Preserve ESPHome 2026.9 compatibility
Hebrew:
- start_dock was still in English; now translated.
- Connect-to-hotspot message used singular masculine and a redundant
  phrase; now matches the plural imperative used on the other setup
  screens.
- On/off state reads "מופעל" (switched on) instead of "פועל" (running).
- Opening/closing states no longer read as past tense.
- Thermostat hold modes use "קיבוע" instead of a literal translation.
- Partial weather conditions use the local forecast wording.
- Fan "Still", unlock, screen unlocked, update status, timer confirm and
  guest Wi-Fi labels reworded to read naturally on a wall panel.

All languages:
- media_default_label() wraps "Cover Art" in espcontrol_i18n(), but the
  string was missing from the translation files, so it always showed in
  English. Added cover_art to every strings.*.txt.

Regenerated i18n_generated.h.

Co-authored-by: Yosef Chai <[email protected]>
* Reduce recovery firmware size and report build headroom

* Run PR firmware builds on hosted runners

* Keep ESP-IDF Python cache writable
* Fix credentials on public firmware downloads

* Enable browser OTA and verify firmware install completion

* Wait for firmware confirmation and clear stale retry errors

* Restart firmware confirmation after fallback uploads
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Release P4 JPEG scratch buffers after each decode

* Exercise scoped JPEG cleanup in artwork contract check

* Replace stalled screensaver artwork callbacks on refresh

* Release unused screensaver artwork after playback stops
…RLs (#2147)

Home Assistant reports a cleared entity_picture/entity_picture_local as the literal string "None". The cover art path cached it and built http://host:portNone, retrying on every refresh. Treat "None" like unknown/unavailable (as camera_refresh_policy already does) and only join relative paths that start with '/', matching image_card_join_url.

Co-authored-by: joopdo <[email protected]>
Co-authored-by: James Tenniswood <[email protected]>
* Fix release generated-output preflight

* Run generated output self-test before release prep

* Run preflight tooling against release source
* Reduce device compiles on pull requests

* Fix confidence check for reduced PR matrix

* Fix device profile check for PR matrix
…reen (#2136)

* Re-arm cover art delay when the display settles back on active

The cover art delay is armed on wake/playback edges, but every active transition first runs hide_cover_art_view, which stops the delay timer. Closing a modal after a touch wake therefore leaves the panel on the home screen with no timer and no further edge to restart it (#2129). Re-arm from display_mode_effect_active when the display lands on ACTIVE with media playing and no modal/alarm takeover, so the delay runs and cover art returns.

* Stub cover art media player entity in display schedule test

---------

Co-authored-by: joopdo <[email protected]>
Co-authored-by: James Tenniswood <[email protected]>
* Keep firmware install state during OTA download

* Regenerate web bundle for OTA status fix

* Defer OTA install confirmation until upload

* Pause install refresh during OTA download
* Add JC4880P443 V3 production-silicon support

* Update installation guides for JC4880P443 V3
* Fix 7-inch cover-art pixel compensation during rotation

* Verify rotated icon and text compensation on 7-inch displays
jtenniswood and others added 30 commits November 12, 2026 11:59
Add a streaming backup download endpoint compatible with the existing JSON importer. Capture settings on the main loop, preserve empty values, and return explicit temporary-unavailability responses.

Validated by required CI and S3 hardware tests.
Hide the artwork playback button while locked by default, with a saved PIN setting to allow play/pause without unlocking. Simplify the PIN screen to show only the entry prompt.

Validated with CI, firmware builds, and user-confirmed P4 testing.
* Show persistent Home Assistant connection repair warning

* Correct the known 7-inch display mapping to V2

* Preserve setup navigation before HA state subscriptions arrive

---------

Co-authored-by: James Tenniswood <[email protected]>
Update the shared ESPHome pin from 2026.10.1 to 2026.10.2. Factory compilation, OTA uploads and device version checks passed; device testing confirmed by the user.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* Allow custom unit suffixes for rainfall sensors

* Verify rainfall unit suffixes survive browser save and reload

---------

Co-authored-by: James Tenniswood <[email protected]>
* Add pressure, humidity and visibility weather cards

* Group weather forecasts by period and sort types

---------

Co-authored-by: James Tenniswood <[email protected]>
* Update dependency esptool-js to v0.7.1

* Repair esptool-js dependency lockfile

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: James Tenniswood <[email protected]>
* Open pages and control popups on touch-down

* Update modal guard self-tests for touch-down callbacks

---------

Co-authored-by: James Tenniswood <[email protected]>
* Show one decimal place in clock bar temperatures

* Add selectable clock bar temperature precision with whole-number default

* Fit fractional temperatures before the centred clock

* Update clock bar layout expectations for the wider temperature slot

---------

Co-authored-by: James Tenniswood <[email protected]>
* Add weather temperature card with forecast and sensor sources

* Update temperature card runtime coverage fixtures

* Shorten temperature card label to Temp

* Refresh Temp preview runtime baseline

* Change temperature card label to Currently

* Translate Currently label for all supported display languages

---------

Co-authored-by: James Tenniswood <[email protected]>
* Add 7-inch JC1060P470 V3 profile, docs and installer

* Align V3 development and build names with the 7-inch panel

* Use the 7-inch artwork layout and modal fixtures for V3

* Include the V3 profile in editor migration coverage

* Include 7-inch V3 in button theme profile coverage

---------

Co-authored-by: James Tenniswood <[email protected]>
* Add isolated 7-inch JC1060P470 V3 experiment

* Retain the native toolchain cache between test build containers

* Preserve the explicit cache path when invoking ESPHome

* Document the verified production chip revision range

* Fix native Windows V3 test builds

* Correct the 7-inch V3 setup hotspot name

---------

Co-authored-by: James Tenniswood <[email protected]>
* Use dedicated storage for 7-inch V2 dashboards

* Migrate native dashboards before switching to dedicated storage

---------

Co-authored-by: James Tenniswood <[email protected]>
* Run P4-86 final system restart on the primary core

* Bound P4-86 restart handoff with hardware recovery

* Include P4 RTC clock declaration from the SoC header

---------

Co-authored-by: James Tenniswood <[email protected]>
* Fix Forecast browser layout assertions

* Check rendered firmware action alignment in Chromium

* Target the Forecast Type field in the card settings audit

---------

Co-authored-by: James Tenniswood <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants