Home Controller Hub with functionality to provide
- Live data
- Historical Charts
- Definition of trigger points
- Sharing of data
Hardware:
- Arduino Portfolio
####How to install the application from github
#####Prerequisites Home Controller Hub requires the following webinos APIs
- http://webinos.org/api/file
- http://webinos.org/api/sensors
- https://github.com/webinos/webinos-api-iot.git
Assuming that $PZP_HOME is the path where you have cloned your webinos_pzp module, you should exucute the following commands:
$ cd $PZP_HOME/node_modules $ git clone https://github.com/webinos/webinos-api-geolocation.git $ cd webinos-api-geolocation $ npm install
$ cd $PZP_HOME/node_modules $ git clone https://github.com/webinos/webinos-api-iot.git $ cd webinos-api-iot $ npm install
$ cd $PZP_HOME/node_modules $ git clone https://github.com/webinos/webinos-api-file.git $ cd webinos-api-file $ npm install
File API needs to be configured. Here is an example of config.json
{ "name": "file", "params": { "local": { "server": {"port": 9999, "hostname": "0.0.0.0"}, "shares": [{"name": "PC-SHARE", "path": "$HOME"}] } } }
####How to install the application from github
#####Install the Home Controller Hub Application
$ cd $PZP_HOME/web_root $ git clone https://github.com/webinos/hub-homeController.git homecontroller
Then, start the PZP.
#####Run the application
Open in your browser the URL http://localhost:8080/homecontroller/index.html