Catalog npm
Back to packageRELEASE DETAILS

1.3.2

npm

6bin

User interface for 6element sensors

6elementantsinterfacesensorsuserweb
Published8 Jan 2016
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
npm-run-all
Environment
{
  "local_name": "npm-run-all",
  "alias": false,
  "peer_metadata": null
}
^1.4.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
waste-categories
Environment
{
  "local_name": "waste-categories",
  "alias": false,
  "peer_metadata": null
}
^1.0.4runtime
watch-exec
Environment
{
  "local_name": "watch-exec",
  "alias": false,
  "peer_metadata": null
}
^1.2.0runtime
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": "9b267da49f4aa1a5e8c3a5156ece13fb8c9754eb",
  "tarball": "https://registry.npmjs.org/6bin/-/6bin-1.3.2.tgz",
  "integrity": "sha512-cYTnjb1nBZ/ErQIqRjqbivhKL84M1FEG33XdSedOgvd4TTfmi/e218CySmgFOTRVBhCPthAIGi3XNZd+k3Gw9A==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIGdGZLDPaVWRGGv/aP2tz7SebDHbFOPPSa4KtuNkW8h6AiAC/vEi3stAy6P80hqD3JxGkwW6GjN088nnXHgV0eGHgw=="
    }
  ]
}

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:82ea433015ba199ad6ce4d7d145ba4065fac96f443b23b9d3db3730d1c81ddfc

Other collected versions

1.3.17 Jan1.3.07 Jan1.2.174 Jan1.2.1617 Dec1.2.1517 Dec1.2.1417 DecView all collected versions →