mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-07 03:28:58 +00:00
1.5 KiB
1.5 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release, ha_iot_class
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | BeagleBone Black GPIO Binary Sensor | Instructions on how to integrate the GPIO sensor capability of a BeagleBone Black into Home Assistant. | 2017-01-14 10:00 | true | false | true | true | beaglebone-black.png | DIY | 0.37 | Local Push |
The bbb_gpio
binary sensor platform allows you to read sensor values of the GPIOs of your BeagleBone Black.
{% linkable_title 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 array (Required): Array of used pins.
- pin_name (Required): Pin numbers and corresponding names.
- name (Required): Friendly name to use for the frontend.
- bouncetime (Optional): Debounce time for reading input pin defined in milliseconds [ms]. Defaults to
50 ms
. - invert_logic (Optional): If
true
, inverts the input logic to ACTIVE LOW. Default isfalse
(ACTIVE HIGH). - pull_mode (Optional): Type of internal pull resistor connected to input. Options are
UP
- pull-up resistor andDOWN
- pull-down resistor. Defaults toUP
.
- pin_name (Required): Pin numbers and corresponding names.
For more details about the GPIO layout, visit the article about the BeagleBone Black.