Skip to main content

A tool for DL24 electronic load device with support for data visualization using dash.

Project description

DL24-Dash

A Python-based CLI tool for monitoring and visualizing data from DL24 electronic load devices. This tool provides real-time monitoring capabilities and data visualization through an interactive dashboard.

Features

  • Real-time discharge monitoring
  • Automatic data logging to CSV files
  • Interactive data visualization dashboard
  • Support for comparing multiple discharge sessions
  • Bluetooth serial communication with DL24 devices

Prerequisites

  • Python 3.x
  • Bluetooth connectivity
  • DL24 electronic load device

Installation

  1. Install using pip:
pip install dl24-dash

Or using UV (faster alternative):

# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install DL24-Dash
uv tool install dl24-dash
  1. Set up the environment:
uv sync

Development Setup

For development or if you want to run from source:

  1. Install Astral UV (Python package manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Set up the development environment:
uv sync

Usage

Connecting the Device

  1. Connect your DL24 device via Bluetooth in serial port mode
  2. The device should be available at /dev/rfcomm0 (path may vary depending on your system)

Monitoring Tool

Start a new monitoring session:

uv run dl24-dash monitor --start-new-session --current 4 test_discharge

Parameters:

  • --start-new-session: Initiates a new monitoring session
  • --current 4: Sets the discharge current to 4A
  • test_discharge: Session name for data storage

The monitoring dashboard will be available at http://127.0.0.1:8050/

Plotting Tool

Compare multiple discharge sessions:

uv run dl24_dash/main.py plot data1 data2 data3

The tool will:

  • Scan specified directories for CSV files
  • Generate an interactive comparison chart
  • Display results at http://127.0.0.1:8050/

Help

For additional information and command options:

uv run dl24_dash/main.py --help

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

dl24_dash-0.1.3.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dl24_dash-0.1.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file dl24_dash-0.1.3.tar.gz.

File metadata

  • Download URL: dl24_dash-0.1.3.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for dl24_dash-0.1.3.tar.gz
Algorithm Hash digest
SHA256 69ccc260abf5b07d0c702a7377c10dfc5f2658f4df42ec30823b335f155913d7
MD5 e915ce09523a8cd3fd0aabddb4a9df3f
BLAKE2b-256 7847942917622ea99cc8efd09a2d328c99eeeb7b3d4c8b8f1430fbbe761318e4

See more details on using hashes here.

File details

Details for the file dl24_dash-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: dl24_dash-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.10

File hashes

Hashes for dl24_dash-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7fb15c2d5af2fac78d52f739ebc74296be010157feff919d28ab7bc859f943
MD5 77350d13476fdeefdef9e5373c3bee06
BLAKE2b-256 b1541e48a5a284d49af4286cbffa253df45aab05699e60116b22ffe50775937c

See more details on using hashes here.

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