Architecture

MQTT in the middle, specialized services around it

The platform centers on MQTT as the shared transport. Sensor publishers, simulated devices, and collectors feed the broker, then Telegraf, InfluxDB, dashboards, and browser sockets fan the data out.

Architecture diagram
Original architecture asset shipped with the project slides.

Core flow

  • Sensors and generators publish room measurements to MQTT.
  • Telegraf subscribes and writes those streams into InfluxDB.
  • Grafana and dashboard clients render the historic and live view.
  • The WebSocket bridge keeps room subscriptions cheap for browsers.

Astro

Docker Compose

Mosquitto

Telegraf

InfluxDB 2.7

Grafana

Quarkus 3

Three.js

Vite

Node.js