Skip to content
/ ruuvitag Public

A simple and clean Python library for RuuviTag

License

Notifications You must be signed in to change notification settings

kipe/ruuvitag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RuuviTag

A simple and clean Python library for RuuviTag

Installation

As the library is based on bluepy, compilation of bluepy-helper is required. This requires glib2 development packages.

On Debian-based systems the installation goes a bit like:

sudo apt-get install libglib2.0-dev
pip install git+https://github.com/kipe/ruuvitag.git

Usage

For basic usage, you can just run RuuviTag.scan() in a loop, like this:

from ruuvitag import RuuviTag

while True:
    for tag in RuuviTag.scan():
        print(tag)

For more complicated examples including threading, and motion detection, see examples directory.

About

A simple and clean Python library for RuuviTag

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages