Projects / 02 / Smart Basement
Smart Basement.
Sensors and relays wired through the workshop — air, doors, lights, and a Pi Zero gateway feeding everything to the dashboard upstairs.
Overview
The basement, on a dashboard.
Three ATmega328P nodes sit around the basement reading air. A Raspberry Pi Zero gathers their serial streams, time-stamps them, and ships them up to the Grafana instance running on SklepCentrum.
The same wiring loom carries the relays for the basement light and the door system, so the whole basement is exposed to one dashboard and one controller — open the door from upstairs, watch CO₂ drop in real time.
Nothing here is exposed to the open internet. Everything talks over the workshop LAN, with the dashboard and historical data living next door.
Photo essay
Where it sits.



Specifications
What's in the basement.
| Sensor nodes | 3 × ATmega328P · 9600 baud serial |
|---|---|
| Gateway | Raspberry Pi Zero W · Mosquitto + Telegraf |
| Sensors | SCD41 (CO₂) · BME280 (T/RH/P) · PIR · door reed |
| Relays | 2 × 230 V · light + door · opto-isolated |
| Dashboard | Grafana · 30-day retention · LAN only |
| Status | running |