IHC Binary Sensor


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

When auto setup is enabled the following products will be found in the IHC project and setup as binary sensors:

  • 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

Manual configuration

To manually configure IHC Binary Sensors insert the “binary_sensor” section in your IHC configuration:

# Example configuration.yaml entry
ihc:
  - url: 'http://192.168.1.3'
    username: YOUR_USERNAME
    password: YOUR_PASSWORD
    info: true
    binary_sensor:
      - id: 12345
        name: switch_front_door
        inverting: false
        note: Magnet contact
        position: Switch in door
        type: door

Configuration Variables

binary_sensor

(map)(Optional)List of binary sensors to setup manually.

id

(integer)(Required)The IHC resource id.

inverting

(boolean)(Optional)If True the sensor will be inverted.

Default value: false

name

(string)(Optional)The name of the sensor.

type

(string)(Optional)The binary sensor type. See Home Assistant binary sensor for available types.

note

(string)(Optional)Descriptive note

position

(string)(Optional)Where is it placed

The resource id should be an id of a boolean IHC resource. For more information about IHC resource ids see Manual Setup.