wrolpi/controller
Roland ead47e916b
Fix SMART temperature always reporting null.
Real drives report attribute 194 raw values like "52 (Min/Max 16/57)"
which int() cannot parse, so every drive's temperature was null.
Prefer pySMART's `temperature` property, which parses these formats
and also works for NVMe devices that have no ATA attribute table.

Verified on real hardware (WD100EMAZ over USB-SAT): 51-53C now
reported where null was returned before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 19:46:31 -06:00
..
api Controller can unmount foreign mounts; protect the primary drive. 2026-06-11 19:46:30 -06:00
lib Fix SMART temperature always reporting null. 2026-06-11 19:46:31 -06:00
templates Controller can unmount foreign mounts; protect the primary drive. 2026-06-11 19:46:30 -06:00
test Fix SMART temperature always reporting null. 2026-06-11 19:46:31 -06:00
__init__.py Creating Controller service which will control WROLPi services, admin, SMART, disks, and status. nginx will fallback to Controller UI when React UI is unavailable (such as during upgrades). 2025-12-15 15:48:40 -07:00
conftest.py Consolidating controller tests. Fixing controller test cleanup which slowed down tests significantly. 2026-05-15 21:10:30 -06:00
defaults.py Removing Controller link in favor of the button in services. 2026-04-09 15:03:28 -06:00
main.py Fetching processes from PROCFS_PATH in docker container. 2026-05-30 15:59:14 -06:00
requirements.txt Bump the controller-dependencies group in /controller with 12 updates 2026-05-03 11:56:30 -06:00
serve.py Migrating Controller from port 8087 to 80 so that it is more discoverable. Reformatting Controller dashboard to make header at the top. Reformatting navigation bar to handle the new links which prevented Admin from being visible in some screens. 2026-04-09 15:01:05 -06:00