Skip to content

Instantly share code, notes, and snippets.

@enkiusz
enkiusz / zketech-ebc-a20.py
Last active April 20, 2025 09:26
ZKETECH EBC-A20 Control code
#!/usr/bin/env python3
"""
A simple CLI tool to control and monitor the ZKETECH EBC-A20 battery
tester from https://www.zketech.com/en/
It can trigger charge or discharge as well as perform charge-discharge
cycles to measure battery capacity.
Currenly only the CC (Constant Current) load type is implemented, the
CP (Constant Power) load type is a simple fixme. Additionally, some