-
Notifications
You must be signed in to change notification settings - Fork 1
Home
mcolmant edited this page Dec 30, 2014
·
16 revisions
This project works well with Linux.
For more support, contact us via the mailing list.
To be able to use the PowerSpy powermeter, you need to install the libbluetooth-dev
library on your system.
If you want to pair the powermeter automatically, follow these steps:
- Get your mac address =>
hcitool dev
(DEVICE) - Get the PowerSpy's mac address =>
hcitool scan
(POWERSPY) - Create/edit the file
/var/lib/bluetooth/${DEVICE}/pincodes
by adding the line${POWERSPY} ${PIN}
. The PIN is 0000 for PowerSpy v1, 1111 for the second version. - Restart the bluetooth service =>
sudo restart bluetooth
- Get our launcher
- Unzip the archive, run the script
./bin/powerspy-scala [OPTIONS] ${POWERSPY}
- For more details, use `./bin/powerspy-scala --help``
- Example:
./bin/powerspy-scala 00:0b:ce:07:1e:9b
The launcher can be stopped by using the option [-t ${SECONDS}]
or by using CTRL+C
.
libraryDependencies += "fr.inria.powerspy" %% "powerspy-scala" % "1.0.0"
<dependency>
<groupId>fr.inria.powerspy</groupId>
<artifactId>powerspy-scala_2.11</artifactId>
<version>1.0.0</version>
</dependency>