mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update garage_door.rpi_gpio.markdown (#645)
This commit is contained in:
parent
48d4d64fad
commit
6856d45cfd
@ -7,13 +7,22 @@ sidebar: true
|
|||||||
comments: false
|
comments: false
|
||||||
sharing: true
|
sharing: true
|
||||||
footer: true
|
footer: true
|
||||||
logo: wink.png
|
logo: raspberry-pi.png
|
||||||
ha_category: Garage Door
|
ha_category: Garage Door
|
||||||
ha_release: 0.23
|
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
|
```yaml
|
||||||
# Example configuration.yaml entry
|
|
||||||
garage_door:
|
garage_door:
|
||||||
platform: rpi_gpio
|
platform: rpi_gpio
|
||||||
doors:
|
doors:
|
||||||
@ -23,4 +32,6 @@ garage_door:
|
|||||||
- relay_pin: 12
|
- relay_pin: 12
|
||||||
state_pin: 13
|
state_pin: 13
|
||||||
name: 'Right door'
|
name: 'Right door'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user