im using a fresh hass.io installation. And just copied the example configuration from the Pi RF Switch component into my configuration.yaml and adjusted the GPIO pin.
Error while setting up platform rpi_rf
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
return fut.result()
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/rpi_rf.py”, line 50, in setup_platform
import rpi_rf
File “/usr/local/lib/python3.6/site-packages/rpi_rf/init.py”, line 2, in
from .rpi_rf import RFDevice
File “/usr/local/lib/python3.6/site-packages/rpi_rf/rpi_rf.py”, line 9, in
from RPi import GPIO
RuntimeError: This module can only be run on a Raspberry Pi!
Same problem here.
This is my second Hassio, the first worked several months without problems with RF. After I installed more sensors in the GPIO, it locked forever.
Now I’m trying to install rpi_rf and I’m getting this Runtime error too.
Trying to remember the library I used to fix this problem in the first Hassio…