Can't get config to work

I have been trying hard to get my config to work but something does not seem to be working right. Here is what I have in my Z-Wave file in home assistant

usb_path: /dev/ttyACM0
config_path: /usr/local/lib/python3.5/dist-packages/libopenzwave-0.3.2-py3.5-linux-x86_64.egg/config/

Here is what is in the error file:

17-02-18 16:36:41 homeassistant.util.yaml: while scanning for the next token
found character ‘\t’ that cannot start any token
in “/home/mgranger/.homeassistant/zwave.yaml”, line 2, column 1

  1. Use preformatted text when posting configs in this forum so we can actually see what your config looks like.
  2. Don’t use tabs in yaml files.

~Cheers

usb_path: /dev/ttyACM0
config_path: /usr/local/lib/python3.5/dist-packages/libopenzwave-0.3.2-py3.5-linux-x86_64.egg/config/

Still getting that error? Then you still have a tab in line 2 in your config :slight_smile:

~Cheers

I am still getting that error and I am positive I have no tabs in my file.

here is the error i am getting now

17-02-18 21:40:41 homeassistant.util.yaml: mapping values are not allowed here in “/home/mgranger/.homeassistant/zwave.yaml”, line 2, column 14

usb_path: /dev/ttyACM0
config_path: usr/local/lib/python3.5/dist-packages/libopenzwave-0.3.2-py3.5-linux-x86_64.egg/config/

You’re missing a / from the start of the config_path:

config_path: /usr/...
             ^

I fixed that and I still get the homeassistant.util.yaml: mapping values are not allowed here in “/home/mgranger/.homeassistant/zwave.yaml”, line 2, column 14

Try removing the trailing slash from the config_path

Ok I removed the / at the end and it didn’t seem to help.

wrap the values in ’ characters

I tried wrapping the value in ’ and still no luck.

Please show us more context. Complains on mapped values can be related to indendation or missing hyphens in front of attributes.

it should be

zwave:
  usb_path:
  config_path:

that’s two spaces infront of usb_path and config_path

1 Like

Here is the main config file

zwave: !include zwave.yaml

and here is the zwave.yaml file

usb_path: /dev/ttyACM0
config_path: /usr/local/lib/python3.5/dist-packages/libopenzwave-0.3.2-py3.5-linux-x86_64.egg/config

Okay, when included it should be correct that way, Have you tried it without !include directly inside configuration.yaml?

Yes I have tried that with no luck either

Is there something else I am missing

Is the config path correct?

What if you copy the config file from that directory to the HA directory, and comment out the config_path line?

Can you run cat -A zwave.yaml and post the results please.

I tried moving just the config folder and the libopenzwave-0.3.2-py3.5-linux-x86_64.egg folder into ~/.homeassistant and it did not work.

When i run cat -A here is what i get:

mgranger@Finalizer:~$ cat -A ~/.homeassistant/zwave.yaml
usb_path: /dev/ttyACM0$

Well, that at least says there’s no tabs lurking in there. What error are you now getting?

If it’s still about \t, can you provide the output of cat -A configuration.yaml, removing any passwords or other sensitive data.