1.5 KiB
1.5 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release |
---|---|---|---|---|---|---|---|---|---|---|
page | Raspberry Pi Garage door | Instructions how to setup the Raspberry Pi garage doors within Home Assistant. | 2016-02-12 07:00 | true | false | true | true | raspberry-pi.png | Garage Door | 0.23 |
The rpi_gpio
garage door 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 Andrews Hilliday'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.
To enable Raspberry Pi Garage doors in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
garage_door:
platform: rpi_gpio
doors:
- relay_pin: 10
state_pin: 11
name: 'Left door'
- relay_pin: 12
state_pin: 13
name: 'Right door'
Configuration variables:
- doors array (Required): List of your doors.
- name (Optional): Name to use in the Frontend.
- relay_pin (Required): The pin of your Raspberry Pi where the relay is connected.
- state_pin (Required): The pin of your Raspberry Pi to retrieve the state.