Your SlideShare is downloading. ×
0
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Informative Workspace with Raspberry Pi
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Informative Workspace with Raspberry Pi

999

Published on

with Jonathan Thurman …

with Jonathan Thurman
presentation at Velocity NY 2013

Published in: Technology, Design
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
999
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
66
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Informative Workspace with ® Raspberry Pi Chris Hansen, New Relic - @cxhansen Jonathan Thurman, New Relic - @jthurman42 https://github.com/newrelic/empanada Raspberry Pi is a trademark of the Raspberry Pi Foundation Tuesday, October 15, 13
  • 2. Informative Workspaces Tuesday, October 15, 13
  • 3. Culture of Hacking Hacking the Culture Tuesday, October 15, 13
  • 4. Empanada Project •Simple, open, hackable, dashboard software •Raspberry Pi setup instructions •Instructions for adding devices to Raspberry Pi •Budget-conscious Tuesday, October 15, 13
  • 5. Dashboard Software http://techcrunch.com/2012/03/22/leftronic-relaunch/ Tuesday, October 15, 13
  • 6. https://ducksboard.com/landing/compete/ Tuesday, October 15, 13 http://www.smartinsights.com/goal-setting-evaluation/performance-management/real-time-businessdashboards/
  • 7. What’s Important to Us •Heads-up to when something breaks •Heads-up to current team activity •Window into tech community news Tuesday, October 15, 13
  • 8. Empanada Goals •Good support for metrics and news •No service fee •Simple to hack •Generic event service for integration •Deployable anywhere •Accessible from anywhere Tuesday, October 15, 13
  • 9. Empanada Dependencies •AngularJS •Google Feed API •Masonry •D3 •Jetty •Java Tuesday, October 15, 13
  • 10. Browser <div id="feedTechCrunch"/> index.html (Dashboard Main Page) function initialize() { loadFeed("feedTechCrunch"); ... } TechCrunch New Relic Spring ... dashboard.js (Dashboard App) Company Network News Feeds Tuesday, October 15, 13 Google Feed API Internet
  • 11. Web APIs Tuesday, October 15, 13
  • 12. Browser <div id="feedTechCrunch"/> <div ng-controller="GitHubCtl"> index.html (Dashboard Main Page) function initialize() { loadFeed("feedTechCrunch"); ... } function GitHubCtl(…) { ... } Google Feed API Proxy auth config dashboard.war (Java App) Proxy Service dashboard.js (Dashboard App) Company Network Protected Web APIs Tuesday, October 15, 13 TechCrunch New Relic Spring ... Protected Web APIs GitHub New Relic HipChat ... Internet
  • 13. Proxy Service • Allows our Angular app to get results from protected web APIs • Restricted to GETs • For 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
  • 14. Browser <div id="feedTechCrunch"/> <div ng-controller="GitHubCtl"> <div ng-controller="BuildCtl"> index.html (Dashboard Main Page) function initialize() { loadFeed("feedTechCrunch"); ... } function GitHubCtl(…) { ... } function BuildCtl(…) { ... } dashboard.js (Dashboard App) Company Network Events Tuesday, October 15, 13 Google Feed API Proxy auth config dashboard.war (Java App) Proxy Service Event Service TechCrunch New Relic Spring ... Protected Web APIs GitHub New Relic HipChat ... Internet
  • 15. Event Service Jenkins POST /events?channel=build Event Service GET /events?channel=build Subscriber Tuesday, October 15, 13 { {{ "id" : 102, "id" : : 102, 102, "id" "channel" : "build", "channel" : : "build", "build", "channel" "attrs" : { "attrs" : : { { "attrs" "success" : 0, "success" : : 0, 0, "success" "BUILD_NUMBER" : 939, "BUILD_NUMBER" : : 939, 939, …"BUILD_NUMBER" … } … }} } }} Build Event Build Event Build Event
  • 16. Tuesday, October 15, 13
  • 17. Information Radiator •Devices that display the Dashboard •Various sizes based on need •Cost can vary significanly Tuesday, October 15, 13
  • 18. Individuals http://www.flickr.com/photos/doggie52/3920392034/ Tuesday, October 15, 13
  • 19. Large Teams Tuesday, October 15, 13
  • 20. The World http://www.flickr.com/photos/nicolas_vollmer_photo/8912698659/ Tuesday, October 15, 13
  • 21. 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 Just Right! Tuesday, October 15, 13
  • 22. Why Raspberry Pi? •Full Linux stack •HDMI output •Cheap and Hackable! http://www.raspberrypi.org/wp-content/uploads/2011/07/RaspiModelB.png Tuesday, October 15, 13
  • 23. Caveats •CPU / Memory constraints •Need to customize HDMI settings •Overclocking issues •New Out Of Box Software Tuesday, October 15, 13
  • 24. Extreme Feedback Devices •Devices that manipulate your environment •Force you to take notice •People lose interest over time, remind them! Tuesday, October 15, 13
  • 25. Input and Output Pins Raspberry Pi http://www.flickr.com/photos/tkramm/8222207452/ Tuesday, October 15, 13
  • 26. Audible http://www.flickr.com/photos/39213183@N02/6853977807/ Tuesday, October 15, 13
  • 27. Tactile http://www.flickr.com/photos/spirosk/127848247/ Tuesday, October 15, 13
  • 28. Visual http://www.flickr.com/photos/thisisbossi/7812046824/ Tuesday, October 15, 13
  • 29. Aggressive http://www.flickr.com/photos/krisbeltran/3554484948/ Tuesday, October 15, 13
  • 30. Visual Wins! •Simple, yet elegant •Widely understood without training •Just the right amount of Annoying Tuesday, October 15, 13
  • 31. Talkin’ GPIO •Very simplistic endpoint •Polls custom event status •Quickly customizable Tuesday, October 15, 13
  • 32. Get Interactive Tuesday, October 15, 13
  • 33. Interactive Workspace •We get information beamed at us •What can we send back? •Turns out we have the I in GPIO! Tuesday, October 15, 13
  • 34. Observe http://www.flickr.com/photos/avbild/6735334913/ Tuesday, October 15, 13
  • 35. Respond http://www.flickr.com/photos/jblmpao/6077242957/ Tuesday, October 15, 13
  • 36. Acknowledge http://www.flickr.com/photos/marcusborg/2840411331/ Tuesday, October 15, 13
  • 37. Overview Tuesday, October 15, 13
  • 38. Don’t move Tuesday, October 15, 13
  • 39. #fail Tuesday, October 15, 13
  • 40. Keep the dream alive! Tuesday, October 15, 13
  • 41. Motion Sensor Snooze Button Connected Tuesday, October 15, 13
  • 42. Next Steps •Buy some hardware •Get out our soldering iron •Share your awesome hacks •Check out Empanada - Soon! Tuesday, October 15, 13
  • 43. Empanada Project •Raspberry Pi setup instructions •Instructions for wiring the devices •Software described here (by end of October) •https://github.com/newrelic/empanada Tuesday, October 15, 13
  • 44. Tuesday, October 15, 13
  • 45. JOIN THE TEAM NewRelic.com/jobs Tuesday, October 15, 13

×