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.0.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.0-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: solixble-2.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b265a133dddc1e5ace83d4dfb8aa57c1eb30dd03dab65e562ff6694e6d815310
MD5 9ba67193dc69595cc3ca8640811fab15
BLAKE2b-256 0f84a16c4e8ebff84330b0855fd42071ae6981053d4b474e894496d4daa9529b

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: solixble-2.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff3fb5620d685120f99e4ec0dcba812d0e7fe55ca5584d73e15cd4d456b60680
MD5 86255c01be6e1e0f0e81acfb5010b7a8
BLAKE2b-256 12b14269860c972c581cafb631a0e0e4a8dc9f190baba3be97bb9b3ac5abbb40

See more details on using hashes here.

Provenance

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