Setup:
RPI 2 - All in one installer - HA 0.28.2
I followed the instructions for the Pi RF switch (installed rpi-rf under the virtual environment) and am getting the following errors in my log:
16-09-19 19:15:04 homeassistant.components.switch: Error while setting up platform rpi_rf
Traceback (most recent call last):
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 107, in _setup_platform
discovery_info)
File "/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/switch/rpi_rf.py", line 49, in setup_platform
rfdevice.enable_tx()
File "/home/hass/.homeassistant/deps/rpi_rf/rpi_rf.py", line 77, in enable_tx
GPIO.setup(self.gpio, GPIO.OUT)
Any help?
Edit: searched the forum a bit more and found I needed to add HASS as a GPIO user.
sudo adduser hass gpio