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.

Operating LAN-only Grafana
Nodes
3 ATmega328P
Gateway
Pi Zero W
Dashboard
Grafana
Status
running
Smart Basement sensor enclosure
SMART BASEMENT · sensor head · APR 2026
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.

Sensor head, mounted to the joist.
ATmega328P node. One per cluster.
Pi Zero gateway, wired into the rack.
Specifications

What's in the basement.

Sensor nodes3 × ATmega328P · 9600 baud serial
GatewayRaspberry Pi Zero W · Mosquitto + Telegraf
SensorsSCD41 (CO₂) · BME280 (T/RH/P) · PIR · door reed
Relays2 × 230 V · light + door · opto-isolated
DashboardGrafana · 30-day retention · LAN only
Statusrunning
Next project · 03 / 07 Enxt