Update rpi_pfio.markdown (#5969)

* Update rpi_pfio.markdown

HassOS bug work-around.

* Minor changes
This commit is contained in:
Ken Davidson 2018-08-07 03:05:36 -04:00 committed by Fabian Affolter
parent 85536f0485
commit 3ee0cdcdef

View File

@ -16,3 +16,7 @@ ha_iot_class: "Local Push"
The `rpi_pfio` component is the base for all related [PiFace Digital I/O (PFIO)](http://www.piface.org.uk/) platforms in Home Assistant. There is no setup needed for the component itself; for the platforms, please check their corresponding pages.
Set the jumpers on the PiFace board for address 0 (JP1: 1-2, JP2: 1-2).
## {% linkable_title Use with HassOS %}
Note that the PiFace Digital 2 uses the Raspberry Pi SPI port, which is disabled by default when using [HassOS](https://github.com/home-assistant/hassos). When using HassOS, you must mount the SD card on another computer and access the boot partition on the card. Edit the `config.txt` file and add the line `dtparam=spi=on` to the end. This should enable SPI when HassOS is booted and allow Home Assistant to access the PiFace Digital 2 board.