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.
- 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
- Python 3.x
- Bluetooth connectivity
- DL24 electronic load device
- Install using pip:
pip install dl24-dashOr 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 syncFor 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- 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)
Start a new monitoring session:
uv run dl24-dash monitor --start-new-session --current 4 test_dischargeParameters:
--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/
Compare multiple discharge sessions:
uv run dl24_dash/main.py plot data1 data2 data3The tool will:
- Scan specified directories for CSV files
- Generate an interactive comparison chart
- Display results at http://127.0.0.1:8050/
For additional information and command options:
uv run dl24_dash/main.py --help