Can't start HA with zwave component in configuration.yaml

Hi, recently i had small problem with my raspberry - loss of power damaged my filesystem. I have image of clear raspbian, so in few minutes i had my new rpi going. Unfortunatelly I cannot run my zwave components.
I have virtualenv in which i keep homeassistant (plus homeassistant user, as in HA tutorial). In this env i have :

aiohttp==2.2.0
astral==1.4
async-timeout==1.2.1
chardet==3.0.2
Cython==0.25.2
homeassistant==0.48.0
Jinja2==2.9.6
MarkupSafe==1.0
multidict==3.1.0
mysqlclient==1.3.10
PyDispatcher==2.0.5
PyMySQL==0.7.11
python-openzwave==0.4.0.35
pytz==2017.2
PyYAML==3.12
requests==2.14.2
six==1.10.0
typing==3.6.1
voluptuous==0.10.5
yarl==0.10.3

When i run HA with zwave component commented out my HA runs noramlly, but when I uncomment zwave component my journalctl just stops here :

Jul 02 15:14:54 HA hass[12647]: 2017-07-02 15:14:54 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 18.1 seconds.
Jul 02 15:14:54 HA hass[12647]: 2017-07-02 15:14:54 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=device_tracker>

When I deactivate device_tracker it stops at groups. Where should i find solutions ? I cannot locate any of files mentioned in similar topics loki ozwconfig etc.
What are steps required to have zwave working beside :

sudo apt-get install libudev-dev
(in venv) pip3 install python-openzwave

Previously, before my crash, i had working zwave, without open zwave control panel. my logs are empty :

2017-07-02 15:14:28 WARNING (MainThread) [homeassistant.setup] Setup of input_slider is taking over 10 seconds.
2017-07-02 15:14:31 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-07-02 15:14:31 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds.
2017-07-02 15:14:34 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2017-07-02 15:14:46 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
2017-07-02 15:14:46 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.

On the same rpi i have domoticz, on which my zwave devices are working.
What should i do to have zwave running ?

Hi, I just started playing around with HA today. I used the all-in-one installer to get going. HA installed just fine. When I add zwave to my configuration.yaml file, HA won’t start anymore

I just posted a very similar topic at Z-Wave Controller/Devices not available in Hass (SOLVED)

Since my post I learn the systemctl -l flag
Try this:

sudo systemctl restart home-assistant.service
sudo systemctl status home-assistant.service -l

run the second command every 30 seconds or so. Notice the numbered (process) lines under make. You should see that a few lines down the /bin/sh -c g++ -c -Wall line different .c/.cpp files listed

1175 make
├─1193 /bin/sh -c LDFLAGS=“” CPPFLAGS=“” make -C /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/build/ -
├─1194 make -C /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/build/ -
├─1965 /bin/sh -c g++ -c -Wall -Wno-unknown-pragmas -Werror -Wno-format -Wno-error=sequence-point -Wno-sequence-point -O3 -DNDEBUG -fPIC -DSYSCONFDIR=“"/usr/local/etc/openzwave/"” -I /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/src -I /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/tinyxml/ -I /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/hidapi/hidapi/ -o /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/.lib/Hail.o /tmp/pip-build-gifolfll/python-openzwave/openzwave-embed/open-zwave-master/cpp/src/command_classes/Hail.cpp

I think this means the startup is building the zwave stuff. I think we have to be patient.

When sudo systemctl status home-assistant.service -l stops showing the make processes, it should be running.
Sit tight

2 Likes

Once all the make stuff completed (took about 35 minutes on my Rasp Pi B) then my zwave controller and devices appears on the States screen on Hass.

Patience is not only a virtue, it is required here

I believe it was it - i just didn’t know how to check what was going on below. Later on i set HA for restart and left it for night. In the morning everything was working.
Is there a possibility (or how to make an issue) to ask HA devs to add some verbose output to the log (journalctl) to know when some side-package is downloading or compiling ? I’ve only notice

Attempting install of ...

but still i didn’t know the sate of install or if there were errors.

You’re right. I left it on for the night and came back in the morning with a running HA.