nas-waker
Open sourceA Raspberry Pi NAS that only runs when it's needed: an ESP32 wakes it, Nidoo schedules it, and it serves films and nightly backups.
What it does
- Only on when needed: the Pi stays halted, and the ESP32 wakes it or shuts it down cleanly on demand.
- Four Dupont wires, no other parts: the open-drain outputs only ever pull a Pi pin to ground.
- Films over DLNA for TVs, the Freebox and VLC, from an NTFS USB disk.
- Nightly backups over FTP, and the same folder in the Finder over SMB.
- Part of Nidoo through MQTT discovery: a flow wakes the NAS at 22:45 and shuts it down at 23:15.
- One idempotent script installs and configures the whole Pi.
Under the hood
A Raspberry Pi 4 and its USB disk share films over DLNA and take backups over FTP and SMB, but stay halted the rest of the time. An ESP32 running ESPHome sits on the Pi's GPIO header with four wires: it wakes the Pi from halt and triggers a clean shutdown. It announces itself through the Home Assistant MQTT discovery topic, so its wake and shutdown buttons show up in Nidoo with nothing to configure, and a Nidoo flow opens the backup window every night. On the Pi, one idempotent script installs everything.
A connected device, an Android app, a home-automation server, or a project that mixes all three? Write to me; I reply within 48 hours.
Need something similar?