home-assistant.io/source/_components/binary_sensor.rpi_pfio.markdown
Jorim Tielemans 378552e3ed Update PiFace Digital I/O Binary Sensor configuration (#7001)
* Update PiFace Digital I/O Binary Sensor configuration

* Minor changes
2018-10-22 23:29:04 +02:00

1.5 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page PiFace Digital I/O Binary Sensor Instructions on how to integrate the PiFace Digital I/O module into Home Assistant as a binary sensor. 2016-05-08 15:00 true false true true raspberry-pi.png DIY 0.45 Local Push

The rpi_pfio binary sensor platform allows you to read sensor values of the PiFace Digital I/O .

{% linkable_title Configuration %}

To use your PiFace Digital I/O module in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
binary_sensor:
  - platform: rpi_pfio
    ports:
      0:
        name: PIR Office
        invert_logic: true
      1:
        name: Doorbell
        settle_time: 50

{% configuration %} ports: description: List of used ports. required: true type: map keys: num: description: The port number. required: true type: map keys: name: description: The port name. required: true type: string settle_time: description: The time in milliseconds for port debouncing. required: false type: integer default: 20 invert_logic: description: If true, inverts the output logic to ACTIVE LOW. required: false type: boolean default: "false (ACTIVE HIGH)" {% endconfiguration %}