How aless725/laboratotio-devops works
This IoT greenhouse-lighting PoC simulates readings, sends them through an MQTT broker, and displays them in a live web dashboard with a critical-reading alert. The principal flow is simulated sensor → broker → dashboard processing → visual display/alert. The dashboard’s connection, subscription, rendering, and threshold logic are shown in source; broker deployment and the dashboard’s documented purpose are described in the README. Other deployment details were not inspected.
Main entry points: app.js Dashboard MQTT client · docker-compose.yml MQTT broker · index.html Live light display · sensor.js Simulated sensor
Components 6
Sensing
- Simulated sensor
simulador/sensor.js
Messaging
- MQTT broker
docker-compose.yml
Dashboard
- Dashboard MQTT client
dashboard/js/app.js - Live light display
dashboard/index.html - Critical alert rule
dashboard/js/app.js
Other components
- Dashboard viewer
Connections 7
- Simulated sensor → MQTT broker: publishes readings
simulador/sensor.js - Dashboard MQTT client → MQTT broker: subscribes to topic
dashboard/js/app.js - MQTT broker → Dashboard MQTT client: delivers messages
dashboard/js/app.js - Dashboard MQTT client → Live light display: updates display
dashboard/js/app.js - Dashboard MQTT client → Critical alert rule: checks threshold
dashboard/js/app.js - Live light display → Dashboard viewer: shows readings
README.md - Critical alert rule → Dashboard viewer: signals critical state
README.md