Skip to content

Add the Bluefy page for on-phone video and BLE - #4

Merged
pschmeln merged 1 commit into
mainfrom
cursor/bluefy-web-demo-e781
Nov 8, 2026
Merged

pschmeln merged 1 commit into
mainfrom
cursor/bluefy-web-demo-e781

Conversation

@pschmeln

@pschmeln pschmeln commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

Pull requests 2 and 3 are already merged, so this continues from current main.

web/index.html is a phone page for Bluefy on a standard iPhone 16. The rear camera and COCO-SSD run in the browser. The page writes the existing 18-byte packet to the UNO R4 WiFi. A laptop is not the runtime. This was not tried on a phone here.

The native app remains. Its camera packet still cannot carry an elevated hazard. The web warning uses a new image-heuristic source. That packet is rejected if it includes a distance or a route cue.

What you can check before hardware

  • Camera, model, and Bluetooth each have their own controls. The combined warning is a separate switch and starts off.
  • Manual D2, D3, and D4 commands are a simulation. They are not the camera.
  • D5 stays the board's link heartbeat or watchdog outage.
  • Missing a detection is not an all-clear. A model error does not fall back to brightness.

Checks on commit 94f5337

  • Host tests passed, including cane logic tests passed and all 7 web logic tests. JavaScript packets matched the C encoder.
  • UNO R4 WiFi compile passed. The sketch used 85604 bytes of 262144. It was not flashed.
  • Unsigned iOS compile passed on Xcode 26.6 with ** BUILD SUCCEEDED **. That build is not installable.
  • The Pages workflow does not run on this pull request.

Hosting

.github/workflows/pages.yml publishes web/ only after a push to main, using GitHub's Pages actions and no secrets. https://pschmeln.github.io/agent-workflow/ returned 404 while this branch was prepared. After merge, a person still has to set Pages → Source → GitHub Actions, then rerun the Pages workflow. Do not guess a live URL before that job prints one.

Still only you can do

  • Merge this pull request.
  • Turn on Pages as described above.
  • Install Bluefy, flash prototype/firmware/uno_r4_wifi/uno_r4_wifi.ino, and wire external drivers.
  • Walk the spotter checks in docs/WEB_DEMO.md with eyes uncovered.

The plain walkthrough is on the page and in docs/WEB_DEMO.md.

Open in Web Open in Cursor 

Send center-zone COCO-SSD hits as an image-heuristic packet, keep manual bench commands separate, and reject any distance or route on that packet.

Co-authored-by: pschmeln <pschmeln@users.noreply.github.com>
@pschmeln
pschmeln merged commit e969dbc into main Nov 8, 2026
3 checks passed
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