Hardware Monitor
Current Version
Overview
Hardware Monitor is an NVDA global plugin that reads hardware information collected through Libre Hardware Monitor.
This add-on is not a pure Python monitor. It starts LHM_LocalBridge.exe, which calls LibreHardwareMonitorLib.dll, and then reads the sensor payload through a local named pipe.
Keyboard Commands
NVDA+Shift+9: Report CPU temperature. When GPU temperature is available, it is appended.
NVDA+Shift+0: Report all detected fan speeds. Fans at 0 RPM are ignored.
NVDA+Shift+-: Report GPU usage. When VRAM usage is available, it is appended.
Requirements
- Windows
- NVDA 2024.1 or later
- PawnIO for full low-level sensor access
How It Works
- The add-on disables Libre Hardware Monitor's legacy web server settings inside
LibreHardwareMonitor.config.
- The add-on starts
LHM_LocalBridge.exe locally instead of exposing data.json over the network.
- Sensor data is read through a named pipe.
- If PawnIO is missing or unusable, the add-on prompts to install or repair it.
- Silent installation is attempted with
winget only when that path is available and can be validated.
- Otherwise,
LibreHardwareMonitor.exe is opened to guide the installation or repair.
PawnIO Preference And Removal
- After PawnIO is detected successfully, the add-on asks whether PawnIO should also be removed when the add-on is uninstalled.
- That preference is stored in NVDA configuration.
- During add-on removal,
installTasks.py only stages and launches PawnIOUninstallHelper.exe.
- The helper waits until the add-on directory is gone, tries to remove PawnIO, and then deletes its own temporary copy.
- After uninstalling the add-on, wait five minutes and then restart the computer to help ensure PawnIO is fully removed.
Limitations
- Sensor availability depends on hardware, firmware, drivers, virtualization, and Libre Hardware Monitor itself.
- Some systems do not expose CPU temperature, GPU temperature, VRAM usage, or fan RPM sensors.
- If Libre Hardware Monitor does not expose a sensor, the add-on does not invent a value.
- Removing PawnIO may still require elevation or a reboot if Windows keeps a driver file locked.
Troubleshooting
- Open
%APPDATA%\nvda\addons\LHM_Monitor_Addon\globalPlugins\LHM_App\LibreHardwareMonitor.exe.
- In Libre Hardware Monitor, press
Alt, then go to Options -> Remote Web Server -> Run.
- Open
http://127.0.0.1:8100/data.json.
- Save it with PowerShell:
curl.exe http://127.0.0.1:8100/data.json -o "$env:USERPROFILE\Desktop\data.json"
- After the export finishes, close Libre Hardware Monitor.
- Send
data.json, the NVDA version, the add-on version, the account permission state, and whether a UAC prompt appeared to haitun940624zx@gmail.com or QQ 476947039.
Author