mcp-ui
Add a discovery endpoint + UI so cameras are picked from a detected list
rather than typing OpenCV indices blind.
- Name enumeration works WITHOUT OpenCV (macOS system_profiler,
Linux /sys/class/video4linux), so discovery is useful before the [ui]
extra is installed; when cv2 IS present, each not-in-use index is briefly
opened to confirm it works and read its resolution.
- GET /api/cameras/discover returns {available, cv2, cameras:[{index, name,
width, height, in_use, unavailable}]}; indices already bound to a FleetSuite
camera are marked in_use and not re-opened (their stream owns them).
- CameraManager auto-scans on mount with a "scan" button, lists detected
cameras (name · idx · resolution) with one-click add, flags missing OpenCV
with an install hint, and keeps manual-by-index as a fallback.
Verified on the bench: detects all 4 USB capture cameras with cv2 absent;
one-click add registers + marks in_use.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Overview
This repository contains the official device firmware for Meshtastic, an open-source LoRa mesh networking project designed for long-range, low-power communication without relying on internet or cellular infrastructure. The firmware supports various hardware platforms, including ESP32, nRF52, RP2040/RP2350, and Linux-based devices.
Meshtastic enables text messaging, location sharing, and telemetry over a decentralized mesh network, making it ideal for outdoor adventures, emergency preparedness, and remote operations.
Get Started
- 🔧 Building Instructions – Learn how to compile the firmware from source.
- ⚡ Flashing Instructions – Install or update the firmware on your device.
Join our community and help improve Meshtastic! 🚀
Stats
Languages
C++
63.9%
C
26.9%
Python
8.2%
Shell
0.6%
Batchfile
0.2%
