Update garage_door.rpi_gpio.markdown (#645)

This commit is contained in:
Johann Kellerman 2016-07-17 17:58:45 +02:00 committed by Fabian Affolter
parent 48d4d64fad
commit 6856d45cfd

View File

@ -7,13 +7,22 @@ sidebar: true
comments: false
sharing: true
footer: true
logo: wink.png
logo: raspberry-pi.png
ha_category: Garage Door
ha_release: 0.23
---
This platform allows you to use a Raspberry PI to control your Garage door.
It uses two pins on the Raspberry Pi.
- The `state_pin` will detect if the door is closed, and
- the `relay_pin` will trigger the door to open or close.
Although you do not need AndrewsHilliday's software controller when you run Home Assistant, he has written clear instructions on how to hook your garage door & sensors up to your Raspberry Pi, which can be found [here](https://github.com/andrewshilliday/garage-door-controller#hardware-setup).
Example configuration entry:
```yaml
# Example configuration.yaml entry
garage_door:
platform: rpi_gpio
doors:
@ -24,3 +33,5 @@ garage_door:
state_pin: 13
name: 'Right door'
```