3.0.1 • Published 9 years ago

homestar-smartthings v3.0.1

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

9 years ago

0.1.28

9 years ago

0.1.27

9 years ago

0.1.26

9 years ago

0.1.25

9 years ago

0.1.24

9 years ago

0.1.23

9 years ago

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

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

0.0.2

10 years ago