mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Update remote_rpi_gpio.markdown (#10274)
* Update remote_rpi_gpio.markdown * ✏️ Tweak * Update remote_rpi_gpio.markdown * Update remote_rpi_gpio.markdown * ✏️ Tweaks
This commit is contained in:
parent
3e780634c0
commit
8dc4c70967
@ -10,7 +10,13 @@ ha_release: 0.94
|
||||
ha_iot_class: Local Push
|
||||
---
|
||||
|
||||
The `rpi_gpio` integration is the base for all related GPIO platforms in Home Assistant. There is no setup needed for the integration itself, for the platforms please check their corresponding sections.
|
||||
The `rpi_gpio` integration is the base for all related GPIO platforms in Home Assistant. For the platform configurations, please check their corresponding sections.
|
||||
|
||||
The remote RPi and the control computer where Home Assistant is running must be prepared to run remote_rpi_gpio, see details [here](https://gpiozero.readthedocs.io/en/stable/remote_gpio.html).
|
||||
|
||||
Note that for virtual environments you may need to set an environment variable when starting the environment to set the pin factory, example:
|
||||
|
||||
`Environment = GPIOZERO_PIN_FACTORY=pigpio PIGPIO_ADDR=YOUR_RPi_IP_ADDRESS`
|
||||
|
||||
## Binary Sensor
|
||||
|
||||
@ -113,3 +119,7 @@ switch:
|
||||
ports:
|
||||
17: Speaker Relay
|
||||
```
|
||||
|
||||
### Troubleshooting
|
||||
|
||||
If you receive an error such as `gpiozero.exc.BadPinFactory: Unable to load any default pin factory!` try changing the pinfactory from `pigpio` to `mock`, this adresses a [known issue](https://www.raspberrypi.org/forums/viewtopic.php?p=1417922).
|
||||
|
Loading…
x
Reference in New Issue
Block a user