Stonelinks / kegeratorjs

javascript kegerator
2 stars 2 forks source link

kegeratorjs

Build Status

A web enabled kegerator powered by a Javascript front end and Python (Flask) backend

Getting Started

Running without hardware

MODELS

kegerator model

thermostat model

beer model (from api.py)

keg model (from api.py)

event model (from api.py)

user model (coming in 1.0)

VIEWS

beer info

beer list

kegerator status widget

thermostat stripchart

keg pressure stripchart

shows currentTankPressure over time

keg consumption stripchart

shows plot of beer over time

keg status widget

beer info for current beer progress bar of fullness?

event log (history)

event log entry

ENDPOINTS

kegerator (/api/v1/kegerator)

GET

PUT

update kegerator settings

beer (/api/v1/beers/)

GET

POST

create a new beer, creating new Id, add to beer DB

GET \<beerId>

get info about beer at \<beerId>

PUT \<beerId>

edit beer at \<beerId>

DELETE \<beerId>

delete beer at \<beerId>

kegs (/api/v1/kegs/)

GET

GET \<kegId>

get info about keg at \<kegId>

PUT \<kegId>

edit keg at \<kegId>

events (/api/v1/events)

GET

Rasbery Pi Setup

This section is incomplete, but describes steps taken hardware up and running

ADC Setup (ADS1x15)

This comes mostly from here

Edit the modules file

sudo nano /etc/modules

Add these lines:

i2c-bcm2708
i2c-dev

sudo apt-get install python-smbus i2c-tools

Legal

This project utilizes Adafruit_I2C.py and Adafruit_ADS1x15.py Copyright (c) 2012-2013 Limor Fried, Kevin Townsend and Mikey Sklar for Adafruit Industries. All rights reserved.