Skip to content

Keep room controls responsive and make Lights on use Fid - #5

Closed
diyanko wants to merge 38 commits into
fix/panel-navigation-transitionsfrom
fix/lighting-recovery-and-experiment-handoff
Closed

diyanko wants to merge 38 commits into
fix/panel-navigation-transitionsfrom
fix/lighting-recovery-and-experiment-handoff

Conversation

@diyanko

@diyanko diyanko commented Oct 26, 2026 •

Copy link
Copy Markdown
Member

The Beta panel no longer freezes or ignores presses. Taps can no longer reach the hidden Legacy app underneath, and an unconfirmed light change no longer locks the panel until staff check it. Beta reads the lights again and the controls come back. Lights on applies Fid; the former 3500 K / level 1000 setting is Warm white under White light. The panel and website share version 0.2.20.

What changes for room users:

  • Legacy stays hidden while Beta is on screen. It appears when opened from Beta, or by itself if Beta stops responding for 5 seconds, so it is still the fallback.
  • Lights changed outside the panel are accepted as they are. A failed or lost result restarts the lighting helper with a fresh read and never repeats the old command.
  • Presses no longer wait for storage saves, and Lights off only asks to stop Sun/Circ when a programme may be running.
  • Experiment and Legacy handoffs are still saved before they proceed, and an interrupted handoff stays blocked until checked. Bounded trials still refuse writes after an external change.
  • On phones, a compact header and bottom navigation leave more room for controls.
  • Room-user wording no longer says to stop and ask staff after ordinary failures.

Validation:

  • Full local suite: 608 passed. Two Windows-only environment errors are pre-existing.
  • Deployed 73904ca / 0.2.20 to the panel. Off, On and Check presses were each confirmed in about a second, and the Legacy window stayed hidden.

Draft for researcher review; no merge to main. The panel's power supply still reports under-voltage, which is a hardware issue.

🤖 Generated with Claude Code

diyanko and others added 6 commits October 26, 2026 13:11
Room users:
- The website now treats a "receipt unknown" reply from the panel like a lost
  reply: it locks controls and watches for the panel's receipt instead of
  inviting a repeat (including power requests).
- The panel clock, theme switching and website bridge keep running if one
  reading fails; the error is logged once. The website status sampler likewise
  never stops.
- After a failed restart/shutdown the panel says power controls stay off until
  it restarts, and how to reconnect lighting.

Simpler:
- Guide/help text reaches the website only through room-content.json (already
  generated and tested against the panel), not in every live snapshot.
- serve.py takes --timezone for weather (same default); journal closes on the
  wrong-screen exit; utcnow() replaced.

No lighting adapter, light state machine or power sequence logic changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@diyanko diyanko changed the title Recover everyday lighting safely and preserve original Legacy controls Keep everyday lighting available through experiments and Legacy Oct 26, 2026
@diyanko diyanko changed the title Keep everyday lighting available through experiments and Legacy Keep room controls responsive and lighting recoverable Oct 28, 2026
@diyanko diyanko changed the title Keep room controls responsive and lighting recoverable Keep room controls responsive and make Lights on use Fid Oct 30, 2026
Show Room tour and Control help together, retain navigation positions, and state dated lighting confirmation in words. Use current-value preference menus and reserve room for recovery actions on the touch panel.
The current Guide shortcut opens its topic list. From other pages it still resumes the last topic, preserving a quick return after trying room controls.
Integrate Warm white with its settings, compact dated feedback and group Guide navigation. Reserve recovery space before White light sliders. Show room services directly and round web health values.
Reserve the recovery strip before scene and programme grids, and let the channel editor fit the remaining height. Cover retained ready-to-uncertain transitions and ancestor bounds.
Let non-map stories use their natural height on the page background, keeping confirmation beside the controls and preserving the fixed topic navigation.
Distinguish guide navigation from room actions and make the sensor examples readable. Show Start or Resume accurately, label panel annotations, and keep unchecked or cancelled selections separate from confirmed lighting.
Explain how to mark an event instead of retaining a reset message under resumed instructions. Keep the recorder warning in its main banner and preserve actual progress and error messages.
diyanko and others added 11 commits October 30, 2026 22:58
Room users: taps on Beta can no longer press the hidden original app's
buttons (Sun, Fid, Off...), and a lighting change that cannot be confirmed
no longer locks the panel for staff. Beta re-reads the lights and controls
come back. Lights changed outside the panel are accepted as they are.

- Legacy stays withdrawn while Beta covers the screen and shows itself
  again if Beta stops sending its cover signal for 5 s.
- Manual changes stop Sun/Circ only when a programme may be running, so a
  slow Status service cannot fail an ordinary Lights off.
- Everyday command state is kept in memory, so presses no longer wait for
  an SD card save. Experiment and Legacy handoffs stay durable and guarded.
- Status requests get 5 s instead of 3 s. Version 0.2.20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Guides, README, WORKFLOWS and the interface notes no longer tell room users
to stop and ask staff after an ordinary unconfirmed change; they explain that
the panel reads the lights again. Handoff wording is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@diyanko

diyanko commented Nov 10, 2026

Copy link
Copy Markdown
Member Author

Superseded by #6, which carries this history forward as one release PR to main.

@diyanko diyanko closed this Nov 10, 2026
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.

1 participant