home-assistant.io/source/_components/sensor.ihc.markdown
Morten Lüneborg d3e59653e6 Fix IHC config schema (#7913)
* Update binary_sensor.ihc.markdown

* Update light.ihc.markdown

* Update sensor.ihc.markdown

* Update switch.ihc.markdown
2018-12-20 15:06:36 +01:00

75 lines
1.9 KiB
Markdown

---
layout: page
title: "IHC Sensor"
description: "Instructions on how to integrate IHC Sensors within Home Assistant."
date: 2017-11-27 13:35
sidebar: true
comments: false
sharing: true
footer: true
logo: ihc.png
ha_category: Sensor
ha_release: 0.62
ha_iot_class: "Local Push"
---
Before you can use the IHC Sensor platform, you must setup the
[IHC Component](/components/ihc/)
When auto setup is enabled the following products will be found in the IHC
project and setup as sensors:
- Dataline temperature sensor - Will insert 2 temperature sensors
- Dataline Humidity - Will insert 1 humidity and 2 temperature sensors (calculated dewpoint)
- Dataline Lux - will insert 1 light and 1 temperature sensor
To manually configure IHC sensors insert the "sensor"
section in your IHC configuration:
```yaml
ihc:
- url: 'http://192.168.1.3'
username: YOUR_USERNAME2
password: YOUR_PASSWORD2
info: true
sensor:
- id: 12345
name: Temperatur_living_room
unit_of_measurement: '°C'
note: Floor and wall temp.
position: On wall between windows
- id: 23456
...
```
{% configuration %}
sensor:
description: List of sensors to setup manually.
required: false
type: map
keys:
id:
description: The IHC resource id.
required: true
type: integer
name:
description: The name of the sensor.
required: false
type: string
unit_of_measurement:
description: Defines the unit of measurement of the sensor, if any.
required: false
type: string
note:
description: Descriptive note.
required: false
type: string
position:
description: Where it is placed.
required: false
type: string
{% endconfiguration %}
The resource id should be a IHC float resource. For more information about IHC
resource ids see [Manual Setup](/components/ihc/#manual-setup).