activServer is the nodeJS server in home automation system ActivHome. It manages connections between Arduino and websockets with serialport and socket.io.
You must make, program and plug an Arduino in your RaspberryPi before starting this server.
Forever : A simple CLI tool for ensuring that a given script runs continuously (i.e. forever).
npm install forever -g
npm install
You can configure your server inside activServerLaucher file
FOREVER="/usr/local/bin/forever" <-- Where forever is installed
BPATH="/home/pi/activServer/" <-- Your base Path
sudo chmod +x activServerLauncher
./activServerLauncher
- see LICENSE file