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 is installed on the system (host) you want to monitor.
  • Libre Hardware Monitor must be running during setup.
  • In Libre Hardware Monitor, make sure Remote web server is active.
  • 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)

  1. In Windows, navigate to Control Panel > System and Security > Windows Defender Firewall.
  2. Select Advanced settings and highlight Inbound Rules in the left pane.
  3. Right-click Inbound Rules and select New Rule.
  4. Add the port you need to open and select Next.
  5. Add the protocol (TCP) and the port number (8085 by default) into the next window and select Next.
  6. In the next window, select Allow the connection, then select Next.
  7. Select the network type as you see fit and select Next.
  8. Name the rule and select Finish.

Configuration

To add the Libre Hardware Monitor integration 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.

  • Go to Settings > Devices & Services.

  • 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.

host

IP address or hostname of the system where Libre Hardware Monitor is running. This is the system you want to monitor.

port

The port of your Libre Hardware Monitor API. Defaults to 8085.

Configuration options

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.

Known limitations

Currently, setting up authentication for the Libre Hardware Monitor remote web server is not supported.

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.

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

  1. Go to Settings > Devices & services and select the integration card.
  2. From the list of devices, select the integration instance you want to remove.
  3. Next to the entry, select the three dots menu. Then, select Delete.