-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Maxime Colmant edited this page Jun 2, 2015
·
16 revisions
This project works well with Linux.
For more support, contact us.
To be able to use the PowerSpy powermeter, you need to install the bluez
and libbluetooth-dev
libraries 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 =>
service bluetooth restart
- Get our launcher
- Unzip the archive, edit the configuration files in
./conf
if needed - Run the script
./bin/powerspy-app [OPTIONS] ${POWERSPY}
- For more details, use `./bin/powerspy-app --help``
- Example:
./bin/powerspy-app 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-core_2.11" % "1.2"
<dependency>
<groupId>fr.inria.powerspy</groupId>
<artifactId>powerspy-core_2.11</artifactId>
<version>1.2</version>
</dependency>