anker-rs
A tiny Rust library (anker_solix) and CLI (anker) for monitoring and
controlling Anker SOLIX portable power stations over Bluetooth LE โ no
cloud, no account, and no 200 MB app.
Confirmed working on real hardware against a SOLIX C1000 Gen 2 (A1763): telemetry read, AC/DC output control, and the full encrypted handshake.
Features
- ๐ Scan for nearby SOLIX devices
- ๐ Full ECDH (secp256r1) + AES-128-CBC session negotiation (matches app firmware)
- ๐ Battery %, health, charge limits, temperature
- โก Power in/out and per-port status/watts (AC, DC 12 V, solar, USB-C/A)
- ๐๏ธ Toggle AC and DC outputs
- ๐งพ Serial / part number / firmware
- ๐ค Text or JSON output
Supported models
| Model | Telemetry | Control | Notes |
|---|---|---|---|
| C1000 Gen 2 (A1763) | โ tested | โ tested | Needs 4100 subscribe; telemetry on c421/c900; AC 4101, DC 4102 |
| C300 / C800 / C1000 gen 1, F2000, F3800 | โ ๏ธ implemented | โ ๏ธ implemented | Gen-1 layout; not yet verified here |
Model is auto-detected from the advertised BLE name.
Build
macOS: grant your terminal app Bluetooth permission (System Settings โ Privacy & Security โ Bluetooth) or scans return nothing. macOS also masks the MAC address, so target devices by name.
Usage
# List nearby stations
# One telemetry snapshot (targets a name substring by default: "C1000")
# Live stream until Ctrl-C
# Control outputs
Global flags: -d/--device <name|mac>, --scan-secs <n>, -f/--format text|json,
-v / -vv for logging.
Library
use Device;
use Duration;
async
How it works
- Discover โ scan for the advertised identifier service
0000ff09-โฆ. - Negotiate โ a fixed 6-stage handshake on the command characteristic
(
8c85_0002-โฆ). The client private key is fixed, so every outbound frame is constant; the station returns an ephemeral public key which is combined via ECDH into a 32-byte secret (key = first 16 bytes, IV = last 16). - Session โ telemetry arrives on the notify characteristic (
8c85_0003-โฆ) as0xFF09-framed packets, reassembled from fragments and AES-CBC decrypted into TLV parameters. Commands are encrypted the same way with a rolling timestamp for replay protection.
Credits & disclaimer
Protocol details are based on the excellent reverse-engineering in flip-dots/SolixBLE (MIT). This project is unofficial and not affiliated with Anker. Use at your own risk.
License
MIT