Hi Thanks for your answer … but the subject is how to realise a Z-Wave integration on HA and permit to recognize the Razberry GPIO daughter board.
In fact, my Rasberry pi 3 is actually perfectly recognizing the Razberry GPIO daughter board. It is actually possible to make inclusion with any z-wave devices… but under the soft given with the board
zwave:
usb_path: /dev/ttyUSB0 (I’m not using an USB stick but a GPIO daughter board
config_path: /usr/local/share/python-openzwave/config (here I know)
Thanks your for your help.
Unfortunatly, this config does not run on my Raspberry 3… I already tried this config but may not with the good python integration tuto… who knows?
If you have not disabled bluetooth, ttyAMA0 is the serial device of the onboard bluetooth adapter. Pi3 with enabled bluetooth uses ttyS0 for the GPIO serial.
That’s a possibility, but it does disable bluetooth - which I don’t want to do.
So usb_path would by /dev/ttyS0 for enabled bluetooth, but ttyS0 is dependent on core_freq, and to get it to work, core_freq has to be 250 for some reason (or the sampling rate is wrong).
core_freq default seems to be 400, but I don’t care since my Pi is headless anyway.
Hi, the solution is finally logical… If the permissions of the Home Assistant directory are “root”, no troubles cause root has already dialout permissions on /dev/ttyAMA0, but…in the case you are using another user as “pi” (or “user” in my case) to start Home Assistant, you will have to set “pi” (or “user” in my case) as a dialout member on /dev/ttyAMA0 (by default, it is root).
To be able to start the serial port with HA non the next reboot, just do :
sudo usermod -a -G dialout “pi” (or the username =you are starting HA),
enter,
sudo reboot,
Then, the config below will autostart:
zwave:
usb_path: /dev/ttyAMA0
config_path: /usr/local/lib/python3.4/dist-packages/libopenzwave-…armv7l.egg/config
polling_interval: 60000