mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update remote_rpi_gpio.markdown
This commit is contained in:
parent
0f37cbda36
commit
28aa919d0b
@ -30,21 +30,16 @@ To use your Remote Raspberry Pi's GPIO in your installation, add the following t
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: remote_rpi_gpio
|
- platform: remote_rpi_gpio
|
||||||
|
address: <address of remote pi>
|
||||||
ports:
|
ports:
|
||||||
11: PIR Office
|
11: PIR Office
|
||||||
12: PIR Bedroom
|
12: PIR Bedroom
|
||||||
```
|
|
||||||
|
|
||||||
or
|
switch:
|
||||||
|
- platform: remote_rpi_gpio
|
||||||
```yaml
|
address: <address of remote pi>
|
||||||
# Example configuration.yaml entry
|
ports:
|
||||||
remote_rpi_gpio:
|
4: Garage Relay
|
||||||
host: 10.0.1.9
|
|
||||||
binary_sensors:
|
|
||||||
6: Pin6
|
|
||||||
switches:
|
|
||||||
4: Pin4
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user