0.1.22 • Published 9 years ago

homestar-rest v0.1.22

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

homestar-rest

IOTDB Bridge to REST / Web Interfaces.

About

See the samples for details how to add to your project, particularly ones called iotdb_*.js

Installation

Then:

$ npm install homestar-rest

If you're a developer, run this command in extract directory

$ git clone https://github.com/dpjanes/homestar-rest
$ cd homestar-rest
$ homestar set /modules/homestar-rest $PWD

Simulators for Testing the Samples

We've created a SmartHome simulator, written in Python. This is running here

http://playground-home.iotdb.org/

You can send GET, PUT and PATCH.

If you'd like to run this yourself:

$ git clone https://github.com/dpjanes/iotdb-simulators
$ cd iotdb-simulators
$ python serve.py --port 27772 website_home_1 &
$ curl 'http://0.0.0.0:27772'
{
   "basement": {
      "hue": {
         "1": {
            "on": true, 
            "rgb": "#FF0000"
         }, 
…

Models

The Models included are only for Demo purposes. My home is we can actually pull in models from elsewhere rather than having to re-spec them.

0.1.22

9 years ago

0.1.21

9 years ago

0.1.20

9 years ago

0.1.19

9 years ago

0.1.18

9 years ago

0.1.17

9 years ago

0.1.16

10 years ago

0.1.15

10 years ago

0.1.14

10 years ago

0.1.13

10 years ago

0.1.12

10 years ago

0.1.11

10 years ago

0.1.10

10 years ago

0.1.9

10 years ago

0.1.8

10 years ago

0.1.7

10 years ago

0.1.6

10 years ago

0.1.5

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago