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
- 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
- Set up the environment:
uv sync
Development Setup
For development or if you want to run from source:
- Install Astral UV (Python package manager):
curl -LsSf https://astral.sh/uv/install.sh | sh
- Set up the development environment:
uv sync
Usage
Connecting the Device
- Connect your DL24 device via Bluetooth in serial port mode
- 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 4Atest_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dl24_dash-0.1.1.tar.gz.
File metadata
- Download URL: dl24_dash-0.1.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de8b49cf1ca200224201036ef65ab361fc04e25b8719a564ac79f35c93817d36
|
|
| MD5 |
c96a5a1e760241c48a1ed69a3dca6a15
|
|
| BLAKE2b-256 |
b983118e5bbcb76873ca89ad49d691aaea3cfc2272b9ddda2bf10bc0425c7379
|
File details
Details for the file dl24_dash-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dl24_dash-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea4b03e7a7d2d46b21f3da3f7a2cded7e99c36bfa6de59a6fc32adbb849b8445
|
|
| MD5 |
40dbeebe7585bf33a98a8d7ad0aec0e9
|
|
| BLAKE2b-256 |
96e065ded37f7134a9c9350f3b313de02c783168404fa85a8fa61629d626fa34
|