Page 1 of 1


Posted: Tue 17 Jun 2014, 18:00
by gol
This is a program template written in Javascript that can be used to send SIA-events from the SPC panel to iOS by Prowl.
To use this program you need to install the Prowl App, create an account on and get a API-key.

To be able to run the program you need to install NodeJS and some NodeJS addon modules.

Install NodeJS

Code: Select all

sudo apt-get update
sudo wget
sudo dpkg -i node_latest_armhf.deb
Check the installation with: node -v

Install required addon modules

Code: Select all

sudo npm install websocket
sudo npm install node-prowl
Install spc-notify-prowl

Code: Select all

tar xzvf spc-notify-prowl.tar.gz
cd spc-notify-prowl
Modify the settings in config.json according your environment and API-key.
In spc-notify-prowl.js, function manageSiaEvent() you have to add all SIA-event types you want to be managed by the program. Look in the SPC documentation for definitions of the SIA-event types.

Run the program with: ./spc-notify-prowl.js