How mynrdvx/smart-hydroponics works
Smart Hydroponics is a React Native app for monitoring and interacting with a hydroponics installation. The user enters through the login route, then navigates from the dashboard to sensor readings and related views, including history, captured images, alerts, and forecasts. The README documents Firebase services and Arduino/ESP32 communication as product capabilities; the supplied excerpts do not establish the precise runtime wiring for those integrations. Forecast code shown uses local sample data, and the pH detail screen excerpt simulates readings.
Main entry points: App.js Navigation app · DashboardScreen.js Dashboard · SensorDetail.js Sensor details · screens Sensor screens
Components 13
Mobile navigation
- Navigation app
App.js - Login
screens/LoginScreen.js - Dashboard
screens/DashboardScreen.js
Sensor monitoring
- Sensor details
screens/SensorDetail.js - Sensor screens
screens - Realtime views
screens/sensors-realtime-fe
History and insights
- Forecast
screens/Forecast.js - Alert history
screens/AlertHistory.js - Growth captures
screens/CapturedImages.js
Backend and hardware
- Firebase auth
services/firebaseConfig.js - Firebase database
config/firebaseConfig.js - Arduino / ESP32
Arduino
Other components
- Grower
Connections 15
- Grower → Navigation app: opens
- Navigation app → Login: initial route
- Navigation app → Dashboard: navigates
- Navigation app → Sensor details: routes to
- Navigation app → Sensor screens: routes to
- Navigation app → Forecast: routes to
- Navigation app → Alert history: routes to
- Navigation app → Growth captures: routes to
- Dashboard → Sensor details: opens
- Sensor details → Sensor screens: shows readings
- Sensor screens → Realtime views: includes views
- Grower → Dashboard: views
- Arduino / ESP32 → Firebase database: sends sensor data
- Firebase database → Navigation app: provides realtime data
- Login → Firebase auth: authenticates