Skip to content

opensourcery/beer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5d50129 · May 9, 2014
May 2, 2014
Apr 4, 2014
Apr 11, 2013
May 2, 2014
May 9, 2014
Apr 4, 2014
Jan 3, 2014
May 2, 2014
Jan 31, 2014
Feb 27, 2014
Apr 12, 2013
Oct 9, 2013
Mar 20, 2014
Apr 18, 2014
Jan 31, 2014
Feb 27, 2014
Nov 22, 2013

Repository files navigation

OpenSourcery::Beer

Code to run beer.opensourcery.com

Installation

  • npm install
  • npm install supervisor -g
  • sudo apt-get install redis-server or on a Mac: brew install redis
  • supervisor app.js

Starting up

  • `redis-server &
  • `supervisor app.js

Connecting to Untappd

  • Setup config/secret.js as follows:
    module.exports = {
      clientId: YourClientId,
      clientSecret: YourSecretKey,
      debug: false
    }
    

Updating data from kegbot

You will need a secret key. Send POST requests to {domain}/api with the following parameters:

```
access_token: SECRETKEY
temperature: Temperature in F
kegs: [ percentKeg1, percentKeg2 ]
```

For example, kegs: [0.77, 0.42] would indicate keg 1 is at 77% and keg 2 is at 42%.