0.0.22 • Published 9 years ago

homestar-nest v0.0.22

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

homestar-nest

IOTDB Bridge for Nest Devices

About

See the samples for details how to add to your project, particularly connect.js for standalone and iotdb*.js for HomeStar/IOTDB.

Installation and Configuration

Then:

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

You'll need the instructions on this page to complete configuratio

https://homestar.io/tools/nest

If you don't have a Nest, they provide a very nice simulator

https://developer.nest.com/documentation/cloud/home-simulator

Use

const iotdb = require('iotdb')
iotdb.use("homestar-nest")
iotdb.connect("NestThermostat").set(":temperature", 20)

Models

NestThermostat

Control Nest Thermostat

Functionality:

  • discover Nest Thermostats
  • get target temperature, actual temperature and humidity
  • set target temperature

    { target_temperature_c: 18, ambient_temperature_c: 14, humidity: 30 }

NestProtect

Read values from Nest Protect

{
    co_alarm_state: 'warning',
    smoke_alarm_state: 'ok',
    battery_health: 'ok'
}

NestCam

Read values from Nest Camera. In particular, it will change state when new "events" happen.

{
    animated_image_url: 'https://developer.nest.com/...',
    image_url: 'https://developer.nest.com/simulator/...',
    start_time: '2015-10-22T15:12:14.140Z',
    end_time: '2015-10-22T15:12:15.161Z'
}
0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

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