generated from CubeCraft-Creations/Tracehound
RemoteRig: Core infrastructure — MQTT subscriber, Pi deployment, ESP32 firmware, hardware design #5
Reference in New Issue
Block a user
Delete Branch "dev"
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?
Summary
Major infrastructure sprint — 11 new commits establishing the complete RemoteRig system architecture across backend, frontend, deployment, firmware, and hardware.
Backend (Go)
internal/mqtt/subscriber.go) — Full Mosquitto integration with auto-reconnect, status/heartbeat/announce handling, camera auto-registration (MAC →cam-NNN), recording event auto-open/close, heartbeat watchdog (120s offline), SSE broadcastevent: camera_status), monotonic event IDs for Last-Event-ID reconnection, CORS preflight//go:embed, SPA fallback, dev-safe placeholderDeployment (CI/CD + Scripts)
build-dev.yamlbuilds Go forGOARCH=arm64(Pi Zero 2 W) + bundles Reactdeploy-dev.yamlpushes binary + config to Pi, systemd restart with backup/rollbackscripts/setup-pi.shidempotent setup (Mosquitto, static IP192.168.4.10, systemd)scripts/remoterig.serviceauto-restart, after mosquittoESP32 Firmware (PlatformIO)
firmware/— PlatformIO project with dual-STA Wi-Fi (travel router + GoPro AP), GoPro Hero 3 HTTP API, 60-byte status blob parser, MQTT per contract, auto-registration, heartbeat, command handlingHardware Design
hardware/case/remoterig-case.scad) — GoPro Hero 3 sleeve, ESP32 compartment, LiPo trayDocumentation
Architecture Decision
All devices connect to a self-contained travel router (192.168.4.0/24). No internet dependency. Pi Zero 2 W at
192.168.4.10runs Mosquitto + Go backend + React UI. ESP32s bridge GoPro AP to LAN via MQTT.Related Issues
Closes: CUB-232 (MQTT subscriber), CUB-233 (SSE verification), CUB-237 (CONTEXT.md), CUB-238 (MQTT contract)
Unblocks: CUB-174 (ESP32 firmware — now has scaffold), CUB-231 (Mosquitto setup — scripts ready), CUB-230 (offline buffering)
Grimm Review — PR #5
Verdict: APPROVE (no blocking issues)
Spec Compliance
Code Quality
No critical issues found.
30 files, +3,771 lines | Grimm 2026-05-21