Enable hardware-accurate CPU power readings on Windows using LibreHardwareMonitor for CSRD-compliant certificates.
The Serial Alice agent selects the best available method automatically, in priority order:
| # | Method | Accuracy | Requirement |
|---|---|---|---|
| 1 | LibreHardwareMonitor Recommended | Hardware-accurate | LHM running with web server |
| 2 | psutil TDP estimation Default | ±20–40% | psutil installed (automatic) |
| 3 | GPU fraction fallback | ±30–50% | GPU energy available |
For CSRD-compliant submissions, hardware-accurate readings from LHM are strongly recommended. Without LHM, the certificate will show "method": "psutil_tdp" instead of "method": "lhm".
C:\LHM\.LibreHardwareMonitor.exe and select Run as administrator. Hardware power sensors require elevated permissions to read CPU registers.8085 (default). The Serial Alice agent connects to http://localhost:8085/data.json automatically.After issuing a certificate, check the measurement_window block. You should see "method": "lhm" to confirm hardware-accurate measurement is active.
SA_LHM_PORT=<port> before starting the Serial Alice agent.LibreHardwareMonitor.exe with highest privileges at system startup. This ensures LHM is always ready when the agent starts.