Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 1.65 KB

README.md

File metadata and controls

69 lines (54 loc) · 1.65 KB

webinos-app-hub-homeController

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

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