Remote rpi gpio: address -> host (#9575)

This commit is contained in:
Bram Kragten 2019-06-06 17:58:31 +02:00 committed by Fabian Affolter
parent d39783c360
commit ae4b174aeb

View File

@ -28,20 +28,20 @@ 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> host: <address of remote pi>
ports: ports:
11: PIR Office 11: PIR Office
12: PIR Bedroom 12: PIR Bedroom
switch: switch:
- platform: remote_rpi_gpio - platform: remote_rpi_gpio
address: <address of remote pi> host: <address of remote pi>
ports: ports:
4: Garage Relay 4: Garage Relay
``` ```
{% configuration %} {% configuration %}
address: host:
description: IP Address of remote Raspberry Pi description: IP Address of remote Raspberry Pi
required: true required: true
type: string type: string
@ -81,14 +81,14 @@ To use your Remote Raspberry Pi's GPIO in your installation, add the following t
# Example configuration.yaml entry # Example configuration.yaml entry
switch: switch:
- platform: remote_rpi_gpio - platform: remote_rpi_gpio
address: 192.168.0.123 host: 192.168.0.123
ports: ports:
11: Fan Office 11: Fan Office
12: Light Desk 12: Light Desk
``` ```
{% configuration %} {% configuration %}
address: host:
description: IP Address of remote Raspberry Pi description: IP Address of remote Raspberry Pi
required: true required: true
type: string type: string
@ -121,7 +121,7 @@ For example, if you have a relay connected to pin 11 its GPIO # is 17.
# Example configuration.yaml entry # Example configuration.yaml entry
switch: switch:
- platform: remote_rpi_gpio - platform: remote_rpi_gpio
address: 192.168.0.123 host: 192.168.0.123
ports: ports:
17: Speaker Relay 17: Speaker Relay
``` ```