home-assistant.io/source/components/switch.rpi_gpio.markdown
2015-08-09 23:50:42 -07:00

809 B

layout, title, description, date, sidebar, comments, sharing, footer
layout title description date sidebar comments sharing footer
page Raspberry PI GPIO support Instructions how to integrate the GPIO of a Raspberry PI into Home Assistant. 2015-08-07 14:00 false false true 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 about the Raspberry Pi.