Commit Graph
6 Commits
Author SHA1 Message Date
jessikitty 8a5fe108dc Fix: chunked storage (12x255=3060 chars), no CFG reference, clean parseCfg/saveCfg 2026-05-16 18:15:46 +10:00
jessikitty 4ecdda5322 Redesign: use OPNsense DHCP lease sensor for discovery/status, fix save error handling, add HA+DHCP status indicators, cleaner UI 2026-05-16 15:13:24 +10:00
jessikitty 5593d1411b Fix: use ws.send() directly for auth — send() expects a result response but HA responds to auth with auth_ok/auth_invalid (no id), causing 60s timeout loop 2026-05-15 16:22:31 +10:00
jessikitty 76b67d3470 Fix connection timeout: use REST API for initial state load, increase WS timeout to 60s
Large HA instances with many entities cause get_states to exceed the 12s
WebSocket timeout. Now loads all states via /api/states HTTP endpoint first
(much more reliable for large payloads), with WebSocket get_states as fallback.
Also bumped WS send timeout from 12s to 60s for slow HA responses.
2026-05-15 16:11:44 +10:00
jessikitty 28e2bf167f Fix: replace double-encoded file with correct HTML dashboard 2026-05-10 21:23:39 +10:00
jessikitty 22e740e754 Add parental controls dashboard HTML
- HA WebSocket connection with auto-reconnect
- User cards with colour coding and per-user block toggle
- Device assignment by MAC (pick from discovered devices or enter manually)
- Per-device block toggle with online/offline indicator
- Weekday/weekend schedule blocking (overnight ranges supported)
- Auto re-block on device reconnect with new IP
- First-time setup screen, credentials stored in localStorage
2026-05-10 21:13:39 +10:00