mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 01:07:36 +00:00

* e.g. to e.g., and proper case for Home Assistant * Instructions how to -> Instructions on how to
1.3 KiB
1.3 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | BeagleBone Black GPIO Switch | Instructions on how to integrate the GPIO of a BeagleBone Black into Home Assistant as a switch. | 2017-01-14 10:00 | true | false | true | true | beaglebone-black.png | Switch | 0.36 | Local Push |
The bbb_gpio
switch platform allows you to control the GPIOs of your BeagleBone Black.
To use yourBeagleBone 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 array (Required): Array of used ports.
- pin_name (Required): Port numbers and corresponding names.
- name (Optional): Friendly name to use for the frontend.
- initial (Optional): Initial state of the pin. Defaults to
False
. - invert_logic (Optional): If true, inverts the output logic to ACTIVE LOW. Default is
false
(ACTIVE HIGH).
- pin_name (Required): Port numbers and corresponding names.
For more details about the GPIO layout, visit the article about the BeagleBone Black.