mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
add rpi_gpio page
This commit is contained in:
parent
5c740b8ea2
commit
0e050f4bfb
26
source/components/switch.rpi_gpio.markdown
Normal file
26
source/components/switch.rpi_gpio.markdown
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
layout: page
|
||||
title: "Raspberry PI GPIO support"
|
||||
description: "Instructions how to integrate the GPIO of a Raspberry PI into Home Assistant."
|
||||
date: 2015-08-07 14:00
|
||||
sidebar: false
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
---
|
||||
|
||||
<img src='/images/supported_brands/rapberry-pi.png' class='brand pull-right' />
|
||||
The rpi_gpio switch platform allows you to control the GPIOs of your [Raspberry Pi](https://www.raspberrypi.org/).
|
||||
|
||||
To use your Raspberry Pi's GPIO in your installation, add the following to your `configuration.yaml` file:
|
||||
|
||||
```
|
||||
# Example configuration.yaml entry
|
||||
switch:
|
||||
platform: rpi_gpio
|
||||
ports:
|
||||
11: Fan Office
|
||||
12: Light Desk
|
||||
```
|
||||
|
||||
For more details about the GPIO layout, visit the Wikipedia [article](https://en.wikipedia.org/wiki/Raspberry_Pi#GPIO_connector) about the Raspberry Pi.
|
Loading…
x
Reference in New Issue
Block a user