Skip to main content

Python library for interacting with the Eurotronic Comet Blue thermostatic radiator valve based on bleak using asyncio.

Project description

cometblue-asyncio

This is a Python library for interacting with the Eurotronic Comet Blue thermostatic radiator valves and their clones (see below).

It is a refactored fork of https://github.com/zero-udo/eurotronic-cometblue with additional credits to https://github.com/rikroe and Thorsten Tränker.

What sets it aside from other Comet Blue libraries?

  • It is built on https://github.com/hbldh/bleak, which is well-designed, up-to-date and functional. Do you know that e.g. pygatt will only work under root, because it will fully restart your system BlueZ service upon every connection? I had serious issues with that until I switched to bleak.

  • It is simple, minimalistic and does only what you ask for. The bluetooth communication is minimal, it only sends the commands that you explicitly request. Some other libs try to e.g. download everything on first/each connection, which takes forever.

  • Partially refactored towards being Pythonic with no scaffolding code with hidden typos. API expects sane programmers, no babysitting through excess sanitization of unthinkable input combinations.

Compatible devices

I have tested it on Silvercrest RT2000BT. The original library was tested on Eurotronic Comet Blue and Sygonix HT100 BT. It should also work on Xavax Hama (untested).

My own Silvercrest RT2000BT has the issue that it sometimes randomly messes up its programmed weekly schedule. The frequency with which it happens is correlated with the the frequency of bluetooth communication, however it is not caused by this library specifically, because it happens even if I only use the original Eurotronic Android app (any of the 2 versions). The solution for me is to check the schedule every few connections and correct it programatically.

Installation

pip install cometblue-asyncio

Usage

Sorry, so far no more documenation than:

from cometblue_asyncio import CometBlue

help(CometBlue)

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

cometblue-asyncio-0.9.2.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

cometblue_asyncio-0.9.2-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

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