##Basic Concept The backend of this system uses RaspberryPis to collect sensor data such as door openings and tempurature readings. The sensor data is read and sent to a firebase database using nodejs. The firebase data is then piped into a secure website and updated instantly thanks to angularjs. You could have as many raspberryPi nodes as needed, I currently have two.
##Installation ####Install Nodejs on raspberryPi(s) This works as of 10/3/2015. Please open an issue if this breaks with the next node release.
Instructions are based on nodeRed, make note you don't need the other python libraries installed in their directions
sudo apt-get -y update && sudo apt-get -y upgrade This will take a while if you haven't run these commands in a while or ever
```curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash -```
```sudo apt-get install -y nodejs```
RaspberryPi B+ or A+
```sudo dpkg -i node_archive_armhf.deb```
If it worked,
node -v will result in the node version, something like
Clone this repository and install the dependencies
git clone --depth 1 https://github.com/BrendonPierson/piNodeHomeSecurity.git