If you are using a PI3 with raZberry gpio mudule the onboard bluetooth and raZberry will try to use the same serial port.
If I remember right you get this message in this case.
This is how I solved it(not sure every thing is needed), this will disable bluetooth.
Add the user running Home Assistant to the group “dialout”
I’m not using PI3 but PI2, so I do not have onboard bluetooth.
I was actually hoping you were partly right, since I had a bluetooth keyboard dongle plugged in, and last night, I tried configuring without it. But no luck there
I have been able to get the Z-Way software working (http://razberry.z-wave.me/index.php?id=24) and successfully detected my devices.
Could it be that that is causing the problem? Is it possible it is somehow interfering with homeassistant?
Yes you have to disable Z-Way in order to run Home-assitant.
It’s the same if you want to run the OpenZWave control panel, disable home-assistant (and Z-Way).
You should only have one Z-wave applcation active.
OK, so I disabled both HA and Z-Way and tried the OZWCP, but again unsuccessfully
2016-10-11 22:19:46.229 Always, OpenZwave Version 1.4.2188 Starting Up
webserver starting port 8888
post: key=dev data=\dev\ttyAMA0 size=12
post: key=fn data=open size=4
post: key=usb data=false size=5
2016-10-11 22:19:54.257 Info, Setting Up Provided Network Key for Secure Communications
2016-10-11 22:19:54.259 Warning, Failed - Network Key Not Set
2016-10-11 22:19:54.260 Info, mgr, Added driver for controller \dev\ttyAMA0
2016-10-11 22:19:54.261 Info, Opening controller \dev\ttyAMA0
2016-10-11 22:19:54.262 Info, Trying to open serial port \dev\ttyAMA0 (attempt 1)
2016-10-11 22:19:54.263 Error, ERROR: Cannot open serial port \dev\ttyAMA0. Error code 2
2016-10-11 22:19:54.263 Error, ERROR: Failed to open serial port \dev\ttyAMA0
2016-10-11 22:19:54.264 Warning, WARNING: Failed to init the controller (attempt 0)
Thanks for the information. Quick question. Are you noticing any kind of range issues with the RaZberry card? I can’t get my devices to work reliably with this card.
Second follow up. For anyone who stumbles across this in the future, here are the steps you need to follow to add devices to the card.:
Stop home assistant (this can be done via the GUI or your pi’s command line)
Install Zwave.me: wget -q -O - razberry.z-wave.me/install | sudo bash
Add device (http://[your pi IP]:8083/smarthome/)
Uninstall zwave.me: sudo update-rc.d z-way-server remove
restart: sudo reboot.
For now I only have a z-wave thermostat + actuator, both of which are within 10 meters of RaZberry, so everything works perfectly. My apartment is very open, and the PI is in central location, so other than taking the thermostat outside, I could not simulate any obstacles
As for your steps, I did not uninstall z-wave.me, I simply disabled the service (you never know when you’ll need it again).