Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make things configurable #412

Merged
merged 15 commits into from
Jan 14, 2023
Merged

Conversation

ppuetsch
Copy link
Contributor

Now the configuration is back in - see
#389
#386
for previous discussions on that topic.

additionally, I made the bms_type configurable. If not set, behaviour is as before. But if configured, only the configured BMS will be tested. This will improve time-to-detection of the BMS after reoboot or deployment quite a bit.

I would suggest to update the documentation, in special the wiki, to reflect the changes here. A user is supposed to create a config.ini with his changes - maybe based on default_config.ini - but should NOT modify utils.py

Philip Puetsch and others added 15 commits January 5, 2023 11:50
* Fixes to cell voltage, temp and version

(cherry picked from commit 3b68ea6)
* automate release generation

* make shell scripts +x

* add yaml

* rely on gh line ending conventions, simplify buildfiles.lst

* add gitattributes

* set file properties for run scripts to +x

Co-authored-by: Philip Puetsch <[email protected]>

(cherry picked from commit ce601fb)
# Conflicts:
#	etc/dbus-serialbattery/utils.py
@Louisvdw Louisvdw changed the title Make thigs configurable Make things configurable Jan 14, 2023
Copy link
Owner

@Louisvdw Louisvdw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. This will work great. I'll update the wiki docs as well.

@Louisvdw Louisvdw merged commit ffdd8ec into Louisvdw:master Jan 14, 2023
@mr-manuel
Copy link
Collaborator

@ppuetsch would it be better, if the default_config.ini is named config.default.ini so that in file explorer the default config and config files are nearby? Also if someone searches for config it's easier to find. What do you think?

@ppuetsch
Copy link
Contributor Author

@ppuetsch would it be better, if the default_config.ini is named config.default.ini so that in file explorer the default config and config files are nearby? Also if someone searches for config it's easier to find. What do you think?

Sound good!

@mr-manuel
Copy link
Collaborator

mr-manuel commented Feb 17, 2023

Done #468. I added also missing descriptions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants