Version 11 (modified by ntj, 8 years ago)
--

bora

Bora (build once run always) framework is an ADEI extension for a static monitoring web page. Bora always monitors the latest value from the measurement parameters recorded in ADEI. The philosophy of bora is to enable users to create the static monitoring web page without the knowledge of web programming.

Installation

$ git clone https://github.com/kit-ipe/bora.git
$ cd bora

We need to create a config file for each ADEI server.

$ touch config.yaml
$ vi config.yaml

Add the following information in the config file.

type: 'adei'
polling: 2
username: <YOURUSERNAME>
password: <YOURPASSWORD>
script: 'services/getdata.php'
server: <ADEISERVER>
path: <YOURPATH>
  • type: refers to adei server, alternatively this can be a different server such as MySQL.
  • polling: time to poll the server for data in second.
  • username: the username to login to your server.
  • password: the password to login to your server.
  • script: the script to do the data fetching. In the case for ADEI server, this should be services/getdata.php.
  • server: the server URI.
  • path: the path to your installation of bora.

Run the core.py to start the application.

$ python core.py

Usage

Data has to be registered and styled.

To register the data, you can input the following command on your browser.

localhost:8888/add/<server>/<db_name>/<db_group>/<sensor>