Code Monkey home page Code Monkey logo

stillhere's Introduction

Still Here


Still Here is a Mac app that lives in your menu bar and keeps your Nest thermostats set to Home while you're using your Mac.

Why?

In my house, my thermostat lives in a hallway on the main floor, but I'm often in an upstairs room for many hours at a time working on my Mac. Since I don't move nearby my thermostat very often, it often gets set to Away, making the temperature uncomfortable while I'm working. I don't want to disable Auto-Away, so I needed another solution.

Notification 1 Notification 2

How does it work?

Once you've authenticated your Nest account to the app, a Firebase Nest API connection is established. When your thermostat changes Away status, a notification is pushed to Still Here. If your Mac is awake, the screensaver is not activated, and the Away status was set to Away, Still Here simply changes it back to Home.

Information for Developers

  1. Clone the NestDK submodule to obtain the Firebase framework.
  2. Fill in your Client ID in SHAConstants.m.
  3. In your [authentication workflow] (https://developer.nest.com/documentation/cloud/how-to-auth), return the OAuth 2.0 access token via the URI stillhere://auth?access_token=ACCESS_TOKEN_GOES_HERE.

stillhere's People

Contributors

gfiumara avatar

Watchers

 avatar  avatar

stillhere's Issues

Integrate OAuth Flow

Rather than go out to the web browser, use a web view to complete the OAuth flow in-app.

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.