How dhanushgowdas/eaar works
EAAR is a web dashboard for an edge-AI agricultural rover. The user explores rover architecture, devices, field readings and disease-detection results, then can inspect live status, operate navigation controls, simulate field inputs, configure Supabase, or ask the field assistant. The sampled app wiring establishes the main UI composition and shared rover state; several domain views are represented by their documented purpose and names. The firmware and some data integrations were not sampled, so their connections are left unverified or omitted.
Main entry points: RoverContext.tsx Rover context · App.tsx App shell · ResultsSection.tsx Inspection results · GeminiChatbot.tsx Gemini assistant
Components 19
Dashboard experience
- App shell
src/App.tsx - Navigation and language
src/components/navigation/RightDrawer.tsx - Rover overview
src/components/sections/HeroSection.tsx - 3D rover view
src/components/3d/RoverFiber.tsx - Architecture view
src/components/sections/ArchitectureSection.tsx - Device inventory
src/components/sections/DevicesSection.tsx - Live status
src/components/sections/LiveStatusSection.tsx - Inspection results
src/components/sections/ResultsSection.tsx
Field operations
- Navigation controller
src/components/sections/NavigationControllerSection.tsx - Field simulator
src/components/modals/FieldSimulatorDrawer.tsx - Gemini assistant
src/components/chat/GeminiChatbot.tsx
Shared state and data
- Rover context
src/context/RoverContext.tsx - Supabase settings
src/components/modals/SupabaseConfigModal.tsx
Rover firmware
- Device configuration
firmware/DEVICE_CONFIG.h - Navigation firmware
firmware/ESP32_DevKit_Navigation/ESP32_DevKit_Navigation.ino - Environment firmware
firmware/ESP32-S3_Environment/ESP32-S3_Environment.ino
Other components
- Operator
- Gemini chat endpoint
- Supabase
Connections 24
- Operator → App shell: uses
src/App.tsx - App shell → Rover context: provides context
src/App.tsx - App shell → Navigation and language: renders
src/App.tsx - App shell → Rover overview: renders
src/App.tsx - App shell → Architecture view: renders
src/App.tsx - App shell → Device inventory: renders
src/App.tsx - App shell → Inspection results: renders
src/App.tsx - App shell → Live status: renders
src/App.tsx - App shell → Navigation controller: renders
src/App.tsx - Rover overview → 3D rover view: renders
src/components/sections/HeroSection.tsx - Navigation and language → Rover context: uses
src/components/navigation/RightDrawer.tsx - Architecture view → Rover context: uses
src/components/sections/ArchitectureSection.tsx - Device inventory → Rover context: uses
src/components/sections/DevicesSection.tsx - Live status → Rover context: uses
src/components/sections/LiveStatusSection.tsx - Inspection results → Rover context: uses
src/components/sections/ResultsSection.tsx - Navigation controller → Rover context: controls via
- Field simulator → Rover context: injects readings
src/components/modals/FieldSimulatorDrawer.tsx - Gemini assistant → Rover context: uses
src/components/chat/GeminiChatbot.tsx - Gemini assistant → Gemini chat endpoint: requests chat
src/components/chat/GeminiChatbot.tsx - Supabase settings → Rover context: uses
src/components/modals/SupabaseConfigModal.tsx - Rover context → Supabase: reads and writes
- Inspection results → Supabase: listens for updates
src/components/sections/ResultsSection.tsx - Device configuration → Navigation firmware: configures
- Device configuration → Environment firmware: configures