Catalog npm
Back to packageRELEASE DETAILS

0.0.3

npm

6sense

Counting wifi searching devices

Published20 May 2015
Direct dependencies14
Transitive dependenciesNot calculated

README

Current package documentation

6sense

This is sub project of 6element. The purpose is to count the number of devices around the sensor using their connection attempts. No need for the device to be connected, we just detect the packets emitted for network detection.

This software was designed with privacy in mind, as only a list of signal levels and an untraceable id that change everyday can be outputed.

How to install

npm install 6sense

The prerequisit is to have

  • iw

  • tcpdump

  • A wifi interface with monitoring capability.

Quick start

Each part of 6sense is basically a finite state machine interfacing the dongle.

wifi specific

var dongle = require('6sense'); 

// start recording and gather results every 60 seconds
dongle.record(60);

dongle.on('processed', function(result){
	console.log(JSON.stringify(result));
});

dongle.on('trajectories', function(result){
	console.log(JSON.stringify(result));
});

Here are the main functions:

dongle.wakeUp()  // from 'sleeping' to 'monitoring'
dongle.sleep();  // from 'monitoring' or 'recording' back to 'sleeping'
dongle.record(300); // from 'sleeping' or 'monitoring' to 'recording'
dongle.pause();  // from 'recording' to 'monitoring'
dongle.changeAllDayConfig({
	max_last_seen: 5 * 60 * 1000, // ms
	signal_precision: 5, // dB
	date_precision: 30 * 1000 // ms
}); // Change the config for the all-day measurement map

Licence

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 14

Native requirements
14 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
csv-parser
Environment
{
  "local_name": "csv-parser",
  "alias": false,
  "peer_metadata": null
}
^1.5.2runtime
es6-shim
Environment
{
  "local_name": "es6-shim",
  "alias": false,
  "peer_metadata": null
}
^0.31.0runtime
fast-csv
Environment
{
  "local_name": "fast-csv",
  "alias": false,
  "peer_metadata": null
}
^0.6.0runtime
hilink
Environment
{
  "local_name": "hilink",
  "alias": false,
  "peer_metadata": null
}
0.0.1runtime
machina
Environment
{
  "local_name": "machina",
  "alias": false,
  "peer_metadata": null
}
^1.0.0runtime
moment
Environment
{
  "local_name": "moment",
  "alias": false,
  "peer_metadata": null
}
^2.10.3runtime
moment-timezone
Environment
{
  "local_name": "moment-timezone",
  "alias": false,
  "peer_metadata": null
}
^0.3.1runtime
node-watch
Environment
{
  "local_name": "node-watch",
  "alias": false,
  "peer_metadata": null
}
^0.3.4runtime
protocol-buffers
Environment
{
  "local_name": "protocol-buffers",
  "alias": false,
  "peer_metadata": null
}
^3.0.0runtime
split
Environment
{
  "local_name": "split",
  "alias": false,
  "peer_metadata": null
}
^0.3.3runtime
through
Environment
{
  "local_name": "through",
  "alias": false,
  "peer_metadata": null
}
^2.3.7runtime
chai
Environment
{
  "local_name": "chai",
  "alias": false,
  "peer_metadata": null
}
^2.3.0development
chai-as-promised
Environment
{
  "local_name": "chai-as-promised",
  "alias": false,
  "peer_metadata": null
}
^5.0.0development
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^2.2.5development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "f7a77beb7ff51e9c00130960e88739649bc1fee0",
  "tarball": "https://registry.npmjs.org/6sense/-/6sense-0.0.3.tgz",
  "integrity": "sha512-X9D70T8Yto7OwK0NcAFbHXgwrm/Fi+xOmj1l3FyETBvvhevxFHJ8Rx38Sk+/pDuM3VsR09kj+JptiNxHw//jIw==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEYCIQCVTpm/my8kVAqGZZPPXXuWs3xxS8d3GOoyfFu9mwt6CgIhAPp5kyTeiQCf0ZUCbeaUmNmzeqk4H/kDM20gZ87w6m4D"
    }
  ]
}

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:54 UTC

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

Record identity

package_version:e3dcb3e8594f09a7dabdbd075e6b977dc40beaa78e8bcebcd0014be5028aa178

Other collected versions

1.1.524 Jul1.1.424 Jul1.1.324 Jul1.1.22 Dec1.1.11 Dec1.1.01 DecView all collected versions →