Giter Club home page Giter Club logo

bluepy_devices's Introduction

bluepy_devices

Simplified BTLE Device Interface for bluepy

Setup

python3 setup.py build python3 setup.py install

or

pip3 install bluepy_devices

Provides a basic library to connect to a BTLE device, simplifying usage of bluepy.

CAVEAT: The device in question has to be disconnected from bluetoothd, since BTLE devices can only hold one connection at a time.

Supported devices:

EQ3 Bluetooth Smart

command-line client To test all available functionality a cli tool inside utils can be used.

EQ3_MAC environment variable can be used to define mac to avoid typing it:

export EQ3_MAC=XX:XX

Without parameters current state of the device is printed out.

python -m utils.eq3cli

MAC: XX:XX:XX:XX:XX:XX Mode: 2 = auto dst locked T: 20.0
Locked: True
Batter low: False
Window open: False
Boost: False
Current target temp: 20.0
Current mode: auto dst locked
Valve: 0

Getting & setting values.

python -m utils.eq3cli temp

Current target temp: 17.0

python -m utils.eq3cli temp --target 20

Current target temp: 17.0
Setting target temp: 20.0

For help, use --help

python3 -m utils.cli --help

Medisana BT440 and compatible bathroom scales

In development

bluepy_devices's People

Contributors

bimbar avatar jannau avatar rytilahti avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hydrelioxgithub

bluepy_devices's Issues

Add any type of devices

Hi,

I've just discovered your project by reading some Home Assistant code and I find it very interesting.

I'm using HA and i would like to add some bluetooth devices support. Mainly Bluetooth speaker or bluetooth smartbulb. Is your project only for Thermostat or are you open to include other kind of devices via PR ?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.