Using the OZWCP web application

I want to start up the OZWCP web application but met some problems when following the instructions on https://home-assistant.io/docs/installation/raspberry-pi-all-in-one/.

When trying to launch the control panel with the command: sudo ./ozwcp -p 8888 I get the following error message:

pi@raspberrypi:/srv/homeassistant/src/open-zwave-control-panel $ sudo ./ozwcp -p 8888
2017-02-25 22:14:57.565 Error, Cannot find a path to the configuration files at ./config/. Exiting...
2017-02-25 22:14:57.565 Error, Exception: Options.cpp:91 - 1 - Cannot Find Configuration Files

I can see that the problem has been discussed before: https://github.com/home-assistant/home-assistant.github.io/issues/514
But i do not understand where the open-zwave files are supposed to be located and therefore how to create the symlink if that is the solution

Thanks in advance

I recall bumping into this error message after my initial installtion using the All-in-One script. My running build is now based on HASSbian and the OZW installer script automatically created the symlink.

As mentioned in the GitHub reference the config path depends on your Raspberry Pi version. The issue is currently under open status.

The automatic config symlink created on my RPi3 + Hassbian installation is:

config -> /srv/homeassistant/lib/python3.4/site-packages/libopenzwave-0.3.2-py3.4-linux-armv7l.egg/config
pi@hassbian:/srv/homeassistant/lib/python3.4/site-packages/libopenzwave-0.3.2-py3.4-linux-armv7l.egg/config

Depending on your build architecture the libopenzwave folder is likely to have a different name.

libopenzwave-[...].egg

Try walking the path step by step, starting in /srv/homeassistant/lib and use ls to locate the config directory.

pi@hassbian:~ $ cd /srv/homeassistant/lib
pi@hassbian:/srv/homeassistant/lib $ ls -l
pi@hassbian:/srv/homeassistant/lib $ cd python3.4/

etc.

/fuse

https://community.home-assistant.io/t/cannot-open-control-panel-ozwcp-cannot-find-a-path-to-the-configuration-files/11521/2?u=kopfsick

See if that answer helps. It seems that the all-in-one installer installs libopenzwave 0.3.2 but creates a symlink to 0.3.1.