← Back to work

nas-monitoring

code

Turns an AMD-based Synology NAS into a small temperature JSON API — CPU, system board and every disk, cross-checked against DSM — for an ESP32 / M5Dial desk display.

nas-monitoring

Getting temperatures off an AMD-based Synology NAS is a maze of half-working paths. Glances in Docker reads the CPU but can't see the board temperature, the bundled smartctl is too old for JSON output and needs the -d sat trick, and AMD CPUs report as Tctl / k10temp rather than the labels most tutorials copy.

nas-monitoring picks the right source for each value, merges them into one tidy JSON endpoint and cross-checks every reading — built for an ESP32 / M5Dial desk display, and readable by anything that speaks HTTP.

What you get

The endpoints are unauthenticated and LAN-only by design, so they should stay inside your network. The same one-JSON contract is meant to grow into a physical desk dial for the whole NAS. MIT-licensed.