2.1.0 • Published 6 years ago

raspibeacon v2.1.0

Weekly downloads
2
License
ISC
Repository
github
Last release
6 years ago

Raspibeacon

Beacon low energy scanning program that sends a post request to an end point defined in the parameters.

You can filter by beacons mark, define the time between beacon detection.

Linux

  • Kernel version 3.6 or above
  • libbluetooth-dev

Ubuntu/Debian/Raspbian

sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev

Make sure node is on your path, if it's not, some options:

Usage

npm install raspibeacon
var raspibeacon = require('raspibeacon')
let options = {
    brands: ['Kontakt'],
    host: "http://10.148.144.104:3000",
    endpoint: "/api/ionic/raspibeacons",
    timeout: 180000 // Time in milliseconds passed without detecting a beacon inside the action radius
}
raspibeacon.startScan(options);
Modo debug
npm install raspibeacon
var raspibeacon = require('raspibeacon')
let options = {
    brands: ['Kontakt','RadioLand iBeacon'],
    host: "http://10.148.144.104:3000",
    endpoint: "/api/ionic/raspibeacons",
    timeout: 180000 // Time in milliseconds passed without detecting a beacon inside the action radius  
}
raspibeacon.startScanDebug(options);
2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago