Table of Contents
BiogasControllerApp has a few configuration options. You can change them by changing the config.ini file in the same folder you can find the main python script and executable.
There are four different categories of configuration options, order by importance.
The config is validated before startup and any misconfiguration will not stop the app from starting, as all options are validated on startup and invalid options are ignored and defaults are used for them. If [Dev] verbose is set to True, then a list of all config errors is printed during startup.
Connection
These options concern themselves with the connection that is established to the microcontroller. They are:
port_overridewhere you can set a specific COM port (on Windows) or a file-path (on Linux) and defaults toNonebaudrateThe baudrate at which the controller communicates. Has to be an integer and defaults to19200filtersThe device filter used during comport assignment. If you are using this with another adapter cable than the prolific ones, you will need to update this list, but due to theUSB-Serial Controlleritem in the list, it will likely also be found.
UI
Since the 3.1.0 update for BiogasControllerApp, this section has quite a few options. They are:
heightthe default height of the window when it opens. Has to be an integer and defaults to600widththe default width of the window when it opens. Has to be an integer and defaults to800themeWhether to useDarkorLightmode. Defaults toDarkprimary_colorThe UI's primary color, Material Colors are extracted from that. Defaults toGreenaccent_colorThe UI's accent color, Material Colors are extracted from that. Defaults toLime
Dev
These settings should only be interesting to you if you plan to do some changes to BiogasControllerApp or if you have run into an issue. They are:
verboseWhether to show debug output in the console. Has to be a boolean and defaults toFalseuse_test_libraryWhether to use the test library. This library will allow you to use BiogasControllerApp as if you are connected to a controller without actually being connected and thus is essentially a simulator. Has to be a boolean and defaults toFalsefail_simOne out how many (your number + 1) times the connection should fail when simulating (only in effect whenuse_test_libraryisTrue. Has to be an integer and defaults to20.
Tariffs
These settings are just for fun and are highly recommended not to use. Will make your imports slower. The rates are in percent, so value 50 there is 50%
Copyright 2022-2025 janishutz.
This Project is licensed under the GPL V3 license and as such, you may redistribute this app as you see need / fit / want to. You may modify the code and redistribute the app. BUT, all of this under one condition: you need to reuse the same license as this project does. If you intend to fork this project, please familiarize yourself with the GNU General Public License V3 before doing so.