BeagleBone Black GPIO


The bbb_gpio component is the base for all BeagleBone Black related GPIO platforms in Home Assistant. There is no setup needed for the component 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

(map)(Required)List of used pins.

pin_name

(map)(Required)Port numbers and corresponding names.

name

(string)(Required)Friendly name to use for the frontend.

bouncetime

(integer)(Optional)Debounce time for reading input pin defined in milliseconds [ms].

Default value: 50

invert_logic

(boolean)(Optional)If true, inverts the input logic to ACTIVE LOW

Default value: false

pull_mode

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

Default value: UP

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

(map)(Required)List of used pins.

pin_name

(map)(Required)Port numbers and corresponding names.

name

(string)(Optional)Friendly name to use for the frontend.

initial

(boolean)(Optional)Initial state of the pin.

Default value: false

invert_logic

(boolean)(Optional)If true, inverts the input logic to ACTIVE LOW

Default value: false

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