home-assistant.io/source/_components/binary_sensor.ihc.markdown
mopolus dae35007b3 Ihc with two controllers (#7302)
* Update for secondary controller support

* Update binary_sensor.ihc.markdown

* Update binary_sensor.ihc.markdown

* Update light.ihc.markdown

* Update sensor.ihc.markdown

* Update switch.ihc.markdown

* Update ihc.markdown

* Update switch.ihc.markdown

* Update ihc.markdown

* Update ihc.markdown

* Minor changes

* Minor changes

* Minor changes

* Fix configuration sample

* Remove periods

* Update ihc.markdown

* Update binary_sensor.ihc.markdown

* Update light.ihc.markdown

* Update binary_sensor.ihc.markdown

* Update sensor.ihc.markdown

* Update switch.ihc.markdown

* Update sensor.ihc.markdown

* Update sensor.ihc.markdown

* Update light.ihc.markdown

* Update light.ihc.markdown

* Update binary_sensor.ihc.markdown

* Update ihc.markdown

* Update binary_sensor.ihc.markdown

* Update switch.ihc.markdown

* Update binary_sensor.ihc.markdown

* Update light.ihc.markdown

* Update sensor.ihc.markdown

* Update switch.ihc.markdown

* ✏️ Tweak

* ✏️ Tweak

* ✏️ Tweak

* ✏️ Tweak
2018-12-05 09:03:06 +01:00

2.2 KiB

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page IHC Binary Sensor Instructions on how to integrate IHC Binary Sensors within Home Assistant. 2017-11-27 13:35 true false true true ihc.png Binary Sensor 0.62 Local Push

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

{% linkable_title Manual configuration %}

To manually configure IHC Binary Sensors insert the "binary_sensors" 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_sensors:
      - id: 12345
        name: switch_front_door
        inverting: false
        note: Magnet contact
        position: Switch in door
        type: door

{% configuration %} binary_sensors: description: List of binary sensors to setup manually. required: false type: map keys: id: description: The IHC resource id. required: true type: integer inverting: description: If True the sensor will be inverted. required: false type: boolean default: false name: description: The name of the sensor. required: false type: string type: description: > The binary sensor type. See Home Assistant binary sensor for available types. required: false type: string note: description: Descriptive note required: false type: string position: description: Where is it placed required: false type: string {% endconfiguration %}

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