I cant get the RF compoenet to work any more?
Running it from the CL works just fine, but cannot get the switch in HAS
my configuration.yaml
switch: !include_dir_merge_list switch
and inside the switch
folder in a file 433-rf.yaml
- platform: rpi_rf
gpio: 17
switches:
switch_1:
protocol: 1
pulselength: 177
code_on: 12000524
code_off: 12000516
signal_repetitions: 44
switch_2:
protocol: 1
pulselength: 178
code_on: 12000522
code_off: 12000514
signal_repetitions: 44
and here is the error
2017-12-19 15:56:23 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform rpi_rf
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_component.py", line 171, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=self.hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/switch/rpi_rf.py", line 71, in setup_platform
rfdevice.enable_tx()
File "/srv/homeassistant/lib/python3.5/site-packages/rpi_rf/rpi_rf.py", line 77, in enable_tx
GPIO.setup(self.gpio, GPIO.OUT)
RuntimeError: No access to /dev/mem. Try running as root!
2017-12-19 16:14:20 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal read error on socket transport
Traceback (most recent call last):
File "/usr/lib/python3.5/asyncio/selector_events.py", line 723, in _read_ready
data = self._sock.recv(self.max_size)
is this a know bug?
Since updraging ive seen a few things fail to work, such as a DHT11 sensor, as noted here in a separate thread.