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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file cometblue-asyncio-0.9.2.tar.gz.

File metadata

  • Download URL: cometblue-asyncio-0.9.2.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for cometblue-asyncio-0.9.2.tar.gz
Algorithm Hash digest
SHA256 324edaea90c12cf85d1f282172a73be76a06033e4e6c3e5aaec5e5f8100404e1
MD5 da1295cb969cd82583f8167d04e524c4
BLAKE2b-256 e63255c5d206c6abd3109d7d773601987dd8c61379b970a585e2948532e0e855

See more details on using hashes here.

File details

Details for the file cometblue_asyncio-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cometblue_asyncio-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f57f011dcb87973d8310917fb0b0b74471f5f7b28e3d4ca451711de40dac5fb
MD5 c69a073587bee7a727b6ca169441098f
BLAKE2b-256 d0b0146d4ba01f7c1ac1dde0cf85fb78bba3317ab75ebad6f34066548d849eb4

See more details on using hashes here.

Supported by

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