BeagleBone Black GPIO 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.