You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Instructions how to integrate the GPIO sensor capability of a BeagleBone Black into Home Assistant."
5
+
date: 2017-01-14 10:00
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
logo: beaglebone-black.png
11
+
ha_category: Binary Sensor
12
+
ha_release: 0.37
13
+
---
14
+
15
+
The `bbb_gpio` binary sensor platform allows you to read sensor values of the GPIOs of your [BeagleBone Black](https://beagleboard.org/black).
16
+
17
+
To use your BeagleBone Black's GPIO in your installation, add the following to your `configuration.yaml` file:
18
+
19
+
```yaml
20
+
# Example configuration.yaml entry
21
+
binary_sensor:
22
+
- platform: bbb_gpio
23
+
pins:
24
+
P8_12:
25
+
name: Door
26
+
GPIO0_26:
27
+
name: Window
28
+
bouncetime: 100
29
+
invert_logic: true
30
+
pull_mode: UP
31
+
```
32
+
33
+
Configuration variables:
34
+
35
+
- **pins** array (*Required*): Array of used pins.
36
+
- **pin_name** (*Required*): Pin numbers and corresponding names.
37
+
- **name** (*Required*): Friendly name to use for the frontend.
38
+
- **bouncetime** (*Optional*): Debounce time for reading input pin defined in miliseconds [ms]. Defaults to `50 ms`.
39
+
- **invert_logic** (*Optional*): If true, inverts the input logic to ACTIVE LOW. Default is `false` (ACTIVE HIGH).
40
+
- **pull_mode** (*Optional*): Type of internal pull resistor connected to input. Options are 'UP' - pull-up resistor and 'DOWN' - pull-down resistor. Defaults to `UP`.
41
+
42
+
For more details about the GPIO layout, visit the [article](http://elinux.org/Beagleboard:BeagleBoneBlack) about the BeagleBone Black.
0 commit comments