Installed a fresh copy of Raspbian Lite on a RB3, and then ran:
wget -Nnv https://raw.githubusercontent.com/home-assistant/fabric-home-assistant/master/hass_rpi_installer.sh && bash hass_rpi_installer.sh
First time through the install failed so I re-ran the command. On reboot HA does not start automatically, nor has the ozwcp application compiled correctly.
My installation_report.log contains…
[localhost] sudo: git clone https://github.com/OpenZWave/open-zwave-control-panel.git
[localhost] out: fatal: destination path ‘open-zwave-control-panel’ already exists and is not an empty directory.
[localhost] out:
Warning: sudo() received nonzero return code 128 while executing ‘git clone https://github.com/OpenZWave/open-zwave-control-panel.git’!
[localhost] put: Makefile -> /srv/hass/src/open-zwave-control-panel/Makefile
[localhost] sudo: make
[localhost] out: make: *** No rule to make target ‘/srv/hass/src/python-openzwave/openzwave/cpp/src/Options.h’, needed by ‘ozwcp.o’. Stop.
[localhost] out:
Warning: sudo() received nonzero return code 2 while executing ‘make’!
[localhost] sudo: ln -sd /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
[localhost] out: ln: failed to create symbolic link â./configâ: File exists
Any help would be appreciated on why HA doesn’t start on reboot and why ozwcp doesn’t exist?
Update: I see there’s nothing in /srv/hass/src/python-openzwave/openzwave. Not sure what to do now. Any suggestions?
Update: since nothing was in /srv/hass/src/python-openzwave/openzwav, I thought I would run make build in /srv/hass/src/python-openzwave. This results in:
make build
sed -i -e ‘253s/.*//’ openzwave/cpp/src/value_classes/ValueID.h
sed: can’t read openzwave/cpp/src/value_classes/ValueID.h: No such file or directory
Makefile:272: recipe for target ‘openzwave/.lib/’ failed
make: *** [openzwave/.lib/] Error 2
Any ideas would be helpful. I’d sure like to move on and install HA rather than adopting VeraPlus!
OK, no help. So I’ve given up on the all-in-one installer.
Instead, I went the hassbian route. Instructions for installing zwave aren’t super clear so here’s a guide:
- After installing HASSbian, wait 5 minutes and let it install HA automatically.
- Upgrade and update Raspbian as shown here.
- Follow the installing python-openzwave instructions here. Add git when getting the needed dependencies, sudo apt-get install cython3 libudev-dev python3-sphinx python3-setuptools git
- In your configuration.yaml file, add the following:
xwave:
usb_path: /dev/ttyACM0
config_path: /srv/homeassistant/src/python-openzwave/openzwave/config
- As a PI user, run the command: sudo usermod -G dialout -a homeassistant
Reboot and your zwave components should appear. Note that your usb_path may be different than mine.
1 Like