mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 16:56:50 +00:00
Beaglebone Black GPIO docs (#1765)
* Fix typo * Add initial docs for Beaglebone Black * Fix name
This commit is contained in:
parent
85f0b5e1f7
commit
37cbd07f1b
16
source/_components/bbb_gpio.markdown
Normal file
16
source/_components/bbb_gpio.markdown
Normal file
@ -0,0 +1,16 @@
|
||||
---
|
||||
layout: page
|
||||
title: "BeagleBone Black GPIO"
|
||||
description: "Instructions how to integrate the GPIO capability of a BeagleBone Black into Home Assistant."
|
||||
date: 2017-01-14 10:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: beaglebone-black.png
|
||||
ha_category: DIY
|
||||
ha_release: 0.36
|
||||
---
|
||||
|
||||
The `bbb_gpio` component is the base for all [BeagleBone Black][https://beagleboard.org/black] related GPIO platforms in Home Assistant. There is no setup needed for the component itself, for the platforms please check their corresponding pages.
|
||||
|
41
source/_components/switch.bbb_gpio.markdown
Normal file
41
source/_components/switch.bbb_gpio.markdown
Normal file
@ -0,0 +1,41 @@
|
||||
---
|
||||
layout: page
|
||||
title: "BeagleBone Black GPIO Switch"
|
||||
description: "Instructions how to integrate the GPIO of a BeagleBone Black into Home Assistant as a switch."
|
||||
date: 2017-01-14 10:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
logo: beaglebone-black.png
|
||||
ha_category: Switch
|
||||
ha_release: 0.36
|
||||
---
|
||||
|
||||
The `bbb_gpio` switch platform allows you to control the GPIOs of your [BeagleBone Black](https://beagleboard.org/black).
|
||||
|
||||
To use yourBeagleBone Black's GPIO in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
- platform: bbb_gpio
|
||||
pins:
|
||||
GPIO0_7:
|
||||
name: LED Red
|
||||
P9_12:
|
||||
name: LED Green
|
||||
initial: true
|
||||
invert_logic: true
|
||||
```
|
||||
|
||||
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).
|
||||
|
||||
For more details about the GPIO layout, visit the [article](http://elinux.org/Beagleboard:BeagleBoneBlack) about the BeagleBone Black.
|
||||
|
BIN
source/images/supported_brands/beaglebone-black.png
Normal file
BIN
source/images/supported_brands/beaglebone-black.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
Loading…
x
Reference in New Issue
Block a user