Catalog npm
PACKAGE EXPLORERView in registry

6bin

npm

User interface for 6element sensors

6elementantsinterfacesensorsuserweb
Versions collected30
Direct dependencies31From release 1.3.2
Last observed20 Oct, 20:50 UTC

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.

Versions 30

Collected releases
VersionPublishedDirect dependenciesOpen version
1.2.03 Dec 201533
1.1.030 Nov 201533
1.0.730 Nov 201533
1.0.630 Nov 201533
1.0.525 Nov 201533
1.0.425 Nov 201533
1.0.325 Nov 201533
1.0.225 Nov 201533
1.0.125 Nov 201533
1.0.025 Nov 201533

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:f7c1c663fc45d327f82ccc44c9084f13fe426d0dee2510394c589e4d73e9a522