Razberry

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m (You need to disable onboard Bluetooth)
(Raspberry Pi 2 and 3)
Line 15: Line 15:
  
 
== Raspberry Pi 2 and 3 ==
 
== Raspberry Pi 2 and 3 ==
Edit /boot/config.txt to enable serial communication:
+
Edit /boot/config.txt to enable serial communication, add/chnage to:
 
  enable_uart=1
 
  enable_uart=1
 +
 +
Edit /boot/cmdline.txt
 +
Remove any reference to:  console=tty1 or console=serial0,115200
  
 
== Raspberry Pi 3 configuration ==
 
== Raspberry Pi 3 configuration ==

Revision as of 18:25, 25 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

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

Edit /etc/group

dialout:x:20:pi,agocontrol,root
sudo update-rc.d z-way-server disable
Personal tools