Commit Graph

4 Commits

Author SHA1 Message Date
5ab609d6af feat(eye-gateway): Add remote device connectivity and test dashboard
- Add remote.py with non-blocking SSH connection to Eye Remote
- Add /api/v1/remote/* endpoints for device control
- Add /dashboard with real-time metrics, services, and command execution
- Support both emulator and remote device modes
- Add service restart, log viewing, and device info endpoints

The gateway now serves as the primary testing interface for Eye Remote
without TTY blocking issues.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-04-24 11:58:00 +02:00
4f750c9b81 fix(eye-remote): Display OTG mode in test dashboard
- Gateway emulator returns transport: "otg" field
- Test dashboard shows "● USB OTG" with neon green
- Shows "CONNECTED" status and host address
- Properly reads transport from API response

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-22 09:58:26 +02:00
204e04bf50 fix(eye-gateway): Align emulator metrics with SecuBox API field names
- Add hostname, uptime_seconds to metrics output
- Add field aliases: mem_percent, cpu_temp, load_avg_1, wifi_rssi
- Add test-dashboard-amd64.py for testing on x86_64 with pygame

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-22 09:27:07 +02:00
1f7a22f894 feat(eye-gateway): Add development gateway with emulator
Add SecuBox Eye Gateway development tool for testing Eye Remote
without a physical SecuBox device. Features:

- Emulation profiles (idle, normal, busy, stressed) with realistic drift
- EmulatedMetrics dataclass with homeostatic drift behavior
- SecuBoxEmulator class for device simulation
- FastAPI server with CORS for development
- CLI with Click for easy configuration
- Endpoints: health, metrics, eye-remote metrics, discovery

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-21 11:00:06 +02:00