0.0.22 • Published 8 years ago

homestar-nest v0.0.22

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

8 years ago

0.0.21

8 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

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