2018-07-12 15:30:43 INFO (MainThread) [homeassistant.setup] Setting up rpi_gpio
2018-07-12 15:30:43 ERROR (MainThread) [homeassistant.setup] Error during setup of component rpi_gpio
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/setup.py", line 146, in _async_setup_component
component.setup, hass, processed_config) # type: ignore
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/lib/python3.6/site-packages/homeassistant/components/rpi_gpio.py", line 22, in setup
import RPi.GPIO as GPIO
RuntimeError: This module can only be run on a Raspberry Pi!
2018-07-12 15:30:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:
- [rpi-gpio](https://home-assistant.io/components/rpi_gpio/)
Please check your config., notification_id=invalid_config, service_call_id=547635050816-4>
2018-07-12 15:30:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:
- [rpi-gpio](https://home-assistant.io/components/rpi_gpio/)
Please check your config. @ 2018-07-12T15:30:43.643597-05:00>>
2018-07-12 15:30:43 INFO (MainThread) [homeassistant.core] Bus:Handling <Event service_executed[L]: service_call_id=547635050816-4>
2018-07-12 15:30:43 ERROR (MainThread) [homeassistant.setup] Unable to setup dependencies of binary_sensor.rpi_gpio. Setup failed for dependencies: rpi_gpio
2018-07-12 15:30:43 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform binary_sensor.rpi_gpio: Could not setup all dependencies.
I have the exact same issue on pi3b+ (HassOS). Wishing I knew how to install an alternate branch of rpi_gpio. That said, pvizeli has done an amazing job and everything is working very smoothly on the pi3b+!
Doesn’t work for me (RPi 3B), downloaded the latest 32-bit image (2.2 develop), installed it and made an “update” (1.10 production). Still RPi-RF Addon failing
Where did you download it. I don’t use a beta version. Just from the HassOS download page. https://www.home-assistant.io/hassio/installation/
Than the recommended version. This should also be the latest version.
What I also tried when homeassistant was live in a clean version, was to write a simple rpi-rf component with buttons and let it load. To check if the error occurs.
In my case, it was properly functional.
If this does not help, I cannot help you further, since the 32-bit recommended version solved it for me)