Skip to content

Ruby metrics dashbroad (dashing >> gridster.js, batman.js)

Notifications You must be signed in to change notification settings

attheCO/theco-metrics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

theCO Metrics Dashboard

how to update metrics dashboard

Watch this screencast

initial setup in terminal

  1. move into this repo cd [into-this-repo]
  2. install Dashing gem install dashing
  3. intall Bundler gem install bundler
  4. Bundle up the project bundle
  5. Run local version dashing start
  6. open browser to http://localhost:3030/

initial setup on rPi 3

  1. http://computers.tutsplus.com/tutorials/how-to-set-up-a-real-time-business-statistics-dashboard--cms-19728
  2. https://gist.github.com/stonehippo/5896381
  3. open Chromium on launch - https://www.danpurdy.co.uk/web-development/raspberry-pi-kiosk-screen-tutorial/
  4. sudo nano ~/.config/lxsession/LXDE-pi/autostart add line at the bottom `/usr/bin/chromium-browser --kiosk --incognito thecometrics.herokuapp.com

WIP - how to turn the pi and tv off

The TV shutsdown after 6 hours or so. Here is how we are handling this:

  • shutdown at 9pm
  • reboot at 1pm and 5pm
### turn off 1min after 9PM
1 21 * * * /sbin/shutdown -h now

### reboot at 1pm
0 0,13 * * * reboot
### reboot at 5pm
0 0,17 * * * reboot

Making changes to dashboard layout and stats

Check out Dashing for changes to widgets: http://shopify.github.com/dashing

update ideas

  • quotes from members at theCO
  • current temperature (inside/outside)
  • of visitors on website (last month/right now)

  • of devices on theCO's network

  • network bandwidth usage
  • last speed test results
  • network status
  • items 3D printed last month
  • countdown until bus departs/arrives again
  • countdown to next event (theCO birthday, COstarters, COmmunicate)
  • measure amount of coffee left
  • number of lights on @theCO

About

Ruby metrics dashbroad (dashing >> gridster.js, batman.js)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •