0.1.22 • Published 8 years ago

homestar-rest v0.1.22

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
8 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

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

9 years ago

0.1.10

9 years ago

0.1.9

9 years ago

0.1.8

9 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago