m (→You need to disable onboard Bluetooth) |
|||
(9 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
+ | |||
+ | = The Z-way server = | ||
+ | The Z-way server is useful for adding devices, but not needed when running the system | ||
== Installation == | == Installation == | ||
wget -q -O - http://razberry.z-wave.me/install | sudo bash | wget -q -O - http://razberry.z-wave.me/install | sudo bash | ||
− | |||
Start with: | Start with: | ||
sudo /etc/init.d/zbw_connect start | sudo /etc/init.d/zbw_connect start | ||
+ | == Disabling the Z-way server == | ||
+ | You can disable it with: | ||
+ | sudo update-rc.d z-way-server disable | ||
+ | sync | ||
+ | sudo reboot | ||
+ | |||
+ | = Agocontrol support = | ||
+ | You enable the agocontrol support the same way as with other [[Zwave_basics|Z-wave]] hardware. | ||
== Configuration == | == Configuration == | ||
Line 12: | Line 22: | ||
[zwave] | [zwave] | ||
device=/dev/ttyAMA0 | device=/dev/ttyAMA0 | ||
+ | |||
+ | |||
+ | = Raspberry Pi 2 and 3 = | ||
+ | Edit /boot/config.txt to enable serial communication, add/chnage to: | ||
+ | enable_uart=1 | ||
+ | |||
+ | Add authorisation for using the serial port: | ||
+ | sudo adduser pi dialout | ||
+ | sudo adduser agocontrol dialout | ||
+ | sudo adduser root dialout | ||
+ | sudo adduser pi tty | ||
+ | sudo adduser agocontrol tty | ||
+ | sudo adduser root tty | ||
+ | |||
+ | Edit /boot/cmdline.txt | ||
+ | Remove any reference to: console=tty1 or console=serial0,115200 | ||
+ | |||
+ | |||
== Raspberry Pi 3 configuration == | == Raspberry Pi 3 configuration == | ||
+ | !!! You need to disable onboard Bluetooth !!! | ||
− | |||
Edit /boot/config.txt, add these lines at the end: | Edit /boot/config.txt, add these lines at the end: | ||
# RaZberry - need to disable onboard Bluetooth | # RaZberry - need to disable onboard Bluetooth |
Contents |
The Z-way server is useful for adding devices, but not needed when running the system
wget -q -O - http://razberry.z-wave.me/install | sudo bash
Start with:
sudo /etc/init.d/zbw_connect start
You can disable it with:
sudo update-rc.d z-way-server disable sync sudo reboot
You enable the agocontrol support the same way as with other Z-wave hardware.
Edit /etc/opt/agocontrol/conf.d/zwave.conf
[zwave] device=/dev/ttyAMA0
Edit /boot/config.txt to enable serial communication, add/chnage to:
enable_uart=1
Add authorisation for using the serial port:
sudo adduser pi dialout sudo adduser agocontrol dialout sudo adduser root dialout sudo adduser pi tty sudo adduser agocontrol tty sudo adduser root tty
Edit /boot/cmdline.txt Remove any reference to: console=tty1 or console=serial0,115200
!!! You need to disable onboard Bluetooth !!!
Edit /boot/config.txt, add these lines at the end:
# RaZberry - need to disable onboard Bluetooth dtoverlay=pi3-disable-bt
Execute:
sudo systemctl disable hciuart sudo reboot