Skip to content

Add a trusted-network website sharing panel controls - #2

Closed
diyanko wants to merge 24 commits into
mainfrom
experiment/room-browser-status-20261014
Closed

diyanko wants to merge 24 commits into
mainfrom
experiment/room-browser-status-20261014

Conversation

@diyanko

@diyanko diyanko commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Display controls now offer Preview screen saver, which opens the panel’s existing idle screen. Its first touch returns to Home; the website’s Wake Home action is unchanged. Date & weather remains the clock-format and temperature preferences page.

Give trusted room-network users the same Home controls, Lighting workspace, instructions, preferences and help as the Beta touch panel. Lighting has White light, Scenes, Programmes and Channels tabs under one sidebar entry. Fid, Sat and Dul retain their original mixtures. Gradient, Sun and Circ are visible with disconnected controls until their panel adapters are integrated. Empty Legacy placeholders and the Enable Sliders gate are omitted.

Home includes all three original blind actions. Blind controls have a saved Locked/Unlocked setting, locked by default and separate from Home visibility. Home shows Disabled; settings explain the lock or missing connection. Unlocking does not move equipment or bypass a missing controller. No blind adapter is installed; window-group addressing is not implemented. Experiment mode does not start a recorder.

One existing panel controller owns hardware requests; the website is a client of its private socket. Network control requires explicit opt-in, the configured trusted subnet, exact Host/Origin and a per-server request token. Commands are bounded and revision checked; duplicates do not dispatch again and unknown receipts are not retried. Anyone on the configured trusted network can use controls. The default unconfigured gateway stays disabled. Original Legacy actuator controls remain on the touch panel, with guarded handover and Home return.

Shared exported icons, theme roles, guides and shell tokens keep the interfaces consistent. Dark backgrounds remain neutral gray with restrained semantic colour accents and selected/pressed/disabled text retains contrast. Polling preserves in-progress slider edits. Bundled Cantarell avoids system-font fallback. Help has shared step-by-step descriptions of each command, its computer, purpose and expected result, plus actual monospace syntax highlighting, individual Copy buttons, Copy all and documentation links. Clipboard permission failure falls back to selection-based copying, verified in the standalone Windows file. These commands are never executable. Weather/daylight, guide and read-only diagnostics remain available.

Desktop white-light cards sit side by side; landscape tablets retain large controls. Phones use a compact section selector, balanced header buttons, prominent lights and expandable blinds. Direct numeric values validate bounds and steps, preserve edits during polling, apply on Enter or blur and cancel on Escape. The offline demo exposes 19 labelled lighting cases, including bounds, custom channels, pending/unconfirmed/offline states and simulated Gradient/Sun/Circ start, stop and completion. Real programme/fixture adapters remain disconnected; no new hardware command is introduced.

Weather uses a two-column grid with aligned labels and values; missing values show a dash, and stale/unavailable readings recover without retaining old model text or icons. The shared night icon brings the crescent against the cloud. The native screensaver has larger clock digits with a smaller AM/PM indicator, aligned headings and the daylight bar. Blank has a quiet bottom hint for its existing two-second hold. Local and deployed gallery views retain independent version/date labels, and Deployed Pi includes every native page/state plus the actual visible screen. The updated source is deployed and verified; physical touch and power acceptance remain separate.

Validation: 14 Python tests pass, covering network boundaries and the optional gateway. Thirteen browser interaction groups verify confirmation states, polling and typed editing, four Lighting tabs, programme selection without commands, blind permission versus missing connection, fonts/copy, phone navigation and guide/Legacy return. Long help references keep compact, sticky desktop navigation. Power warnings are separated from resource readings. The visual audit covers 720 page/theme/size/state combinations at six widths (320–1440 pixels) without contrast, fit, target or overflow findings. The local gallery contains 563 panel/browser screenshots across five browser viewport sizes. The standalone HTML demo tests programme lifecycle/reset and denied-clipboard fallback with zero network requests.

The reviewed browser and panel sources are deployed and hash-verified. Ninety deployed-browser checks pass across five sizes with control POSTs blocked, including all help topics, four Lighting tabs, blind lock and unavailable programme guards. Native panel qualification also passes. Post-deployment screenshots and offline HTML publish together after version, image and viewer checks; the gallery labels the actual visible Pi screen separately from illustrative states. Individual device targeting is not implemented in the Beta adapters; All remains the default. These browser checks do not establish physical device health or touchscreen performance. Draft for researcher review; no main merge.

The standalone demo uses the actual browser source with a simulated owner. It now preserves uncertain-result locks through Home navigation, blocks lighting during instructions, cancels stale confirmation timers after failures, uses the real preset mixtures, treats zero drive as Off, and shows panel-only preview/wake feedback. Expanded offline checks pass with zero network requests; simulated fixture/programme controls remain clearly labelled.

Copilot AI balanced review requested due to automatic review settings October 14, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@diyanko diyanko changed the title Add read-only room status for browsers Prototype a read-only Smart Conference Room overview Oct 14, 2026
@diyanko diyanko changed the title Prototype a read-only Smart Conference Room overview Add a read-only room website with matching everyday layout Oct 15, 2026
@diyanko diyanko changed the title Add a read-only room website with matching everyday layout Add a trusted-network website sharing panel controls Oct 16, 2026
@diyanko

diyanko commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Consolidated into draft PR #1: #1 . The website branch and its latest Beta header update are merged into the panel experiment branch without rewriting history. Please continue review in #1; main is unchanged.

@diyanko diyanko closed this Oct 16, 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.

2 participants