How sadikkhan07/wattwiseaii works
WattWise AI is a React frontend prototype for household energy monitoring: users explore the public site or launch a demo dashboard, where usage, tariff, and mock AI insights support detection and savings guidance. Its documented product model spans measurement, learning, detection, and action, but the README describes hardware and backend integrations as future architecture; the sampled code shows no live data or AI service connection. Most capabilities are implemented in the monolithic App.tsx. Relationships below use README documentation where source excerpts do not expose routing or implementation details.
Main entry points: App.tsx Dashboard KPIs · main.tsx React entry
Components 16
Web experience
- React entry
main.tsx - App and routes
App.tsx - Public website
App.tsx
Demo state
- Demo state
App.tsx
Energy insights
- Dashboard KPIs
App.tsx - Usage charts
App.tsx - AI insights
App.tsx - Waste detection
App.tsx - Savings guidance
App.tsx - Energy report
App.tsx - AI assistant
App.tsx - Notifications
App.tsx
Account and device
- Mock auth screens
App.tsx - Tariff settings
App.tsx - Energy monitor view
App.tsx
Other components
- Household user
Connections 20
- Household user → React entry: opens app
README.md - React entry → App and routes: renders
main.tsx - Household user → Public website: explores
README.md - Household user → Mock auth screens: uses
README.md - Household user → Dashboard KPIs: launches demo
README.md - App and routes → Public website: serves pages
README.md - App and routes → Mock auth screens: serves screens
README.md - App and routes → Dashboard KPIs: serves dashboard
README.md - Dashboard KPIs → Demo state: uses demo data
README.md - Dashboard KPIs → Tariff settings: uses tariff
README.md - Dashboard KPIs → Usage charts: shows usage
README.md - Dashboard KPIs → AI insights: shows insight
README.md - Dashboard KPIs → Waste detection: links detection
README.md - Dashboard KPIs → Savings guidance: links savings
README.md - Dashboard KPIs → Energy report: links report
README.md - Dashboard KPIs → Energy monitor view: links devices
README.md - Dashboard KPIs → AI assistant: offers assistant
README.md - Dashboard KPIs → Notifications: shows alerts
README.md - AI assistant → Demo state: persists chat
README.md - Tariff settings → Dashboard KPIs: recalculates costs
README.md