home-assistant.io/source/_components/sensor.hddtemp.markdown
cgtobi b43fe99178
Add support for multiple disks. (#3678)
* Add support for multiple disks.

* Make disks optional.
2017-10-31 20:19:53 +01:00

40 lines
1.1 KiB
Markdown

---
layout: page
title: "HDDTemp"
description: "Instructions how to integrate hard drive temperature information into Home Assistant."
date: 2016-10-28 07:00
sidebar: true
comments: false
sharing: true
footer: true
ha_category: System Monitor
ha_release: 0.32
ha_iot_class: "Local Polling"
---
The `hddtemp` sensor platform is using the data provided by [HDDTemp](http://savannah.nongnu.org/projects/hddtemp).
It required that `hddtemp` is started or running in daemon mode on a local or remote system.
```bash
$ hddtemp -dF
```
To setup a HDDTemp to your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
sensor:
- platform: hddtemp
disks:
- /dev/sda1
```
Configuration variables:
- **name** (*Optional*): Friendly name to use for the frontend. Default to "HD Temperature".
- **host** (*Optional*): Host where `hddtemp` is running. Default to `localhost`.
- **port** (*Optional*): Port that is used by `hddtemp` . Default to `7634`.
- **disks** (*Optional*): Disk to be monitored. Example: `/dev/sda1`