Commit graph

16 commits

Author SHA1 Message Date
60f133bfa3 fix: flatten arc widget main: style block to top-level properties
Root cause of the Home screen dial rendering tiny and pinned to the
top-left, confirmed via isolated test compile and direct inspection
of generated C++: an explicit main: sub-block on an LVGL arc widget
silently suppresses the implicit top-level MAIN-part style properties
(align, width, height, x, y) instead of merging with them. All three
arcs (dial_bg_arc, heat_arc, cool_arc) used a main: block for
arc_color/arc_width/arc_opa, which wiped out their align/width/height
in the exact same commit that set them (my earlier size/wrapper fix
never had a chance to take effect).

Verified via a standalone test config: an arc with main: nesting
generates zero lv_obj_set_style_width/height/align calls; the
identical arc with the same properties flattened to top-level
generates them correctly. indicator:/knob: are unaffected since those
are genuinely separate LVGL parts that require explicit nesting.
2026-07-12 10:21:51 -07:00
1f750ea779 fix: wrap classic Home screen in a sized container, separate dial arc radii
Two bugs found on first hardware test:

1. page_home placed all widgets directly on the page with no sized
   wrapper container, unlike every other page in this codebase (which
   all wrap content in an explicit width/height obj before using
   align:). The dial and its siblings rendered tiny and pinned to the
   top-left instead of filling/centering on the real 1024x600 screen.
   Wrapped all of page_home's content in a width:100%/height:100% obj,
   matching the established pattern.

2. heat_arc and cool_arc were both adjustable:true at the identical
   400x400 size, so their rings occupied the same physical pixels.
   LVGL hit-tests arcs by distance from center, so a shared radius is
   touch-ambiguous, and the topmost widget (cool_arc, declared last)
   won every touch regardless of where on the ring you tapped. Shrunk
   cool_arc to 360x360 so the two rings are physically distinguishable
   by touch position.
2026-07-12 10:02:56 -07:00
3d47e80de6 fix: convert dial Fahrenheit input to Celsius before climate.control
The dual-arc setpoint dial uses a Fahrenheit-range scale (60-90) to
match the Lennox reference UI, but climate.control expects Celsius
throughout this codebase. Dragging the dial was sending raw
Fahrenheit values straight into target_temperature_low/high, which
would have commanded wildly wrong setpoints on live hardware.
Also fixes a stale comment pointing at the wrong file after the
panel.yaml extraction.
2026-07-12 00:57:28 -07:00
0e99798143 feat: build classic Home screen with dual-arc setpoint dial and Away button 2026-07-12 00:48:49 -07:00
0a6f6ab2fa feat: scaffold classic variant with hamburger nav and reused Sensors/Settings/Schedule pages 2026-07-12 00:39:52 -07:00
2097779949 refactor: extract shared panel.yaml (RGB panel, touch, IO expander) from display.yaml 2026-07-12 00:26:29 -07:00
3bcba89fba feat: build Schedule screen with Home/Away preset selection 2026-07-11 22:55:33 -07:00
1d3e537df4 feat: build Settings screen with device info and manual relay override 2026-07-11 22:52:31 -07:00
c362bbad34 feat: build Sensors screen with live temp/humidity/pressure readout 2026-07-11 22:45:46 -07:00
d051f0cab0 feat: build Home screen with live temp, mode, and setpoint controls 2026-07-11 22:42:34 -07:00
88042cf850 feat: add LVGL base config with persistent bottom nav bar 2026-07-11 22:35:26 -07:00
3d2172317c feat: add thermostat climate entity wiring BME280 sensor to relay outputs 2026-07-11 20:08:59 -07:00
db096462be feat: add 5-channel relay GPIO outputs for HVAC control wiring 2026-07-11 20:07:30 -07:00
58798d5751 feat: add BME280 ambient temperature/humidity/pressure sensors 2026-07-11 20:06:21 -07:00
c4906da25a feat: add RGB panel display and GT911 touch config for Waveshare 7" 2026-07-11 20:02:49 -07:00
bb3249e166 feat: scaffold ESPHome project for Waveshare ESP32-S3 7" thermostat 2026-07-11 19:53:54 -07:00