From 51260d8568d44f508670b8a59878c4d58553349a Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 6 Jun 2019 18:01:27 +0200 Subject: [PATCH] Minor changes (remove dupl. content, periods, etc.) --- source/_components/remote_rpi_gpio.markdown | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/source/_components/remote_rpi_gpio.markdown b/source/_components/remote_rpi_gpio.markdown index a4ee49f14b8..8ae40a89946 100644 --- a/source/_components/remote_rpi_gpio.markdown +++ b/source/_components/remote_rpi_gpio.markdown @@ -16,7 +16,7 @@ ha_release: 0.94 ha_iot_class: Local Push --- -The `rpi_gpio` component is the base for all related GPIO platforms in Home Assistant. There is no setup needed for the component itself, for the platforms please check their corresponding pages. +The `rpi_gpio` component is the base for all related GPIO platforms in Home Assistant. There is no setup needed for the component itself, for the platforms please check their corresponding sections. ## {% linkable_title Binary Sensor %} @@ -28,21 +28,15 @@ To use your Remote Raspberry Pi's GPIO in your installation, add the following t # Example configuration.yaml entry binary_sensor: - platform: remote_rpi_gpio - host:
+ host: IP_ADDRESS_OF_REMOTE_PI ports: 11: PIR Office 12: PIR Bedroom - -switch: - - platform: remote_rpi_gpio - host:
- ports: - 4: Garage Relay ``` {% configuration %} host: - description: IP Address of remote Raspberry Pi + description: IP Address of remote Raspberry Pi. required: true type: string ports: @@ -81,7 +75,7 @@ To use your Remote Raspberry Pi's GPIO in your installation, add the following t # Example configuration.yaml entry switch: - platform: remote_rpi_gpio - host: 192.168.0.123 + host: IP_ADDRESS_OF_REMOTE_PI ports: 11: Fan Office 12: Light Desk @@ -89,7 +83,7 @@ switch: {% configuration %} host: - description: IP Address of remote Raspberry Pi + description: IP Address of remote Raspberry Pi. required: true type: string ports: @@ -114,7 +108,7 @@ For more details about the GPIO layout, visit the Wikipedia [article](https://en Note that a pin managed by HASS is expected to be exclusive to HASS.

-A common question is what does Port refer to, this number is the actual GPIO #, not the pin #. +A common question is what does port refer to, this number is the actual GPIO #, not the pin #. For example, if you have a relay connected to pin 11 its GPIO # is 17. ```yaml