3.0.1 • Published 8 years ago

homestar-smartthings v3.0.1

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

homestar-smart-things

IOTDB Bridge for SmartThings

About

This Bridge allows you to control your SmartThings devices from IOTDB and Home☆Star. Note that this inherently is complicated. You'll have to add a new app to SmartThings. If you're not comfortable with programming-like things, please ask for help from someone who is.

Installation and Configuration

Then:

$ npm install -g homestar    ## may require sudo
$ npm install homestar-smartthings
$ homestar configure homestar-smartthings

Use

Turn a SmartThings switch off

const iotdb = require('iotdb')
iotdb.use("homestar-smartthings")
iotdb.connect("SmartThingsSwitch").set(":on", false)

There are many more samples available. Look for the files called iotdb_*.js.

Models

SmartThingsBattery

e.g.

{
    "battery": 90
}

SmartThingsContact

e.g.

{
    "open": true
}

SmartThingsSwitch

e.g.

{
    "on": true
}

SmartThingsTemperature

In Fahrenheit

e.g.

{
    "temperature": 72
}

Models with Issues

May be affected by SmartThings API changes. If you care to investigate...

SmartThingsMotion

true if there is motion.

e.g.

{
    "motion": true
}

SmartThingsThreeAxis

No particular units

e.g.

{
    "x": 10,
    "y": -180,
    "z": 78
}
3.0.1

8 years ago

0.1.28

8 years ago

0.1.27

8 years ago

0.1.26

8 years ago

0.1.25

8 years ago

0.1.24

8 years ago

0.1.23

8 years ago

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

8 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.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

0.0.2

9 years ago