Projects
1000 · Security · IoT
IoT Sensor Panel
A panel that collects sensor data over MQTT and shows it live in Grafana. When a threshold is crossed or a device goes quiet, an alert goes to Telegram.
Problem
I wanted to build the whole chain, from a sensor to a panel and an alert on my phone. I also wanted to see for myself what plain MQTT exposes on the network.
What I did
- Wrote a sensor simulator that mimics daily changes and faults, and the microcontroller firmware that sends the same data.
- Wrote a Python service that validates incoming data, writes it to InfluxDB and raises alerts based on rules.
- Set up the same system to run both unencrypted and with TLS, passwords and per-device permissions.
Flow
- Sensor · simulator
- MQTT
- Ingest service
- InfluxDB
- Grafana
Result
It starts with one command and the simulated devices show up on the panel within seconds. Tests check on their own that the password and data are readable on the wire in plain mode and not with TLS.