Skip to content
My home automation box based on : Z-wave / Raspberry / NodeJS / MQTT / MongoDB
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.settings
assets
data
static
.gitignore
.project
README.md
package.json
pm2.sh
start.sh

README.md

DomoGeeek

DomoGeeek is an OpenSource home automation solution running on a Raspberry Pi and based on Node-RED.

Node-Red

Preinstalled Node-Red modules for home-automation :

  • Scheduler : Schedule tasks at fixed time or sun time.
  • MongoDB : MongoDB connector for saving data.
  • Ping : Check the availability of Internet

The flows in the project can be reuse as example for your needs.

This project works perfectly with the ZWave2MQTT module for interaction with Z-Wave devices throw an MQTT bus.

DomoGeeek


#Tutorial

Prerequisites

  • Install NodeJS
$ sudo apt-get install curl
$ sudo curl --silent --location https://deb.nodesource.com/setup_0.12 | bash -
$ sudo apt-get install --yes nodejs

Optional

  • Install MongoDB and start the daemon
$ sudo apt-get install mongodb-server
  • Install Mosquitto and start the daemon
wget http://repo.mosquitto.org/debian/mosquitto-repo.gpg.key
sudo apt-key add mosquitto-repo.gpg.key
sudo wget http://repo.mosquitto.org/debian/mosquitto-jessie.list
sudo apt-get update
sudo apt-get install mosquitto

Install

$ cd ./domogeeek/
$ npm install

Test

$ ./start.sh

Then open your browser on : http://127.0.0.1/admin/ and play with the nodes.

Deploy

$ sudo npm install pm2 -g
$ ./pm2.sh
$ pm2 startup
$ pm2 save
You can’t perform that action at this time.