How ethan-z11/z11_console_ha works
Z11 Console is a Home Assistant dashboard: users sign in, view and control room devices, and configure the shared dashboard and HA connection. The browser talks to the console service over HTTP and WebSocket; the service manages HA access and supplies device state, control, and supporting features such as cameras, weather, almanac, and automations. Some backend and UI modules were not sampled, so their documented or indexed relationships are shown only where evidence supports them.
Main entry points: app.py HTTP and WS Server · App.tsx Dashboard App · consoleApi.ts HTTP API Client · useHome.ts Home State Hook
Components 28
Dashboard UI
- Dashboard App
z11_console/src/App.tsx - Sign-in Setup
z11_console/src/components/AuthPages.tsx - Device and Room Views
z11_console/src/components/DeviceCards.tsx - Camera Board
z11_console/src/components/CameraBoard.tsx - Settings
z11_console/src/components/SettingsPage.tsx - Dashboard Customization
z11_console/src/components/CustomizeSettings.tsx - Weather View
z11_console/src/components/Weather.tsx
Browser Runtime
- HTTP API Client
z11_console/src/consoleApi.ts - WebSocket Client
z11_console/src/consoleClient.ts - Home State Hook
z11_console/src/useHome.ts - HA State Adapter
z11_console/src/haAdapter.ts - Device Commands
z11_console/src/deviceCommands.ts - Device Selectors
z11_console/src/selectors.ts
Console Service
- HTTP and WS Server
z11_console/server/home_console_server/app.py - Persistent Settings
z11_console/server/home_console_server/store.py - Session Authentication
z11_console/server/home_console_server/auth.py - Device Discovery
z11_console/server/home_console_server/discovery.py - Home Assistant Access
z11_console/server/home_console_server/ha.py
Home Features
- Automation Management
z11_console/server/home_console_server/automations.py - Camera Services
z11_console/server/home_console_server/cameras.py - ONVIF and PTZ
z11_console/server/home_console_server/onvif.py - Motion Detection
z11_console/server/home_console_server/motion.py - Camera Streaming
z11_console/server/home_console_server/go2rtc.py - Weather Data
z11_console/server/home_console_server/weather.py - Almanac
z11_console/server/home_console_server/almanac.py - Season Rules
z11_console/server/home_console_server/season.py
Other components
- Resident
- Home Assistant
Connections 32
- Resident → Dashboard App: uses
- Dashboard App → Sign-in Setup: renders
z11_console/src/App.tsx - Dashboard App → Device and Room Views: renders
z11_console/src/App.tsx - Dashboard App → Camera Board: renders
z11_console/src/App.tsx - Dashboard App → Settings: renders
z11_console/src/App.tsx - Dashboard App → Dashboard Customization: renders
- Dashboard App → Weather View: renders
z11_console/src/App.tsx - Sign-in Setup → HTTP API Client: calls
z11_console/src/components/AuthPages.tsx - Dashboard App → HTTP API Client: saves layout
z11_console/src/App.tsx - Settings → HTTP API Client: updates settings
z11_console/src/components/SettingsPage.tsx - Camera Board → HTTP API Client: requests camera data
z11_console/src/components/CameraBoard.tsx - Dashboard App → WebSocket Client: connects
- Home State Hook → HA State Adapter: builds live state
z11_console/src/useHome.ts - Home State Hook → Device Commands: applies commands
z11_console/src/useHome.ts - Home State Hook → Device Selectors: selects devices
z11_console/src/useHome.ts - HTTP API Client → HTTP and WS Server: HTTP requests
z11_console/src/consoleApi.ts - WebSocket Client → HTTP and WS Server: WebSocket requests
z11_console/src/consoleClient.ts - HTTP and WS Server → Persistent Settings: reads and writes
z11_console/server/home_console_server/app.py - HTTP and WS Server → Session Authentication: uses sessions
z11_console/server/home_console_server/app.py - HTTP and WS Server → Device Discovery: uses discovery
z11_console/server/home_console_server/app.py - HTTP and WS Server → Home Assistant Access: uses HA access
z11_console/server/home_console_server/app.py - HTTP and WS Server → Automation Management: manages
z11_console/server/home_console_server/app.py - HTTP and WS Server → Camera Services: uses camera service
z11_console/server/home_console_server/app.py - HTTP and WS Server → ONVIF and PTZ: sends PTZ commands
z11_console/server/home_console_server/app.py - HTTP and WS Server → Motion Detection: requests snapshots
z11_console/server/home_console_server/app.py - HTTP and WS Server → Camera Streaming: uses streaming
z11_console/server/home_console_server/app.py - HTTP and WS Server → Weather Data: serves weather
z11_console/server/home_console_server/app.py - HTTP and WS Server → Almanac: serves almanac
z11_console/server/home_console_server/app.py - HTTP and WS Server → Season Rules: maintains season rules
z11_console/server/home_console_server/app.py - Home Assistant Access → Home Assistant: connects to
- Automation Management → Home Assistant: controls automations
- Weather View → Weather Data: gets forecast