Repository navigation
Installer: Camera tab with the camera actions and the media list - #255
Merged
Merged
Conversation
Photo, video start/stop, the media list of 'camlist' as a table, delete per recording, erase the camera's SD card (both behind a dialog, then the hub's confirmation code) and the queue of 'actions'. sendLine() now writes one line at a time: two scripts sending right after connecting both asked for the port's writer and the second one threw. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Csa4N778M5kZxErLfAfd7D
ThomasPohl
changed the base branch from
feature/installer-auto-reconnect
to
main
November 15, 2026 06:58
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.
The camera actions (#135) and
camlistwere only reachable through the command line of the installer. The advanced view gets a fifth tab, Camera (web/camera.js), that sends the same console commands:photo,video start,video stop; the hub's answer (or its reason, such asbusy (SESSION)) is shown at the top of the tab.camlistas a table (type, camera time as the camera's wall clock, folder/number,mediaId), newest first, with the counts. A failed or truncated list and an unreachable camera are said in words.… confirm <code>. A deleted recording leaves the table once its action isdone.actionswith state and reason, newest first; read after every request and when a camera session ends.Also in this PR, because the tab needs it:
sendLine()writes one line at a time. The dock'sstatusright after connecting and a command of another script could both ask for the port's writer, and the second one threw.The activity log no longer prints one line per recording of a
camlist.Stacked on #254.
Tested in headless Chrome with a simulated hub (1300×900 and 420×800): every button, the table, cancel and confirm of a deletion, the typed word for erasing, the action list, the disabled state without a connection. Not tested on hardware; the line formats are taken from the firmware source (
media_list.cpp,action_queue.cpp,hub_console.cpp), and the camera actions themselves are untested on a camera so far (seedocs/camera-actions.md).Generated by Claude Code