Enable Zwave Issues with Config File

Hello, having trouble getting the zwave component configured and recognized.

I’ve utilized the Hassbian image on a RPi.

Issues begin at enabling the zwave usb (Aeotec gen5), everything I try, I arrive at the same Invalid Config bulletin -zwave on my front page. I’ve tried with just the usb_path, and also with config_path, same error.

$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ hass --script check_config
–Doesn’t return me anything

I’ve done a bit of reading around the forums but can’t find any concrete answers. Someone also experiencing this recently is in the process of scrapping the image and trying the AIO.

I’ll report back with any resolve. Thanks a ton for any assistance or time taken to reply.

(homeassistant) homeassistant@raspberrypi:/home/pi $ python -m homeassistant --config /config - -script check_config

INFO:homeassistant.util.package:Attempting install of colorlog>2.1,<3
Exception:
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/pip/basecommand.py”, line 215, in main
status = self.run(options, args)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/commands/install.py”, line 388, in r un
ensure_dir(options.target_dir)
File “/srv/homeassistant/lib/python3.4/site-packages/pip/utils/init.py”, line 83, in ensu re_dir
os.makedirs(path)
File “/usr/lib/python3.4/os.py”, line 227, in makedirs
makedirs(head, mode, exist_ok)
File “/usr/lib/python3.4/os.py”, line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: ‘/config’
Aborting scipt, could not install dependency colorlog>2.1,<3

Someone mentioned to report back any errors that command produced. Not sure where it’s helpful exactly. Not sure why there would be any errors, hardly taken any steps since the initial install that could have goofed something up.

you must install colorlog to use the check_config

The problem is here:

–config /config

You’re telling homeassistant to use the /config directory. This is very different from /home/pi/config.

Because you are starting homeassistant as user pi you cannot write to the root directory.

I haven’t used the hasspbian image but I’m pretty sure it’s configuration is not in /config.

Getting to your original question you should post the relevant part of your config so someone can see what you’re doing wrong.

1 Like

Good info there, thank you.

I more or less put the Hassbian aside and started tinkering with the all in one last night as I couldn’t find any recent success stories with that image; I’ll have to come back to this and check it out.

I believe I copied that syntax exactly but now I need to verify where I copied it from and go from there. I forget if that was even a piece of the problem or the problem itself… Been hitting so many roadblocks with Hassbian and the AIO, a lot of it a blur at this point.

My next thread will:

Have properly documented pastes using the quotes and not my disaster above.

More pastes as Kirichkov recommended to help with troubleshooting.

Better worded explanations and scenarios as this was written late night and unfortunately rushed.

I will still be updating this thread for anyone following.

I was able to come away with a working version of HASS involving Jessie Lite.

Here’s a link to the different thread for anyone interested:

If I’m able to assist in any way, I’ll be sure to!