Fix camera feed freezing and person detection alerts

- Add WebRTC auto-reconnect with exponential backoff when streams
  disconnect or fail, preventing permanent freezes in grid view
- Replace hard-coded Front Porch person alert with generic system
  that monitors all configured personDetectionEntities
- Map Frigate person_occupancy entities to cameras dynamically
- Show correct camera name and feed in alert overlay
- Bump config version to refresh detection entity defaults
This commit is contained in:
root
2026-02-26 15:33:25 -06:00
parent 97a7912eae
commit 58ebd3e239
4 changed files with 151 additions and 64 deletions

View File

@@ -2,7 +2,7 @@ import { create } from 'zustand';
import { persist } from 'zustand/middleware';
// Increment this when default cameras/config changes to force refresh
const CONFIG_VERSION = 8;
const CONFIG_VERSION = 9;
export interface ThermostatConfig {
entityId: string;