Skip to content

A prototype to get analytics from any site and displaying in a Photon

Notifications You must be signed in to change notification settings

mbfassnacht/photon-request-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

photon-request-counter

The idea of this prototype is to have a counter of request in a LCD that can show you analytics of a site quickly. In this example the protoype count event when you hit with a POST this following URL:

But you can use it to get more interested statistics like login URL hits or some other URL that is important to your site. When someone hit a URL that you have controlled by the index.js server the LCD screen connected to the Photon increase the count and also a light is going to turned on.

INSTALLATION

###GLOBAL Node.js Install Node.js in your system

DEPENDENCES

npm install

RUN

Edit config.json and add your credentials and then...

node index.js

BUILD THE PROTOTYPE

###STUFF

  • Photon
  • 220 OMS Resistence
  • 3 LED lights
  • 1 Potenciometer 50k
  • 1 Protoboard
  • 1 LCD 12x16 Cells
  • 16 wires

photo1

photo2

About

A prototype to get analytics from any site and displaying in a Photon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages