Insteon Lights - 0.40

Hello Everyone -

First of all thanks for the awesome support and community around Home Assistant. I have enjoyed using it for a couple weeks and am having a blast adding new elements. This is my first time posting.

After reading through the forums I believe this is a new issue.

Last night I updated to Home Assistant 0.40.0 and now my Insteon Local Lights will not work. I can turn them on, however the state will not update, and I cannot turn them off. Below are a few snippets from my log (I hope I put them in the proper formatting).

PermissionError: [Errno 13] Permission denied: '299A29.state'
17-03-12 21:04:48 ERROR (MainThread) [homeassistant.components.light] Error while update entity from insteon_local in light

I’m about to make a backup of my Rpi3 SD and start trying different things. I’m really not sure where would be best to start.

Did you ever get this figured out? I’ve just completed a rebuild and copied my config files back in and am seeing this issue now.

Just an update, 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.

Just getting started myself, looks like theres a reported issuse for the insteon local component not having access to write updates and not being set to the right folder:
https://github.com/home-assistant/home-assistant/issues/6558

I just got it working until the bug is patched (documenting it while its fresh):

  1. start the homeassistant bash shell
  2. “cd deps/insteonlocal”
  3. edit the Hub.py file and add " os.chdir (’/tmp/’)" on its own line somewhere in the init function (without the quotes, but its python, so the leading spaces matter!)
  4. save, exit and restart the HA service
  5. it will start to load and then throw a similar error
  6. “cd /tmp/”
  7. run “chmod 666 *” to set read / write / modify access to all users for all files.
  8. restart the HA service again and you should be set.

Now off to figuring out how to add all my switches and address them individually!

1 Like

Sweet, thanks soooo much :slight_smile: