Code Monkey home page Code Monkey logo

libetrv's Introduction

libetrv

CircleCI

Library is currently under development and it is not design to be used by end user

Monitor and control your eTRV from Python. Recently Danfoss has released new TRVs that can be controlled over Bluetooth Low Energy. This library will allow connect this devices and control them.

Application was developed on a Raspberry Pi B+, but should work fine on any Linux based system with Bluetooth LE device.

Supported Devices

All supported and tested devices:

  • Danfoss Eco Bluetooth LE - WIP

Installation

This software requires at least Python 3.5. All required packages are listed in file requirements.txt.

Because software is under development there is no direct way to install it on system and setup it as system service.

For development just create virtual env and install all requirements.

$ mkdir -p ~/venv/libetrv
$ python3 -m venv ~/venv/libetrv
$ source ~/venv/libetrv/bin/activate
$ pip3 install -r requirements.txt

Bluetooth Permissions

It is recommended to not start this app as root user. To avoid this you can allow python3 to access to Bluetooth interface

$ sudo apt-get install libcap2-bin
$ sudo setcap 'cap_net_raw,cap_net_admin+eip' `readlink -f \`which python3\``
$ sudo setcap 'cap_net_raw+ep' `readlink -f \`which hcitool\``

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.