Skip to content

heeplr/SolixBLE

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolixBLE

Python module for monitoring Anker Solix Solarbank power stations over Bluetooth based on the code from flip-dots.

This Python module enables you to monitor Anker Solix Solarbank 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, charge/discharge, temperature
  • ⚡ Total Power In/Out
  • 🔌 Total AC Power Out
  • 🚗 Total Solar Power In/Out
  • ☀️ Solar Power In (- 💡 Light bar status)
  • 🔂 Simple structure
  • ✔️ More emojis than strictly necessary

Supported Devices

  • Solarbank 2 Pro
  • 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

solixble.py is a standalone example that outputs status messages as one json dictionary per line.

About

Unofficial Python module for recieving telemetry from Anker Solix power stations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%