Libre Hardware Monitor
The Libre Hardware Monitor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] uses your Libre Hardware Monitor installation as a source for sensors to display that system information in Home Assistant.
Libre Hardware Monitor, a fork of Open Hardware Monitor, is free software that can monitor the temperature sensors, fan speeds, voltages, load and clock speeds of your computer.
Prerequisites
- Libre Hardware Monitor version 0.9.5 or later is installed on the system (host) you want to monitor. Earlier versions are not supported. You can download the latest release from the Libre Hardware Monitor releases page.
- Libre Hardware Monitor must be running during setup.
- In Libre Hardware Monitor, make sure Options > Remote web server > Run is active.
- Optionally, set up authentication for the web server. You might have to restart the server for this to take effect.
- Make sure to open the inbound port (8085 by default) on the host system’s firewall.
- In Libre Hardware Monitor, go to File > Hardware and check the devices you want to monitor.
To open a port (on Windows Firewall)
- In Windows, navigate to Control Panel > System and Security > Windows Defender Firewall.
- Select Advanced settings and highlight Inbound Rules in the left pane.
- Right-click Inbound Rules and select New Rule.
- Add the port you need to open and select Next.
- Add the protocol (TCP) and the port number (8085 by default) into the next window and select Next.
- In the next window, select Allow the connection, then select Next.
- Select the network type as you see fit and select Next.
- Name the rule and select Finish.
Configuration
To add the Libre Hardware Monitor device to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Libre Hardware Monitor.
-
Follow the instructions on screen to complete the setup.
Configuration options
The integration provides the following configuration options only if authentication is required:
Supported devices
Any device that is detected by Libre Hardware Monitor is supported. All sensors will be grouped by the device they belong to. If you do not want all sensors for a device, you can disable entities via the UI after setup.
Troubleshooting
Problem with connection during setup
Check if the Libre Hardware Monitor remote web server is running and accessible.
On a device that is not the device running Libre Hardware Monitor (a smartphone is sufficient), open a browser and navigate to http://<IP address>:<Port>.
Make sure you can see and refresh the data there.
Libre Hardware Monitor version is not supported
During integration setup, the form might show this message:
Your version of Libre Hardware Monitor is no longer supported. Please update to version 0.9.5 or later.
Note that Libre Hardware Monitor versions before 0.9.5 do not provide stable sensor data. The integration does not support these versions.
Resolution
- Download version 0.9.5 or later from the Libre Hardware Monitor releases page.
- On the system you want to monitor, close Libre Hardware Monitor.
- Install or extract the new version, then start Libre Hardware Monitor again.
- Check that Options > Remote web server > Run is still active. You might have to enable it again.
- In Home Assistant, set up the integration again. If it was set up before, go to Settings > Devices & services, select Libre Hardware Monitor, and select Reload.
Sensors change to unavailable status
This is expected behavior when the system you are monitoring is not reachable. Usually, because it is turned off.
Sensors will resume their data readings once the system is reachable again.
Note that connection loss to the host will not trigger error logs. If you want to be notified in case the connection is lost,
you can create an automation that triggers if a sensor’s state switches to unavailable.
Integration stops working
Make sure the IP address of the system you are monitoring has not changed. Ideally, set a static IP address for that system in your router.
Removing the integration
This integration follows standard integration removal.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- From the list of devices, select the integration instance you want to remove.
- Next to the entry, select the three dots
menu. Then, select Delete.