Skip to content

j-5-s/gatrafficbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GA Trafficbox

box

This was a quick project I put together for RobotConf 2013 using a Spark Core device. It uses the Real Time Google Analytics API to send data to your Spark device which will then turn a Servo from 0 to 180 degrees to represent the number of people on your website.

It relies on a running Node.JS server to communicate between Google Analytics and the Spark Device. You can get free and paid hosting on the App Fog, Heroku, or Joyent.

Demo

http://youtu.be/bYW59Knelqs

Materials Needed

Building the Box

Its up to you to create a cooler box than the laser engraved one I got made at RobotsConf by some awesome laser cutting tool. All you need to do is get the Servo turning and you can do whatever you want as far as design goes.

Installing the Web App

Install locally

git clone https://github.com/jamescharlesworth/gatrafficbox
cd gatrafficbox
node app

Push to PAAS Cloud

Most PAAS have good CLI tools to deploy code, so checkout their doc, its a bit beyond this app.

Example using App fog.

sudo gem install af
af login
ap update <name>

About

SparkCore / Google Analytics Real Time Traffic Speedometer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published