Catalog npm
Back to packageRELEASE DETAILS

1.2.8

npm

6bin

User interface for 6element sensors

6elementantsinterfacesensorsuserweb
Published11 Dec 2015
Direct dependencies31
Transitive dependenciesNot calculated

README

Current package documentation

6bin

6element sensors user interface.

In 6element, we inform citizens of whether bins are available for each recycling centers. A first approach based on cameras, image detection and machine learning was considered, but it was found to be too hard to install on various recycling centers. The alternative solution is to have a screen near the sensor that people working at recycling centers can use to manually indicate when a bin is full.

This screen can be used to indicate other informations that is normally hard to get in real time like unexpected recycling center closing (due to too many bind being full, an accident, etc.).

Instructions

Install

npm install
npm i tsd -g
tsd init
tsd install

Build

npm run build-dev

or

npm run build-prod

You can also do

npm run watch

Run the project

npm run start

Tests

npm run test

Communication

6bin communication protocol

6bin client and 6bin server are linked via socketIO.

  • Client => 'request' events => Server
  • Server => 'response' events => Client

Two actions can trigger 'request' events from client:

  • UPDATE_BIN in the case of bin availability change
  • SET_BINS in the case of Bin list save after modifications

6bin server and 6brain are linked via EventEmitter.

  • Server => 'measurementRequest' and 'binsRequest' events => 6brain
  • 6brain => 'data' event => Server

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 31

Native requirements
31 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
body-parser
Environment
{
  "local_name": "body-parser",
  "alias": false,
  "peer_metadata": null
}
^1.14.1runtime
browserify
Environment
{
  "local_name": "browserify",
  "alias": false,
  "peer_metadata": null
}
^11.2.0runtime
compression
Environment
{
  "local_name": "compression",
  "alias": false,
  "peer_metadata": null
}
^1.6.0runtime
es6-shim
Environment
{
  "local_name": "es6-shim",
  "alias": false,
  "peer_metadata": null
}
^0.33.6runtime
express
Environment
{
  "local_name": "express",
  "alias": false,
  "peer_metadata": null
}
^4.13.3runtime
immutable
Environment
{
  "local_name": "immutable",
  "alias": false,
  "peer_metadata": null
}
^3.7.5runtime
keymirror
Environment
{
  "local_name": "keymirror",
  "alias": false,
  "peer_metadata": null
}
^0.1.1runtime
minifyify
Environment
{
  "local_name": "minifyify",
  "alias": false,
  "peer_metadata": null
}
^7.1.0runtime
react
Environment
{
  "local_name": "react",
  "alias": false,
  "peer_metadata": null
}
^0.14.0runtime
react-addons-pure-render-mixin
Environment
{
  "local_name": "react-addons-pure-render-mixin",
  "alias": false,
  "peer_metadata": null
}
^0.14.0runtime
react-dom
Environment
{
  "local_name": "react-dom",
  "alias": false,
  "peer_metadata": null
}
^0.14.0runtime
react-inlinesvg
Environment
{
  "local_name": "react-inlinesvg",
  "alias": false,
  "peer_metadata": null
}
^0.4.2runtime
react-redux
Environment
{
  "local_name": "react-redux",
  "alias": false,
  "peer_metadata": null
}
^4.0.0runtime
redux
Environment
{
  "local_name": "redux",
  "alias": false,
  "peer_metadata": null
}
^3.0.3runtime
redux-thunk
Environment
{
  "local_name": "redux-thunk",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
request
Environment
{
  "local_name": "request",
  "alias": false,
  "peer_metadata": null
}
^2.65.0runtime
socket.io
Environment
{
  "local_name": "socket.io",
  "alias": false,
  "peer_metadata": null
}
^1.3.7runtime
socket.io-client
Environment
{
  "local_name": "socket.io-client",
  "alias": false,
  "peer_metadata": null
}
^1.3.7runtime
svg-injector
Environment
{
  "local_name": "svg-injector",
  "alias": false,
  "peer_metadata": null
}
^1.1.3runtime
vinyl-source-stream
Environment
{
  "local_name": "vinyl-source-stream",
  "alias": false,
  "peer_metadata": null
}
^1.1.0runtime
gulp
Environment
{
  "local_name": "gulp",
  "alias": false,
  "peer_metadata": null
}
^3.9.0development
gulp-typescript
Environment
{
  "local_name": "gulp-typescript",
  "alias": false,
  "peer_metadata": null
}
^2.9.2development
gulp-sourcemaps
Environment
{
  "local_name": "gulp-sourcemaps",
  "alias": false,
  "peer_metadata": null
}
^1.6.0development
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^3.4.0development
chai-immutable
Environment
{
  "local_name": "chai-immutable",
  "alias": false,
  "peer_metadata": null
}
^1.3.0development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^5.1.0development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^2.3.3development
react-proxy
Environment
{
  "local_name": "react-proxy",
  "alias": false,
  "peer_metadata": null
}
^1.1.1development
typescript
Environment
{
  "local_name": "typescript",
  "alias": false,
  "peer_metadata": null
}
^1.6.2development
typescript-compiler
Environment
{
  "local_name": "typescript-compiler",
  "alias": false,
  "peer_metadata": null
}
^1.4.1-2development
watchify
Environment
{
  "local_name": "watchify",
  "alias": false,
  "peer_metadata": null
}
^3.4.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "b01866ef370e85da0267ace93877ca745ef036d8",
  "tarball": "https://registry.npmjs.org/6bin/-/6bin-1.2.8.tgz",
  "integrity": "sha512-53NcFhyihYMoY5zzxZBgiCCZKEEu4cS9MLJmB7lA5pcDya2O0lg4nOkNWSlH6j8ENH8col60BUte+1H7f6kd5g==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIQCep0Gxt1LNPzn20gQ06994kLXi74d3oDnyU7slNpn43gIgQHiEIKApZ0X2WxxSqhN7jB/jfG66xos3vQbmTFTd72o="
    }
  ]
}

Repository

PENDING
anthill/6bin

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:50 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:bdb3bd41fe9e818dbea358496db9d4fbed857b7ae31fb688891e5d0df152dfd6

Other collected versions

1.3.28 Jan1.3.17 Jan1.3.07 Jan1.2.174 Jan1.2.1617 Dec1.2.1517 DecView all collected versions →