Continuing the discussion from Insteon Lights - 0.40:
I’m basically having the issue above and have updated the post there ^^ as well. But I felt it might make more sense to be posted here as well in case it’s a Hassbian related issue.
I’ve actually done a complete rebuild (re-flashed the SD card and everything) of Hassbian twice, one of those times only adding the config needed for Insteon (Local) to work. Neither time was I able to get the changes to reflect and I still see the Errno13 error in the logs. Not sure what is up with this, but I might try just loading the all in one installer.
This is on a RPi2 if that matters.
EDIT: Also, that’s with fresh downloads both times and the latest version of Hassbian at the time, .42. Going to try .43 before I try the all in one tonight if I have time or this weekend.
Full error message from my logs below:
[details=Error]17-04-21 22:06:59 ERROR (MainThread) [homeassistant.components.switch] Error while setting up platform insteon_local Traceback (most recent call last): File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 153, in _async_setup_platform entity_platform.schedule_add_entities, discovery_info File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__ yield self # This tells Task to wait for completion. File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup value = future.result() File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result raise self._exception File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run result = self.fn(*self.args, **self.kwargs) File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/switch/insteon_local.py", line 40, in setup_platform linked = insteonhub.get_linked() File "/home/homeassistant/.homeassistant/deps/insteonlocal/Hub.py", line 157, in get_linked dev_info = self.id_request(device_id) File "/home/homeassistant/.homeassistant/deps/insteonlocal/Hub.py", line 280, in id_request status = self.get_buffer_status(device_id) File "/home/homeassistant/.homeassistant/deps/insteonlocal/Hub.py", line 1022, in get_buffer_status self.set_command_response_from_cache(response_record, device_from, response_record['cmd1'], response_record['cmd2']) File "/home/homeassistant/.homeassistant/deps/insteonlocal/Hub.py", line 455, in set_command_response_from_cache command_cache = self.get_cache_from_file(device_id) File "/home/homeassistant/.homeassistant/deps/insteonlocal/Hub.py", line 370, in get_cache_from_file file = open(filename, "w+") PermissionError: [Errno 13] Permission denied: '2F53B7.state'
[/details]