Giter VIP home page Giter VIP logo

stackstorm-nest's Introduction

Nest Thermostat Integration Pack

This integration pack allows you to integrate with Nest thermostat.

Configuration

Copy the example configuration in nest.yaml.example to /opt/stackstorm/configs/nest.yaml and edit as required.

  • username - Nest.com username
  • password - Nest.com password
  • structure - Default nest home ID to query (Default: 0)
  • device - Default device ID to query (Default: 0)

You can also use dynamic values from the datastore. See the docs for more info.

Note : When modifying the configuration in /opt/stackstorm/configs/ please remember to tell StackStorm to load these new values by running st2ctl reload --register-configs

Actions

+----------------------+------+-----------------+---------------------------------+
| ref                  | pack | name            | description                     |
+----------------------+------+-----------------+---------------------------------+
| nest.get_humidity    | nest | get_humidity    | Get the current humidity        |
| nest.get_mode        | nest | get_mode        | Manage nest modes               |
| nest.get_temperature | nest | get_temperature | Get the current temperature.    |
| nest.set_away        | nest | set_away        | Set nest to away mode           |
| nest.set_fan         | nest | set_fan         | Manage fan state                |
| nest.set_home        | nest | set_home        | Set nest to home mode           |
| nest.set_humidity    | nest | set_humidity    | Set humidity goal for nest      |
| nest.set_mode        | nest | set_mode        | Set current operating mode      |
| nest.set_temperature | nest | set_temperature | Set current temperature.        |
| nest.show            | nest | show            | Show current Nest information   |
| nest.toggle_away     | nest | toggle_away     | Toggle current Home/Away status |
+----------------------+------+-----------------+---------------------------------+

stackstorm-nest's People

Contributors

kami avatar jfryman avatar lindsayhill avatar cognifloyd avatar emedvedev avatar nmaludy avatar blag avatar enykeev avatar

Watchers

James Cloos avatar Mick McGrath avatar Dmitri Zimin(e) avatar Marcel Weinberg avatar Eugen avatar  avatar Ankur Singh avatar Amanda McGuinness avatar Ram Golla avatar

stackstorm-nest's Issues

Update pack to support OAuth

Newer python-nest versions use the official Nest API. Authentication setup is different for this, and the existing pack will not work with it.

We should update the pack to support the new libraries, and newer authentication mechanisms.

Authorization Error

Is it possible Nest has changed the API to need an Oath token now?

The config file is filled out with the proper credentials.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/stackstorm/virtualenvs/nest/lib/python2.7/site-packages/nest/nest.py", line 1666, in structures
    for stid in self._status[STRUCTURES]]
  File "/opt/stackstorm/virtualenvs/nest/lib/python2.7/site-packages/nest/nest.py", line 1616, in _status
    value = self._get("/")
  File "/opt/stackstorm/virtualenvs/nest/lib/python2.7/site-packages/nest/nest.py", line 1599, in _get
    return self._request('GET', path)
  File "/opt/stackstorm/virtualenvs/nest/lib/python2.7/site-packages/nest/nest.py", line 1582, in _request
    raise AuthorizationError(response)
nest.nest.AuthorizationError: Authorization Failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.