How setyawan-dev/gentadash works
GentaAlert is a browser-based GentaDash dashboard for monitoring a connected agricultural site and controlling its hardware. The main workflow is viewing live telemetry and threat status, then sending commands to the device; the app also presents crop-age, weather, and notification features. The runtime is concentrated in one large JavaScript file, so its distinct responsibilities are represented as components sharing that path. The excerpts show MQTT message handling and some UI updates, but do not establish the page’s full wiring, logging destination, or Google Sheets integration.
Main entry points: app.js Dashboard UI · index.html Dashboard page
Components 12
Dashboard interface
- Dashboard page
index.html - Dashboard UI
js/app.js - Navigation and theme
js/app.js - Dialogs and toasts
js/app.js
Monitoring and alerts
- Telemetry display
js/app.js - Threat status
js/app.js - Weather display
js/app.js - Crop age
js/app.js
Device control
- MQTT client
js/app.js - Manual controls
js/app.js
Other components
- Operator
- Genta device
Connections 11
- Operator → Dashboard page: uses
- Dashboard page → Dashboard UI: hosts
- Dashboard UI → Telemetry display: updates
js/app.js - Dashboard UI → Threat status: updates
js/app.js - Dashboard UI → Weather display: updates
js/app.js - Dashboard UI → Crop age: updates
js/app.js - Dashboard UI → Navigation and theme: configures
js/app.js - Dashboard UI → Dialogs and toasts: shows
js/app.js - Dashboard UI → MQTT client: sends messages
js/app.js - Manual controls → MQTT client: sends commands
js/app.js - MQTT client → Genta device: communicates