BeagleBone Black GPIO


The bbb_gpio integration is the base for all BeagleBone Black related GPIO platforms in Home Assistant. There is no setup needed for the integration itself.

Binary Sensor

The bbb_gpio binary sensor platform allows you to read sensor values of the GPIOs of your BeagleBone Black.

Configuration

To use your BeagleBone Black’s GPIO in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
binary_sensor:
  - platform: bbb_gpio
    pins:
      P8_12:
        name: Door
      GPIO0_26:
        name: Window

Configuration Variables

pins mapRequired

List of used pins.

pin_name mapRequired

Port numbers and corresponding names.

name stringRequired

Friendly name to use for the frontend.

bouncetime integer(Optional, default: 50)

Debounce time for reading input pin defined in milliseconds [ms].

invert_logic boolean(Optional, default: false)

If true, inverts the input logic to ACTIVE LOW

pull_mode string(Optional, default: UP)

Type of internal pull resistor connected to input. Options are UP - pull-up resistor and DOWN - pull-down resistor.

For more details about the GPIO layout, visit the article about the BeagleBone Black.

Switch

The bbb_gpio switch platform allows you to control the GPIOs of your BeagleBone Black.

Configuration

To use your BeagleBone Black’s GPIO in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
switch:
  - platform: bbb_gpio
    pins:
      GPIO0_7:
        name: LED Red
      P9_12:
        name: LED Green

Configuration Variables

pins mapRequired

List of used pins.

pin_name mapRequired

Port numbers and corresponding names.

name string(Optional)

Friendly name to use for the frontend.

initial boolean(Optional, default: false)

Initial state of the pin.

invert_logic boolean(Optional, default: false)

If true, inverts the input logic to ACTIVE LOW

For more details about the GPIO layout, visit the article about the BeagleBone Black.