1.1.5 • Published 6 years ago

6sense v1.1.5

Weekly downloads
6
License
MIT
Repository
-
Last release
6 years ago

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

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago