Catalog npm
PACKAGE EXPLORERView in registry

6sense

npm

Counting wifi/bluetooth devices

Versions collected28
Direct dependencies4From release 1.1.5
Last observed20 Oct, 20:54 UTC

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.

Versions 28

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.5Registry latest24 Jul 20184
1.1.424 Jul 20184
1.1.324 Jul 20184
1.1.22 Dec 20159
1.1.11 Dec 20159
1.1.01 Dec 20159
1.0.426 Nov 201516
1.0.324 Nov 201516
1.0.212 Nov 201516
1.0.16 Nov 201516
1.0.02 Nov 201516
0.2.321 Oct 201515
0.2.213 Oct 201515
0.2.112 Oct 201515
0.2.029 Sept 201515
0.1.322 Sept 201514
0.1.218 Aug 201514
0.1.118 Aug 201514
0.1.010 Jul 201513
0.0.98 Jul 201513

Package advisories

0
No matching advisories collected

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

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