Case study
IoT Dashboard - IUT Blagnac sensors



Context
The rooms on the 1st floor of the computer science department at IUT de Blagnac (B101 to B115) are equipped with AM107 sensors. These sensors continuously send environmental data over an MQTT stream: temperature, humidity, activity (presence), CO₂, TVOC, light level, infrared and atmospheric pressure.
The goal of the project is to develop a web interface to view this data in real time, store it in a database and provide a history in the form of charts. The main users are data analysts from the research unit, who use this information to understand how the spaces are used and to manage them better.
Problem & goals
Problem
- Data from 9 types of sensors, scattered and unused
- No visibility into the actual occupancy of the department's 15 rooms
- No history to analyze trends over several months
- Need for a solution that is easy to deploy and maintain
Goals
- Collect and store data from all the IoT sensors in real time
- Visualize the 9 metrics (temperature, humidity, CO₂, TVOC, activity, light level, infrared, pressure) through an intuitive interface
- Provide an interactive room map for simple navigation
- Display historical charts that can be filtered by period (monthly)
Approach
The project was developed with a modular architecture to simplify development, maintenance and deployment:
- setting up a containerized architecture with Docker (Nginx, Node-RED, TimescaleDB);
- using Node-RED to handle the MQTT streams and ingest the data automatically;
- storage in TimescaleDB, a database optimized for time series;
- development of a PHP web interface with an interactive room map and metric cards with trend indicators.
This architecture makes the services easy to manage and simplifies deployment on different GNU/Linux environments.
Technical highlights
Frontend: PHP interface with an interactive SVG room map, real-time metric cards with colored trend indicators, and interactive Chart.js charts with legend filters.
Database: TimescaleDB for optimized time-series storage, enabling fast queries on the data history.
IoT / MQTT: Node-RED to subscribe to the AM107 sensors' MQTT topics and ingest the data automatically into the database.
Infrastructure: Docker Compose orchestrating Nginx, PHP-FPM, Node-RED and TimescaleDB for reproducible deployment.
Results
At the end of the project:
- a dashboard with an interactive map to select any room (B101-B115);
- real-time display of the 9 metrics with colored trend indicators (+/-);
- interactive historical charts with filters by data type and monthly period;
- a 100% containerized solution that can be deployed with a few Docker commands.
The dashboard is deployed and accessible, giving the IUT's research unit a complete tool for analyzing the rooms' environment.
What I learned
- designing a complete IoT architecture, from collection to visualization;
- working with MQTT streams and handling real-time data ingestion with Node-RED;
- using TimescaleDB for efficient time-series storage;
- creating interactive visualizations (SVG map, Chart.js charts);
- containerizing a multi-service application with Docker Compose.
This project introduced me to the IoT ecosystem and let me put software architecture, data visualization and containerized deployment skills into practice.