From 3759a7b61cf4b4f5401298492ab7929f0fabd79d Mon Sep 17 00:00:00 2001 From: Roman Priesol Date: Sat, 31 Oct 2026 10:32:23 +0100 Subject: [PATCH] nspanel_terminal 0.5.0, even home page margins; pin the IPv6-only wifi PR nspanel-terminal 0.5.0 (protocol 7, native 93 TFT) is untagged, so it is pinned to its release commit. The home page uses the 16 px page margin on every side, measured on the glyph ink; the clock shrinks to 100 px so it clears the forecast column. The current head of esphome/esphome#19750 does not build with the IPv4 stack off (IPV6_ROAM_SETTLE_MS is defined under USE_WIFI_LEASE_CACHE but used under USE_NETWORK_IPV6), so the PR is pinned to be1f55d until that is fixed. --- common/ipv6_only_eth.yaml | 4 +++- common/nspanel_terminal/forecast_day.yaml | 2 +- common/nspanel_terminal/panel.yaml | 22 ++++++++++------------ 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/common/ipv6_only_eth.yaml b/common/ipv6_only_eth.yaml index 30ef345..92454a1 100644 --- a/common/ipv6_only_eth.yaml +++ b/common/ipv6_only_eth.yaml @@ -6,7 +6,9 @@ # WiFi devices use common/ipv6_only.yaml (this + the IPv6 SSID) external_components: # IPv6-only on wifi/ethernet with the IPv4 stack off (esphome/esphome#19750), drop once merged - - source: github://pr#19750 + # pinned to be1f55d: the 2026-10-31 head breaks the IPv4-off build (IPV6_ROAM_SETTLE_MS defined under + # USE_WIFI_LEASE_CACHE, used under USE_NETWORK_IPV6); back to github://pr#19750 once fixed + - source: github://davidcoulson/esphome@be1f55d7d4f653a182980740b6d2549f22b2db87 components: [network, wifi, ethernet] refresh: 1h diff --git a/common/nspanel_terminal/forecast_day.yaml b/common/nspanel_terminal/forecast_day.yaml index e2fe640..fb3cd1a 100644 --- a/common/nspanel_terminal/forecast_day.yaml +++ b/common/nspanel_terminal/forecast_day.yaml @@ -11,7 +11,7 @@ obj: type: FLEX flex_flow: ROW flex_align_cross: CENTER - pad_column: 10 + pad_column: 8 widgets: - label: id: forecast_day_${i} diff --git a/common/nspanel_terminal/panel.yaml b/common/nspanel_terminal/panel.yaml index 1afc982..4b0c96f 100644 --- a/common/nspanel_terminal/panel.yaml +++ b/common/nspanel_terminal/panel.yaml @@ -48,7 +48,7 @@ psram: ignore_not_found: false external_components: - - source: github://ptaru/nspanel-terminal@v0.4.0 + - source: github://ptaru/nspanel-terminal@19fcafc0b30d4d2f75a7a170a963e6f08a13e3d9 # 0.5.0, untagged components: [nspanel_terminal] wifi: @@ -212,7 +212,7 @@ globals: font: - file: "gfonts://Inter@500" id: font_clock - size: 112 + size: 100 bpp: 4 glyphs: "0123456789:-" - file: "gfonts://Inter@500" @@ -607,24 +607,23 @@ lvgl: id: clock_label text: "--:--" text_font: font_clock + # the digits' ink starts ~5 px right of and ~23 px below the label box: 16 px margin like the rest align: TOP_LEFT - x: 4 - y: -10 + x: -5 + y: -23 - label: id: date_label text: "" text_color: 0xB4B4BA align: TOP_LEFT - x: 10 - y: 118 + y: 92 - label: id: nameday_label text: "" text_font: font_s text_color: 0x8E8E93 align: TOP_LEFT - x: 10 - y: 148 + y: 122 - obj: clickable: false align: TOP_RIGHT @@ -644,7 +643,7 @@ lvgl: - obj: clickable: false align: BOTTOM_LEFT - x: 8 + x: -2 y: -22 width: SIZE_CONTENT height: SIZE_CONTENT @@ -672,11 +671,10 @@ lvgl: text_font: font_s text_color: 0x8E8E93 align: BOTTOM_LEFT - x: 10 - obj: clickable: false align: BOTTOM_LEFT - x: 158 + x: 148 y: -22 width: SIZE_CONTENT height: SIZE_CONTENT @@ -704,7 +702,7 @@ lvgl: text_font: font_s text_color: 0x8E8E93 align: BOTTOM_LEFT - x: 160 + x: 150 - obj: clickable: false align: BOTTOM_RIGHT