PiFace Digital I/O Binary Sensor

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

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

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

Configuration variables:

  • ports array (Required): Array of used ports.
    • num (Required): Port number.
      • name (Required): Port name.
      • settle_time (Optional): The time in milliseconds for port debouncing. Default is 2 0ms.
      • invert_logic (Optional): If true, inverts the output logic to ACTIVE LOW. Default is false (ACTIVE HIGH).