Informative Workspace with Raspberry Pi

download Informative Workspace with Raspberry Pi

If you can't read please download the document

  • date post

    22-Oct-2014
  • Category

    Technology

  • view

    1.085
  • download

    2

description

with Jonathan Thurman presentation at Velocity NY 2013

Transcript of Informative Workspace with Raspberry Pi

Informative Workspace with Raspberry Pi

Chris Hansen, New Relic - @cxhansenJonathan Thurman, New Relic - @jthurman42

Raspberry Pi is a trademark of the Raspberry Pi Foundation

https://github.com/newrelic/empanada

Tuesday, October 15, 13

Informative WorkspacesTuesday, October 15, 13

Culture of HackingHacking the Culture

Tuesday, October 15, 13

Empanada Project

Simple, open, hackable, dashboard softwareRaspberry Pi setup instructionsInstructions for adding devices to Raspberry PiBudget-conscious

Tuesday, October 15, 13

Dashboard Software

http://techcrunch.com/2012/03/22/leftronic-relaunch/

Tuesday, October 15, 13

https://ducksboard.com/landing/compete/ http://www.smartinsights.com/goal-setting-evaluation/performance-management/real-time-business-dashboards/

Tuesday, October 15, 13

Whats Important to Us

Heads-up to when something breaks Heads-up to current team activity Window into tech community news

Tuesday, October 15, 13

Empanada Goals

Good support for metrics and newsNo service feeSimple to hackGeneric event service for integrationDeployable anywhereAccessible from anywhere

Tuesday, October 15, 13

Empanada Dependencies

AngularJSGoogle Feed APIMasonryD3JettyJava

Tuesday, October 15, 13

News FeedsCompany Network

Browser

index.html (Dashboard Main Page)

dashboard.js (Dashboard App)

function initialize() { loadFeed("feedTechCrunch"); ...}

Internet

Google Feed API

TechCrunchNew RelicSpring...

Tuesday, October 15, 13

Web APIs

Tuesday, October 15, 13

Protected Web APIsCompany Network

Browser

index.html (Dashboard Main Page)

dashboard.js (Dashboard App)

function initialize() { loadFeed("feedTechCrunch"); ...}

Internet

Google Feed API

TechCrunchNew RelicSpring...

Proxy auth

config

dashboard.war (Java App)

Proxy Service

function GitHubCtl() {

...} Protected

Web APIs

GitHubNew RelicHipChat...

Tuesday, October 15, 13

Proxy Service

Allows our Angular app to get results from protected web APIsRestricted to GETsFor a given external Web API, the proxy service must know:URL prefix path to forward (otherwise 401 status)Where to fetch the access token token insertion strategy (usually HTTP header)

Tuesday, October 15, 13

EventsCompany Network

Browser

index.html (Dashboard Main Page)

dashboard.js (Dashboard App)

function initialize() { loadFeed("feedTechCrunch"); ...}

Internet

Google Feed API

TechCrunchNew RelicSpring...

Proxy auth

config

dashboard.war (Java App)

Proxy Service

function GitHubCtl() {

...} Protected

Web APIs

GitHubNew RelicHipChat...

Event Service

function BuildCtl() { ...

}

Tuesday, October 15, 13

Event Service

EventService

Jenkins

POST /events?channel=build

Subscriber

GET /events?channel=build

Build Event

{ "id" : 102, "channel" : "build", "attrs" : { "success" : 0, "BUILD_NUMBER" : 939, }} Build Event

{ "id" : 102, "channel" : "build", "attrs" : { "success" : 0, "BUILD_NUMBER" : 939, }} Build Event

{ "id" : 102, "channel" : "build", "attrs" : { "success" : 0, "BUILD_NUMBER" : 939, }}

Tuesday, October 15, 13

Tuesday, October 15, 13

Information Radiator

Devices that display the DashboardVarious sizes based on needCost can vary significanly

Tuesday, October 15, 13

Individualshttp://www.flickr.com/photos/doggie52/3920392034/

Tuesday, October 15, 13

Large TeamsTuesday, October 15, 13

The Worldhttp://www.flickr.com/photos/nicolas_vollmer_photo/8912698659/

Tuesday, October 15, 13

Just Right!http://www.amazon.com/dp/B008A3KFB8/

ref=pe_385040_30332190_pe_175190_21431760_M3T1_ST1_dp_i1 http://www.paritynews.com/wp-content/uploads/2013/08/raspberry-pi-800x600.jpg

Tuesday, October 15, 13

Why Raspberry Pi?

Full Linux stackHDMI outputCheap and Hackable!

http://www.raspberrypi.org/wp-content/uploads/2011/07/RaspiModelB.png

Tuesday, October 15, 13

Caveats

CPU / Memory constraintsNeed to customize HDMI settingsOverclocking issuesNew Out Of Box Software

Tuesday, October 15, 13

Extreme Feedback Devices

Devices that manipulate your environmentForce you to take noticePeople lose interest over time, remind them!

Tuesday, October 15, 13

Raspberry Pihttp://www.flickr.com/photos/tkramm/8222207452/

Input andOutput Pins

Tuesday, October 15, 13

Audiblehttp://www.flickr.com/photos/39213183@N02/6853977807/

Tuesday, October 15, 13

Tactilehttp://www.flickr.com/photos/spirosk/127848247/

Tuesday, October 15, 13

Visualhttp://www.flickr.com/photos/thisisbossi/7812046824/

Tuesday, October 15, 13

Aggressivehttp://www.flickr.com/photos/krisbeltran/3554484948/

Tuesday, October 15, 13

Visual Wins!

Simple, yet elegantWidely understood without trainingJust the right amount of Annoying

Tuesday, October 15, 13

Talkin GPIO

Very simplistic endpointPolls custom event statusQuickly customizable

Tuesday, October 15, 13

Get InteractiveTuesday, October 15, 13

Interactive Workspace

We get information beamed at usWhat can we send back?Turns out we have the I in GPIO!

Tuesday, October 15, 13

Observehttp://www.flickr.com/photos/avbild/6735334913/

Tuesday, October 15, 13

Respondhttp://www.flickr.com/photos/jblmpao/6077242957/

Tuesday, October 15, 13

Acknowledgehttp://www.flickr.com/photos/marcusborg/2840411331/

Tuesday, October 15, 13

OverviewTuesday, October 15, 13

Dont moveTuesday, October 15, 13

#failTuesday, October 15, 13

Keep the dream alive!Tuesday, October 15, 13

Connected

SnoozeButton

MotionSensor

Tuesday, October 15, 13

Next Steps

Buy some hardware

Get out our soldering iron

Share your awesome hacks

Check out Empanada - Soon!

Tuesday, October 15, 13

Empanada Project

Raspberry Pi setup instructionsInstructions for wiring the devicesSoftware described here (by end of October)https://github.com/newrelic/empanada

Tuesday, October 15, 13

Tuesday, October 15, 13

JOIN THE TEAMNewRelic.com/jobs

Tuesday, October 15, 13