A modular, structure-first Next.js application designed as a frontend for Home Assistant.
- /app: App Router pages and layout.
- /modules: Independent business logic modules (Status, Control, Voice, Insights).
- /core: Shared core logic (HA client stub, layout, navigation).
- /context: Global React contexts (App state, Presence stub).
- /ui: Shared UI primitives.
- Modular Architecture: Isolated modules for scalability.
- Home Assistant Ready: Types and client stubs prepared for WS integration.
- Responsive Design: Mobile-first, adaptive layout for all screens.
- Control: Room-based control with manual override concepts.
-
Install dependencies:
npm install
-
Run locally:
npm run dev
-
Build for production:
npm run build
- Replace
core/ha/client.stub.tswith real WebSocket client. - Connect
PresenceContextto HA sensors. - Expand Modules with real entity data.