Experiential Analysis ofthe Ballmer Peak:Node.js, Arduino, and Beer
View Slide
keg.io
Likes beer
Definitely likes beer
Chris Castle@crc
Product Manager
Yes, this is in Excel
What is keg.io?
+ +
Why build this?
NO F-ING IDEA
Dylan CarneyGarrett PattersonCarl Krauss
How’s it work?
v1: node.js talks serial
The Castarduinonode.js serverweb browserserial cable
v2: node.js and the cloud(persistent, seattle-style)
The Castarduino node.js serverweb browser
A typical day in theworld of keg.io
PUT /api/kegerator/1111/temp/42Brrrr, 42° in here..
Hey clients listening to1111, she’s 42°(websocket)
GET /api/kegerator/1111/scan/440055F873Hey, card scan!
GET /api/kegerator/1111/scan/440055F873Ok, let that guy drink(HTTP 200 response)
Hey clients listening to1111, Chris just scanned(websocket)
PUT /api/kegerator/1111/flow/110011oz poured!
ok, 11oz. Got it.(HTTP 200 response)PUT /api/kegerator/1111/flow/1100
Hey clients listening to1111, Chris poured 11oz(websocket)
STATICFILESKEGAPI DATAAPI WEB-SOCKET
DEMO
What’s next?
More stats and datavisualizationsDATAAPI
Post-pour hooks?!
Too many ideas!
Two Goals
Get to the point where anyonecan contribute to the projectSTATICFILES DATAAPI
Get one setup in as many nerdy,developer-filled offices as possible(your office?)
THANKS!
Chris Castle@crc[email protected]