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 cryptography pycryptodome

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-3.0.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

solixble-3.0.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for solixble-3.0.0.tar.gz
Algorithm Hash digest
SHA256 a36707f46cded1b6043b33864b855bd80a13d0df063da10f16e6c2bd3c0e30aa
MD5 2dfc4ceb4d8ff8a722ccfc93a55e08c5
BLAKE2b-256 b25eff05f4644ab0b8c8312e149eded445a602e4ec2275e2d2ad55ff265ebd49

See more details on using hashes here.

Provenance

The following attestation bundles were made for solixble-3.0.0.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-3.0.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for solixble-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 46927c548fc839c7365462ace055de721ee958e3691d1f2380af1e563cbd8385
MD5 e0bb959be76ffde1cc6f6c5a47da1ce2
BLAKE2b-256 7915acc1e93820296cefbe28a3ca37090559888101287fdc5faa2d0bdde8f065

See more details on using hashes here.

Provenance

The following attestation bundles were made for solixble-3.0.0-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