Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charge Manager CM 2016

Open-source Linux GUI for the Voltcraft Charge Manager CM 2016 battery charger. Replaces the Windows-only CM2016 Logger V2.10 software with a native GTK 4 / libadwaita desktop application.

Features

  • Real-time monitoring of all 6 charging slots (4x AA/AAA + 2x 9V block)
  • Auto-detect CM2016 device via USB (Silicon Labs CP210x)
  • Data table with autoscroll, slot filtering, and clipboard support
  • Voltage and current charts with line/bar styles and time window control
  • Chart interaction -- drag zoom, scroll wheel, keyboard navigation, data point tooltips
  • Export to CSV and spreadsheet (.xlsx) with embedded charts
  • Print measurement reports (DIN A4/A3 landscape)
  • Save/load recording sessions with crash recovery
  • Sleep inhibit prevents system suspend during recording
  • 7 languages: English, German, French, Dutch, Italian, Spanish, Polish

The Device

CM 2016 front view with display CM 2016 angle view

CM 2016 type label

Screenshots

Data table with live recording:

Data Table

Voltage and current charts (line style):

Line Charts

Bar chart style:

Bar Charts

Port selection with auto-detect:

Port Dialog

Requirements

  • Linux with GTK 4.14+ and libadwaita 1.5+
  • Python 3.10+
  • System packages:
    • Debian/Ubuntu/Mint: sudo apt install python3-gi python3-gi-cairo gir1.2-gtk-4.0 gir1.2-adw-1
    • Fedora: sudo dnf install python3-gobject gtk4 libadwaita
    • Arch: sudo pacman -S python-gobject gtk4 libadwaita

Installation

Pre-built packages

Download from GitHub Releases:

  • Debian/Ubuntu/Mint: voltcraft-cm2016_0.1.2_all.deb
  • Fedora/openSUSE/RHEL: voltcraft-cm2016-0.1.2-1.noarch.rpm
# Debian/Ubuntu/Mint
sudo dpkg -i voltcraft-cm2016_0.1.2_all.deb

# Fedora/RHEL
sudo dnf install voltcraft-cm2016-0.1.2-1.noarch.rpm

# openSUSE
sudo zypper install voltcraft-cm2016-0.1.2-1.noarch.rpm

From source

git clone https://github.com/Kernel-Error/voltcraft-cm2016.git
cd voltcraft-cm2016
python3 -m venv --system-site-packages .venv
source .venv/bin/activate
pip install -e .

Usage

Connect the CM2016 via USB cable, then:

cm2016

The application auto-detects the device. Click Start Logging to begin recording.

See docs/manual.md for the full user manual.

Development

source .venv/bin/activate
ruff check src/ tests/          # Lint
ruff format src/ tests/         # Format
mypy src/                       # Type check
pytest                          # Run tests (202 tests)
pytest --cov=cm2016             # Tests with coverage

License

MIT -- Sebastian van de Meer aka Kernel-Error

About

Open-source Linux GTK4 GUI for the Voltcraft Charge Manager CM 2016 battery charger

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages