From 0e050f4bfb9b45b98eb82418aeddef603dffb554 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 7 Aug 2015 14:08:36 +0200 Subject: [PATCH] add rpi_gpio page --- source/components/switch.rpi_gpio.markdown | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 source/components/switch.rpi_gpio.markdown diff --git a/source/components/switch.rpi_gpio.markdown b/source/components/switch.rpi_gpio.markdown new file mode 100644 index 00000000000..459ffb74d24 --- /dev/null +++ b/source/components/switch.rpi_gpio.markdown @@ -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 +--- + + +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.