[ ] If your BMS needs custom settings that the user should be able to change, add it below the ; --------- BMS specific settings --------- section in the etc/dbus-serialbattery/config.default.ini
[ ] Make sure the GitHub Actions run fine in your repository. In order to make the GitHub Actions run please select in your repository settings under Actions -> General -> Actions permissions the option Allow all actions and reusable workflows. Check also in your repository settings under Actions -> General -> Workflow permissions if Read and write permissions are selected. After this changes you have to make a new commit, if you don't see any Actions run. This will check your code for Flake8 and Black Lint errors. Here is a short instruction on how to set up Flake8 and Black Lint checks in VS Code. This will save you a lot of time.
Adding a driver for EG4-LL 12v BMS.
etc/dbus-serialbattery/dbus-serialbattery.py
docs/docs/general/features.md
docs/docs/general/supported-bms.md
*
self.max_battery_charge_current
andself.max_battery_discharge_current
with values read from the BMSself.unique_identifier
with a unique value to distinguish the BMS in a multiple battery setupdocs/docs/general/install.md
; --------- BMS specific settings ---------
section in theetc/dbus-serialbattery/config.default.ini
Actions
->General
->Actions permissions
the optionAllow all actions and reusable workflows
. Check also in your repository settings underActions
->General
->Workflow permissions
ifRead and write permissions
are selected. After this changes you have to make a new commit, if you don't see any Actions run. This will check your code for Flake8 and Black Lint errors. Here is a short instruction on how to set up Flake8 and Black Lint checks in VS Code. This will save you a lot of time.