Repository navigation
Conversation
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>
Member
Author
|
Superseded by #6, which carries this history forward as one release PR to main. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes for room users
Simpler
room-content.json(generated from the panel's text and already checked bytest_shared_content). The live snapshot polled every second no longer repeats ~12 KB of it; the website retries loading the file if the first load fails.serve.py --timezonefor weather (default unchanged), journal closed on the wrong-screen-size exit,utcnow()replaced.Not changed
No lighting adapter, light state machine (
poll_worker) or power sequence logic. The website's private IP inroom_controls.py/QR image stays: removing it needs a runtime QR generator, which means a new package on the Pi.Checks
python -m pytest tests: 99 passed, 2 skipped (Pillow not installed on the review PC). New tests cover the loop helper and the slimmer snapshot.node --check browser/room.js🤖 Generated with Claude Code