-
Notifications
You must be signed in to change notification settings - Fork 1
Sensor
Jens Østergaard Nielsen edited this page Jan 13, 2018
·
4 revisions
Before you can use the IHC Sensor platform, you must setup the IHC Component
To configure IHC sensors insert this section:
sensor:
- platform: ihc
When autosetup is not the following products will be found in the ihc project:
- 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
If you want to add something manually do it like this:
sensor:
- platform: ihc
sensors:
- id: 12345
name: 'mysensor'
type: 'Temperature'
unit_of_measurement: '°C'
- id: 12346
...
Configuration variables:
- id (Required): The IHC resource id.
- name (Optional): The name of the component.
- sensors (Optional): List of sensors to setup manually
- type (Optional): The sensor type
- unit_of_measurement (Optional): Defines the unit of measurement of the sensor, if any.
The resource id should be a float resource.