Skip to main content

BTZen - Bluetooh Smart sensor reading library

Project description

Library to read data from Bluetooth Smart sensors.

Features

  1. Devices and sensor readings

    • SensorTag (CC2541DK, CC2650STK)

      • temperature

      • pressure

      • humidity

      • light (CC2541DK only)

      • accelerometer (CC2541DK only)

  2. Sensor data access using asyncio coroutines.

Please update your sensor device to its latest firmware.

To use the library, run bluetoothd with -E option. Then as root:

$ hciconfig hci0 up
$ hcitool lescan
$ hcitool lecc <MAC>

The library provides btzen script to display sensor data:

$ btzen <MAC>

Requirements

  • bluez 5.36

  • Python 3.5

  • Python D-Bus bindings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

btzen-0.0.7.tar.gz (18.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page