Open Hardware Monitor

The openhardwaremonitor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] uses your Open Hardware Monitor installation as a source for sensors that will display system information.

Setup

OpenHardwareMonitor must be running on the host, with “Remote web server” active. You also need to open inbound port (TCP 8085) on the host..

To open port (on Windows):

  1. Navigate to Control Panel, System and Security and Windows 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 click Next.
  5. Add the protocol (TCP) and the port number (8085) into the next window and click Next.
  6. Select Allow the connection in the next window and hit Next.
  7. Select the network type as you see fit and click Next.
  8. Name the rule and click Finish.

To open port with firewalld (Linux):

sudo firewall-cmd --permanent --add-port=8085/tcp
sudo firewall-cmd --reload

Configuration

To add Open Hardware Monitor to your installation, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file. After changing the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI. [Learn more] file, restart Home Assistant to apply the changes. The integration is now shown on the integrations page under Settings > Devices & services. Its entities are listed on the integration card itself and on the Entities tab.

# Example configuration.yaml entry
sensor:
  - platform: openhardwaremonitor
    host: IP_ADDRESS

Configuration Variables

host string Required

The IP address or hostname of the system where Open Hardware Monitor is running.

port integer (Optional)

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