mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Minor changes (remove dupl. content, periods, etc.)
This commit is contained in:
parent
ae4b174aeb
commit
51260d8568
@ -16,7 +16,7 @@ ha_release: 0.94
|
|||||||
ha_iot_class: Local Push
|
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 %}
|
## {% 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
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
- platform: remote_rpi_gpio
|
- platform: remote_rpi_gpio
|
||||||
host: <address of remote pi>
|
host: IP_ADDRESS_OF_REMOTE_PI
|
||||||
ports:
|
ports:
|
||||||
11: PIR Office
|
11: PIR Office
|
||||||
12: PIR Bedroom
|
12: PIR Bedroom
|
||||||
|
|
||||||
switch:
|
|
||||||
- platform: remote_rpi_gpio
|
|
||||||
host: <address of remote pi>
|
|
||||||
ports:
|
|
||||||
4: Garage Relay
|
|
||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
host:
|
host:
|
||||||
description: IP Address of remote Raspberry Pi
|
description: IP Address of remote Raspberry Pi.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
ports:
|
ports:
|
||||||
@ -81,7 +75,7 @@ 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
|
||||||
host: 192.168.0.123
|
host: IP_ADDRESS_OF_REMOTE_PI
|
||||||
ports:
|
ports:
|
||||||
11: Fan Office
|
11: Fan Office
|
||||||
12: Light Desk
|
12: Light Desk
|
||||||
@ -89,7 +83,7 @@ switch:
|
|||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
host:
|
host:
|
||||||
description: IP Address of remote Raspberry Pi
|
description: IP Address of remote Raspberry Pi.
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
ports:
|
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.
|
Note that a pin managed by HASS is expected to be exclusive to HASS.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
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.
|
For example, if you have a relay connected to pin 11 its GPIO # is 17.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user