Skip to content

plotti/humancounter

Repository files navigation

Spark Human Counter

TLDR

  • A small IOT Device (Photon) with a Echo Sensor measures people walking by @ liip.

Code

  • Measuring.cpp is used to be flashed onto the device.

Install & Run

  • npm install -g browser-sync
  • npm install -g webpack
  • npm install -g nodemon
  • npm i -g ( on heroku npm i --save-dev)
  • npm run build <-- watches develop (also do that on heroku)
  • nodemon backend/index.js <-- starts the server

Used APIs

curl "https://api.spark.io/v1/devices/240034001147343339383037/events/?access_token=800efcf08f1f961e4438ece0da1a20bc5ccfb4f4"
:ok


event: humancount
data: {"data":"742","ttl":"60","published_at":"2016-09-19T11:39:46.644Z","coreid":"240034001147343339383037"}

Ideas or Blogposts

Live Graphing

Admin Pages

  • https://console.particle.io/devices
  • Login with your credentials from particle but make sure to make an accout first. Then ask plotti to make you part of the project, so I can add your email.

About

A tiny IoT project that counts humans on liip stairs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published