Skip to content

Latest commit

 

History

History
101 lines (65 loc) · 1.03 KB

README.md

File metadata and controls

101 lines (65 loc) · 1.03 KB

Sensor-scripts

Scripts for scanning BLE sensors on Raspberry Pi and write data to different systems

Currently supported



sudo apt-get install python-pip libglib2.0-dev git apache2 mysql-server

sudo pip install bluepy



- Thingspeak



sudo pip install thingspeak

Create file /home/pi/thing.sp with following content

MAC ADDRESS

CHANNEL_ID

WRITE_API



- mySQL

sudo pip install MySQL-python

Create file /home/pi/my.cnf with following content

[client]

host = localhost

user = db_user

database = your_db

password = YourPassword



- AT&T m2x

sudo pip install m2x

Create a file /home/pi/mx.2 with the following content

mac_address

m2x_key

m2x_device_id

stream1_id

stream2_id



- Adafruit

sudo pip install adafruit-io

Create file /home/pi/ada.fr with following content

MAC_ADDRESS

AIO_KEY