mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-29 07:47:48 +00:00
1.9 KiB
1.9 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Open Hardware Monitor Sensor | Instructions on how to integrate Open Hardware Monitor within Home Assistant. | 2017-06-16 00:00:00 | true | false | true | true | openhardwaremonitor.png | System Monitor | 0.48 | Local Polling |
The openhardwaremonitor
platform uses your Open Hardware Monitor installation as a source for sensors that will display system information.
{% linkable_title 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):
- Navigate to Control Panel, System and Security and Windows 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 click Next.
- Add the protocol (TCP) and the port number (8085) into the next window and click Next.
- Select Allow the connection in the next window and hit Next.
- Select the network type as you see fit and click Next.
- Name the rule and click Finish.
To open port with firewalld
(Linux):
$ sudo firewall-cmd --permanent --add-port=8085/tcp
$ sudo firewall-cmd --reload
{% linkable_title Configuration %}
To add Open Hardware Monitor to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: openhardwaremonitor
host: IP_ADDRESS
{% configuration %} host: description: The IP address or hostname of the system where Open Hardware Monitor is running. required: true type: string port: description: The port of your Open Hardware Monitor API. Defaults to 8085. required: false type: integer {% endconfiguration %}