feat(issue-11): add Node-RED physical panel simulator #13
Labels
No labels
area/android
area/device
area/hardware
area/linux-hub
area/protocol
area/server
area/testing
area/ui
kind/bug
kind/chore
kind/docs
kind/feature
state/blocked
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rznz/signal-lost!13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/11-node-red-panel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #11
The physical panel can now be exercised without a Raspberry Pi. A separate Node-RED process uses native FlowFuse switches, button and text widgets, sends existing HardwareEvent JSON and renders authoritative hub status. Controls wait for a mock snapshot, follow state_revision and disable on disconnection. One small native ui-template prevents Dashboard from buffering offline browser input.
Depends on #10 / PR #12, including its prepared ASGI cancellation cleanup regression fix. Merge that dependency first, then update this main-based branch and regenerate memory indexes. This PR does not copy hub source changes into the simulator.
Acceptance criteria
Verification
Setup: simulator/README.md. Prompt: docs/prompts/11-node-red-panel.md. Memory: .agents/work/tasks/11-node-red-panel/.
Review requested from echo1; reviewed on continuation by rznz (not the PR author). The user explicitly authorized review and merge in the preceding conversation and resumed that instruction on 2026-10-27.
2026-10-27 integration verification
Rebased onto merged PR #12. Combined documentation and rebuilt shared indexes/generated docs from all source outcomes. Hub/device Python tests: 16 passed; panel Node tests: 10 passed; global secret/conflict checks passed. Simulator runtime source unchanged by rebase.
a88019839etoe5f80918f6No blocking findings. Reviewed acceptance criteria, flow mapping/offline guard, protocol and task outcomes. After rebase onto merged PR #12: hub/device pytest 16 passed, panel node tests 10 passed; global secret/conflict checks passed. Rebuilt generated task indexes and docs from all outcomes; frozen tasks preserved. Runtime simulator source matches the previously browser-verified version. Physical hardware is outside scope. User explicitly requested review and merge in the preceding conversation and asked to resume it.