Skip to main content

Python module for monitoring Bluetooth Anker Solix devices

Project description

SolixBLE

PyPI Status Black

Python module for monitoring Anker Solix power stations over Bluetooth.

This Python module enables you to monitor Anker Solix devices directly from your computer, without the need for any cloud services or Anker app. It leverages the Bleak library to interact with Bluetooth Anker Solix power stations. No pairing is required in order to receive telemetry data.

Features

  • 🔋 Battery percentage
  • ⚡ Total Power In/Out
  • 🔌 AC Power In/Out (Exl DC on C1000)
  • 🚗 DC Power In/Out (Exl DC on C1000)
  • ⏰ AC/DC Timer value (Exl DC on C1000)
  • ⏲️ Time remaining to full/empty
  • ☀️ Solar Power In
  • 📱 USB Port Status (Not on C1000)
  • 💡 Light bar status (Not on C1000)
  • 🔂 Simple structure
  • ✔️ More emojis than strictly necessary

Supported Devices

  • C300X
  • C1000
  • Maybe more? IDK

Requirements

  • 🐍 Python 3.11+
  • 📶 Bleak 0.19.0+
  • 📶 bleak-retry-connector

Supported Operating Systems

  • 🐧 Linux (BlueZ)
    • Ubuntu Desktop
    • Arch (HomeAssistant OS)
  • 🏢 Windows
    • Windows 10
  • 💾 Mac OSX
    • Maybe?

Installation

PIP

pip install SolixBLE

Manual

SolixBLE consists of a single file (SolixBLE.py) which you can simply put in the same directory as your program. If you are using manual installation make sure the dependencies are installed as well.

pip install bleak bleak-retry-connector

Adding support for new devices

See the Generic class inside SolixBLE.py for guidance on how to add support for new devices.

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

solixble-2.1.1.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

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

solixble-2.1.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file solixble-2.1.1.tar.gz.

File metadata

  • Download URL: solixble-2.1.1.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for solixble-2.1.1.tar.gz
Algorithm Hash digest
SHA256 e9c6412bf5d4c9dcd1d4c1066a3bdc032c8b484aa38d1435ca4261af555fd232
MD5 b5f0db00ea1f0b5c1a1e54130c6b8b07
BLAKE2b-256 d941a69651f4d81b7cb388b82232a1afe4e645b08bb259791dcbcd882e438c42

See more details on using hashes here.

Provenance

The following attestation bundles were made for solixble-2.1.1.tar.gz:

Publisher: publish-to-pypi.yml on flip-dots/SolixBLE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file solixble-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: solixble-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for solixble-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5d8150fd56a760ed7facbbe7a5700322cdc1d87148dbfc0f89ba7b58978f6dab
MD5 d495ed541ad7a7368ecbceba1103a342
BLAKE2b-256 19e354b8ee0d99b24f5eaaf04247909d141fe5f94c24c2d268f662ad3d7bb32b

See more details on using hashes here.

Provenance

The following attestation bundles were made for solixble-2.1.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on flip-dots/SolixBLE

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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