Skip to content

Binary sensor

Jens Østergaard Nielsen edited this page Jan 13, 2018 · 8 revisions

Before you can use the IHC Binary Sensor platform, you must setup the IHC Component

To configure IHC Binary Sensors insert this section in your configuration:

# Example configuration.yaml entry
binary_sensor:
  - platform: ihc

When autosetup is enabled the following products will be found in the ihc project:

  • Dataline magnet contacts
  • Dataline Pir sensors
  • Dataline Pir sensors with twilight detection
  • Dataline Pir alarm sensor
  • Dataline smoke detector
  • Dataline gas detector
  • Dataline light sensor

If you want to add something manually do it like this:

binary_sensor:
  - platform: ihc
    binary_sensors:
      - id: 12345: 
        name: mysensor
        type: opening
        inverting: True
      - id: 12346
           ...

Configuration variables:

  • binary_sensors (Optional): List of binary sensors to setup manually.
  • id (Required): The IHC resource id.
  • inverting (Optional): If True the sensor will be inverted. Default False.
  • name (Optional): The name of the component.
  • type (Optional): The binary sensor type. See Home Assistant binary sensor for available types.

The resource id should be an id of a boolean resource.

The different kind of sensor types can be found here at the HA site:

Home Assistant binary sensor

Clone this wiki locally