Razberry

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(You need to disable onboard Bluetooth)
m (The z-way server)
Line 44: Line 44:
  
 
=== The z-way server ===
 
=== The z-way server ===
The Z-way server is useful for adding devices, but not neede when runing the system
+
The Z-way server is useful for adding devices, but not needed when runing the system
 
You can disable it with:
 
You can disable it with:
 
  sudo update-rc.d z-way-server disable
 
  sudo update-rc.d z-way-server disable
 
  sync
 
  sync
 
  sudo reboot
 
  sudo reboot

Revision as of 11:04, 29 December 2016

Contents

Installation

 wget -q -O - http://razberry.z-wave.me/install | sudo bash


Start with:

sudo /etc/init.d/zbw_connect start


Configuration

Edit /etc/opt/agocontrol/conf.d/zwave.conf

[zwave]
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

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


The z-way server

The Z-way server is useful for adding devices, but not needed when runing the system You can disable it with:

sudo update-rc.d z-way-server disable
sync
sudo reboot
Personal tools