What it is
A university team project. A Raspberry Pi Pico W inside the bin measures how full it is with an ultrasonic sensor and how bad it smells with an air-quality sensor. Firmware written in Zig posts the readings over Wi-Fi to a small hub, which syncs them to a tRPC API. The API stores them as time series in TimescaleDB, and a web app shows charts for each bin.
How it works
The hub keeps readings on disk, so nothing is lost across a restart or a dropped connection. tRPC shares types between the API and the web app, so the frontend cannot call an endpoint or read a field that does not exist. When a bin passes its fullness threshold, an alert goes out through a Telegram bot.