diff --git a/configs/config_mb_2023.py b/configs/config_mb_2023.py
index 8c239051f09e310fafc3fedd45bba9b958502922..b083d8459ab0f88b15c6ff26f45931ff5ce0abc7 100644
--- a/configs/config_mb_2023.py
+++ b/configs/config_mb_2023.py
@@ -27,19 +27,19 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux':  {'boards': {},
-             'default': {}
-             }
+                 'default': {}
+            }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__1_mux_2024_4roles.py b/configs/config_mb_2023__1_mux_2024_4roles.py
index c680e787aede93574db1648ffc4e11d21e563d41..fe490e0987dfe5155f0d2fc287fc7c5e834f97cc 100644
--- a/configs/config_mb_2023__1_mux_2024_4roles.py
+++ b/configs/config_mb_2023__1_mux_2024_4roles.py
@@ -27,30 +27,30 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__2_mux_2024_2roles.py b/configs/config_mb_2023__2_mux_2024_2roles.py
index dfe1e8f571fb54a431d54b1ea48f60c6937137d6..744b403718331d5b24f2fd04b301ebfe3fcef1c3 100644
--- a/configs/config_mb_2023__2_mux_2024_2roles.py
+++ b/configs/config_mb_2023__2_mux_2024_2roles.py
@@ -27,40 +27,40 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__2_mux_2024_4roles.py b/configs/config_mb_2023__2_mux_2024_4roles.py
index d017474db3b861485c2809eb1c2b271d941cfb08..ffa2f336a945cc76e410c3355d959c11e58870a2 100644
--- a/configs/config_mb_2023__2_mux_2024_4roles.py
+++ b/configs/config_mb_2023__2_mux_2024_4roles.py
@@ -27,38 +27,38 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__3_mux_2024_4roles.py b/configs/config_mb_2023__3_mux_2024_4roles.py
index 8ddcb1fd6ffdd7860e41a3a7a385d80c5a498052..1d4415c484059f0339edba9d2e8fcaafd9b2e88a 100644
--- a/configs/config_mb_2023__3_mux_2024_4roles.py
+++ b/configs/config_mb_2023__3_mux_2024_4roles.py
@@ -27,46 +27,46 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__4_mux_2023.py b/configs/config_mb_2023__4_mux_2023.py
index 1cdb3337380ed8e3d1b8b0aaaf36470e84c1effa..d087bc468eb808f4140cef421148947d41b5abcc 100644
--- a/configs/config_mb_2023__4_mux_2023.py
+++ b/configs/config_mb_2023__4_mux_2023.py
@@ -27,46 +27,46 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_A':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x70,
-                      'roles': 'A',
-                      'electrodes': range(1, 65),
-                      },
+                 {'mux_A':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x70,
+                          'roles': 'A',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_B':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x71,
-                      'roles': 'B',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x71,
+                          'roles': 'B',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_M':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x72,
-                      'roles': 'M',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x72,
+                          'roles': 'M',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_N':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x73,
-                      'roles': 'N',
-                      'electrodes': range(1, 65),
-                      }
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x73,
+                          'roles': 'N',
+                          'electrodes': range(1, 65),
+                          }
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__4_mux_2024_2roles.py b/configs/config_mb_2023__4_mux_2024_2roles.py
index 41a3821a0ccd408bf65fae6a1448fd239bdbc8ab..ef9c9955a9839da639d1b89c9d50937df54fc401 100644
--- a/configs/config_mb_2023__4_mux_2024_2roles.py
+++ b/configs/config_mb_2023__4_mux_2024_2roles.py
@@ -27,57 +27,57 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                 'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      }
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          }
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2023__4_mux_2024_4roles.py b/configs/config_mb_2023__4_mux_2024_4roles.py
index 9b7811cba34c938c0f6633ba9182baf8ef690d2a..3275eacae123061be553bf68ff7ffb2a1e71aafa 100644
--- a/configs/config_mb_2023__4_mux_2024_4roles.py
+++ b/configs/config_mb_2023__4_mux_2024_4roles.py
@@ -27,54 +27,54 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2023_0_X',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c'
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                },
     'rx':  {'model': 'mb_2023_0_X',
-            'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
-            'sampling_rate': 50.,  # number of samples per second
-            'interface_name': 'i2c',
-            },
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(25, 33),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(25, 33),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2.py b/configs/config_mb_2024_0_2.py
index c50c780baa3a4faab782635038b53b02775dcd58..fe49f9aa9d3d620272dd2445656500a37512174a 100644
--- a/configs/config_mb_2024_0_2.py
+++ b/configs/config_mb_2024_0_2.py
@@ -27,20 +27,20 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux':  {'boards': {},
-             'default': {}
-             }
+                 'default': {}
+            }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__1_mux_2024_4roles.py b/configs/config_mb_2024_0_2__1_mux_2024_4roles.py
index 0cea418e80e41233223bfc5e0da45b5e58dcdeb4..152605958e617f0db4f138680e572fdb17191c60 100644
--- a/configs/config_mb_2024_0_2__1_mux_2024_4roles.py
+++ b/configs/config_mb_2024_0_2__1_mux_2024_4roles.py
@@ -27,31 +27,31 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__1_mux_2024_4roles_dps5005.py b/configs/config_mb_2024_0_2__1_mux_2024_4roles_dps5005.py
index 5f5e892c976040688c1092d42d962183fb9964af..9b243ab8ff341e6a7eae0d3c76b3637abd2834c1 100644
--- a/configs/config_mb_2024_0_2__1_mux_2024_4roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__1_mux_2024_4roles_dps5005.py
@@ -27,31 +27,31 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__2_mux_2024_2roles.py b/configs/config_mb_2024_0_2__2_mux_2024_2roles.py
index 4f20345af46ffcaf3e47a344b0a253567f65ef93..3d7154c2f243f23df9cbffcf0b98b91b1d54cbbd 100644
--- a/configs/config_mb_2024_0_2__2_mux_2024_2roles.py
+++ b/configs/config_mb_2024_0_2__2_mux_2024_2roles.py
@@ -27,41 +27,41 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__2_mux_2024_2roles_dps5005.py b/configs/config_mb_2024_0_2__2_mux_2024_2roles_dps5005.py
index d676bf139eb20e832666aae828e60fbdcc57740f..ce6606bf196f945b4251116a3b8f7f7d216e5aad 100644
--- a/configs/config_mb_2024_0_2__2_mux_2024_2roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__2_mux_2024_2roles_dps5005.py
@@ -27,41 +27,41 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__2_mux_2024_4roles.py b/configs/config_mb_2024_0_2__2_mux_2024_4roles.py
index e762d93067694f48a605accfc5bd689e4123e8f5..78903cd0968e3855611a9a484b8d2fd76c7608d8 100644
--- a/configs/config_mb_2024_0_2__2_mux_2024_4roles.py
+++ b/configs/config_mb_2024_0_2__2_mux_2024_4roles.py
@@ -27,39 +27,39 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__2_mux_2024_4roles_dps5005.py b/configs/config_mb_2024_0_2__2_mux_2024_4roles_dps5005.py
index 0c87093c42529c33b464c40ac0f810c6ee4a415e..308cf8f19ccc45470a7edcf7fa03c158e5d371c6 100644
--- a/configs/config_mb_2024_0_2__2_mux_2024_4roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__2_mux_2024_4roles_dps5005.py
@@ -27,39 +27,39 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__3_mux_2024_4roles.py b/configs/config_mb_2024_0_2__3_mux_2024_4roles.py
index 76b13766db7c82956a58cc02e2195a82ac27c3b2..038e010e20909c675d6caa655933d92aa10ac6c6 100644
--- a/configs/config_mb_2024_0_2__3_mux_2024_4roles.py
+++ b/configs/config_mb_2024_0_2__3_mux_2024_4roles.py
@@ -27,47 +27,47 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__3_mux_2024_4roles_dps5005.py b/configs/config_mb_2024_0_2__3_mux_2024_4roles_dps5005.py
index c18fd070356468017a7faf3263fc85661a7e2b07..bf36420f6c3bbdbd817ac316b0aa11ef9df1d0ae 100644
--- a/configs/config_mb_2024_0_2__3_mux_2024_4roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__3_mux_2024_4roles_dps5005.py
@@ -27,47 +27,47 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2023.py b/configs/config_mb_2024_0_2__4_mux_2023.py
index a66058722ebe7dee6e3ab7feb452dd1fd00eed1e..9d226ec5b4c7103038aad7b89e27a8f12199ad58 100644
--- a/configs/config_mb_2024_0_2__4_mux_2023.py
+++ b/configs/config_mb_2024_0_2__4_mux_2023.py
@@ -27,47 +27,47 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_A':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x70,
-                      'roles': 'A',
-                      'electrodes': range(1, 65),
-                      },
+                 {'mux_A':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x70,
+                          'roles': 'A',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_B':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x71,
-                      'roles': 'B',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x71,
+                          'roles': 'B',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_M':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x72,
-                      'roles': 'M',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x72,
+                          'roles': 'M',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_N':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x73,
-                      'roles': 'N',
-                      'electrodes': range(1, 65),
-                      }
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x73,
+                          'roles': 'N',
+                          'electrodes': range(1, 65),
+                          }
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2023_dps5005.py b/configs/config_mb_2024_0_2__4_mux_2023_dps5005.py
index 16a2af4bd8182373f5e3260783890256ef9c927a..f4117794acf3ee5113cb3f36085044a16cd12420 100644
--- a/configs/config_mb_2024_0_2__4_mux_2023_dps5005.py
+++ b/configs/config_mb_2024_0_2__4_mux_2023_dps5005.py
@@ -27,47 +27,47 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_A':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x70,
-                      'roles': 'A',
-                      'electrodes': range(1, 65),
-                      },
+                 {'mux_A':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x70,
+                          'roles': 'A',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_B':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x71,
-                      'roles': 'B',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x71,
+                          'roles': 'B',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_M':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x72,
-                      'roles': 'M',
-                      'electrodes': range(1, 65),
-                      },
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x72,
+                          'roles': 'M',
+                          'electrodes': range(1, 65),
+                          },
                  'mux_N':
-                     {'model': 'mux_2023_0_X',
-                      'mux_tca_address': 0x73,
-                      'roles': 'N',
-                      'electrodes': range(1, 65),
-                      }
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x73,
+                          'roles': 'N',
+                          'electrodes': range(1, 65),
+                          }
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2024_2roles.py b/configs/config_mb_2024_0_2__4_mux_2024_2roles.py
index c7b42fd4f3e000f73abc7c05e642a2e0fe3b86d1..3964999ea7775ad238e6fa867682ce5696793d1e 100644
--- a/configs/config_mb_2024_0_2__4_mux_2024_2roles.py
+++ b/configs/config_mb_2024_0_2__4_mux_2024_2roles.py
@@ -27,58 +27,58 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                 'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      }
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          }
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2024_2roles_dps5005.py b/configs/config_mb_2024_0_2__4_mux_2024_2roles_dps5005.py
index 01e6f7696622945ccb03f6f4e37cd1cac4a94fb2..ca363d44f87bbf58baedc91f86d9ba1ebe72682b 100644
--- a/configs/config_mb_2024_0_2__4_mux_2024_2roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__4_mux_2024_2roles_dps5005.py
@@ -27,58 +27,58 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
-                 'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(1, 17),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      },
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },
                 'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['A', 'B'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'roles': ['M', 'N'],
-                      'electrodes': range(17, 33),
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,
-                      }
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          }
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2024_4roles.py b/configs/config_mb_2024_0_2__4_mux_2024_4roles.py
index ffbca77a8e4f1628b268f05c099996e6ede5cb6b..e2610c364163b3a1b5bd6d836c49d2e91f00ffbd 100644
--- a/configs/config_mb_2024_0_2__4_mux_2024_4roles.py
+++ b/configs/config_mb_2024_0_2__4_mux_2024_4roles.py
@@ -27,55 +27,55 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(25, 33),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(25, 33),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2__4_mux_2024_4roles_dps5005.py b/configs/config_mb_2024_0_2__4_mux_2024_4roles_dps5005.py
index 7eaa1a72a5602e0e9715dc9135fea700acb77fbd..0e152d39ffe4a9f30aed7bfe7a5546b72f7d1eb9 100644
--- a/configs/config_mb_2024_0_2__4_mux_2024_4roles_dps5005.py
+++ b/configs/config_mb_2024_0_2__4_mux_2024_4roles_dps5005.py
@@ -27,55 +27,55 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux': {'boards':
                 {'mux_01':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(1, 9),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_02':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(9, 17),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'up',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  'mux_03':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(17, 25),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'up',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                 'mux_04':
-                     {'model': 'mux_2024_0_X',
-                      'electrodes': range(25, 33),
-                      'roles': ['A', 'B', 'M', 'N'],
-                      'addr1': 'down',
-                      'addr2': 'down',
-                      'tca_address': None,
-                      'tca_channel': 0,},
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(25, 33),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},
                  },
-             'default': {'interface_name': 'i2c_ext',
-                         'voltage_max': 50.,
-                         'current_max': 3.}
-            }
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/configs/config_mb_2024_0_2_dps5005.py b/configs/config_mb_2024_0_2_dps5005.py
index 157e35b043e844a518a16bd8b7cf0dab1209262e..53975cc44b6410f648569699f942d273007f67ce 100644
--- a/configs/config_mb_2024_0_2_dps5005.py
+++ b/configs/config_mb_2024_0_2_dps5005.py
@@ -27,20 +27,20 @@ HARDWARE_CONFIG = {
     'ctl': {'model': 'raspberry_pi'},
     'pwr': {'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},
     'tx':  {'model': 'mb_2024_0_2',
-             'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
-             'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
-             'r_shunt': r_shunt,  # Shunt resistance in Ohms
-             'interface_name': 'i2c',
-             'vmn_hardware_offset': 2500.
-            },
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                },
     'rx':  {'model': 'mb_2024_0_2',
-             'latency': 0.010,  # latency in seconds in continuous mode
-             'sampling_rate': 50,  # number of samples per second
-             'interface_name': 'i2c',
-            },
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                },
     'mux':  {'boards': {},
-             'default': {}
-             }
+                 'default': {}
+            }
 }
 # SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
 # Execution logging configuration
diff --git a/ohmpi/utils.py b/ohmpi/utils.py
index c1c45595b5bb6556da8e2f2a79780350d4a07706..6b3d4eb1d7398c3868f8ca2464bdb2dcb4a789de 100644
--- a/ohmpi/utils.py
+++ b/ohmpi/utils.py
@@ -130,6 +130,7 @@ def mux_2024_to_mux_2023_takeouts(elec_list):
 
     return np.vectorize(mapper.get)(elec_list)
 
+
 def mux_2023_to_mux_2024_takeouts(elec_list):
     """ Updates cabling for mux v2023 so that takeouts are similar to takeouts from mux v2024.
     This is only useful when replacing mux v2023 installations or re-using old test circuits.
@@ -143,4 +144,306 @@ def mux_2023_to_mux_2024_takeouts(elec_list):
     mapper = { 1: 2, 2: 4, 3: 6, 4: 8, 5: 10, 6: 12, 7: 14, 8: 16,
                9: 15, 10: 13, 11: 11, 12: 9, 13: 7, 14: 5, 15: 3, 16: 1,}
 
-    return np.vectorize(mapper.get)(elec_list)
\ No newline at end of file
+    return np.vectorize(mapper.get)(elec_list)
+
+
+def generate_preset_configs(configs_to_generate=None):
+    """ Generates preset configuration files
+
+   Parameters
+   ----------
+   configs_to_generate: list, None default: None
+        list of configuration names following the standard pattern
+   """
+
+    if configs_to_generate is None:
+        configs_to_generate = ['config_mb_2023.py', 'config_mb_2023__4_mux_2023.py',
+                               'config_mb_2023__1_mux_2024_4roles.py', 'config_mb_2023__2_mux_2024_4roles.py',
+                               'config_mb_2023__3_mux_2024_4roles.py', 'config_mb_2023__4_mux_2024_4roles.py',
+                               'config_mb_2023__2_mux_2024_2roles.py', 'config_mb_2023__4_mux_2024_2roles.py',
+                               'config_mb_2024_0_2.py', 'config_mb_2024_0_2_dps5005.py',
+                               'config_mb_2024_0_2__4_mux_2023.py', 'config_mb_2024_0_2__4_mux_2023_dps5005.py',
+                               'config_mb_2024_0_2__1_mux_2024_4roles.py',
+                               'config_mb_2024_0_2__1_mux_2024_4roles_dps5005.py',
+                               'config_mb_2024_0_2__2_mux_2024_4roles.py',
+                               'config_mb_2024_0_2__2_mux_2024_4roles_dps5005.py',
+                               'config_mb_2024_0_2__2_mux_2024_2roles.py',
+                               'config_mb_2024_0_2__2_mux_2024_2roles_dps5005.py',
+                               'config_mb_2024_0_2__3_mux_2024_4roles.py',
+                               'config_mb_2024_0_2__3_mux_2024_4roles_dps5005.py',
+                               'config_mb_2024_0_2__4_mux_2024_4roles.py',
+                               'config_mb_2024_0_2__4_mux_2024_4roles_dps5005.py',
+                               'config_mb_2024_0_2__4_mux_2024_2roles.py',
+                               'config_mb_2024_0_2__4_mux_2024_2roles_dps5005.py'
+                               ]
+
+    header = """import logging
+from ohmpi.utils import get_platform
+from paho.mqtt.client import MQTTv31  # noqa
+
+_, on_pi = get_platform()
+# DEFINE THE ID OF YOUR OhmPi
+ohmpi_id = '0001' if on_pi else 'XXXX'
+# DEFINE YOUR MQTT BROKER (DEFAULT: 'localhost')
+mqtt_broker = 'localhost' if on_pi else 'NAME_YOUR_BROKER_WHEN_IN_SIMULATION_MODE_HERE'
+# DEFINE THE SUFFIX TO ADD TO YOUR LOGS FILES
+logging_suffix = ''
+
+# OhmPi configuration
+OHMPI_CONFIG = {
+    'id': ohmpi_id,  # Unique identifier of the OhmPi board (string)
+    'settings': 'ohmpi_settings.json',  # INSERT YOUR FAVORITE SETTINGS FILE HERE
+}
+
+r_shunt = 2.
+
+# default properties of system components that will be
+# overwritten by properties defined in each the board dict below.
+# if bounds are defined in board specs, values out of specs will be bounded to remain in specs
+# omitted properties in config will be set to board specs default values if they exist
+
+HARDWARE_CONFIG = {
+    'ctl': {'model': 'raspberry_pi'},
+    'pwr': """
+
+    r_shunt = 2.
+    options = {'pwr': {'battery': """{'model': 'pwr_batt', 'voltage': 12., 'interface_name': 'none'},""",
+                       'dps5005': """{'model': 'pwr_dps5005', 'voltage': 3., 'interface_name': 'modbus'},"""
+                       },
+               'mb': {'mb_2024_0_2': {'tx': """{'model': 'mb_2024_0_2',
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c',
+                 'vmn_hardware_offset': 2500.
+                }""",
+                                      'rx': """{'model': 'mb_2024_0_2',
+                 'latency': 0.010,  # latency in seconds in continuous mode
+                 'sampling_rate': 50,  # number of samples per second
+                 'interface_name': 'i2c',
+                }"""},
+                      'mb_2023': {'tx': """{'model': 'mb_2023_0_X',
+                 'voltage_max': 50.,  # Maximum voltage supported by the TX board [V]
+                 'current_max': 4.80/(50*r_shunt),  # Maximum voltage read by the current ADC on the TX board [A]
+                 'r_shunt': r_shunt,  # Shunt resistance in Ohms
+                 'interface_name': 'i2c'
+                }""",
+                                  'rx': """{'model': 'mb_2023_0_X',
+                'coef_p2': 2.50,  # slope for conversion for ADS, measurement in V/V
+                'sampling_rate': 50.,  # number of samples per second
+                'interface_name': 'i2c',
+                }"""}
+                      },
+               'mux': {'mux_2023':
+                           ["""                 {'mux_A':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x70,
+                          'roles': 'A',
+                          'electrodes': range(1, 65),
+                          },""",
+                            """\n                 'mux_B':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x71,
+                          'roles': 'B',
+                          'electrodes': range(1, 65),
+                          },""",
+                            """\n                 'mux_M':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x72,
+                          'roles': 'M',
+                          'electrodes': range(1, 65),
+                          },""",
+                            """\n                 'mux_N':
+                         {'model': 'mux_2023_0_X',
+                          'mux_tca_address': 0x73,
+                          'roles': 'N',
+                          'electrodes': range(1, 65),
+                          }"""],
+                       'mux_2024_2roles':
+                           ["""                 {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },""",
+                            """\n                 'mux_02':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(1, 17),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          },""",
+                            """\n                'mux_03':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['A', 'B'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},""",
+                            """\n                'mux_04':
+                         {'model': 'mux_2024_0_X',
+                          'roles': ['M', 'N'],
+                          'electrodes': range(17, 33),
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,
+                          }"""],
+                       'mux_2024_4roles': [
+                           """                {'mux_01':
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(1, 9),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},""",
+                           """\n                 'mux_02':
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(9, 17),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'up',
+                          'tca_address': None,
+                          'tca_channel': 0,},""",
+                           """\n                 'mux_03':
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(17, 25),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'up',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},""",
+                           """\n                'mux_04':
+                         {'model': 'mux_2024_0_X',
+                          'electrodes': range(25, 33),
+                          'roles': ['A', 'B', 'M', 'N'],
+                          'addr1': 'down',
+                          'addr2': 'down',
+                          'tca_address': None,
+                          'tca_channel': 0,},"""]
+                       }
+               }
+    mux_footer = {'mb_2023': """\n                 },
+            'default': {'interface_name': 'i2c',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }\n}\n""",
+                  'mb_2024_0_2': """\n                 },
+            'default': {'interface_name': 'i2c_ext',
+                             'voltage_max': 50.,
+                             'current_max': 3.}
+                }\n}\n"""}
+
+    footer = """# SET THE LOGGING LEVELS, MQTT BROKERS AND MQTT OPTIONS ACCORDING TO YOUR NEEDS
+# Execution logging configuration
+EXEC_LOGGING_CONFIG = {
+    'logging_level': logging.INFO,
+    'log_file_logging_level': logging.DEBUG,
+    'logging_to_console': True,
+    'file_name': f'exec{logging_suffix}.log',
+    'max_bytes': 262144,
+    'backup_count': 30,
+    'when': 'd',
+    'interval': 1
+}
+
+# Data logging configuration
+DATA_LOGGING_CONFIG = {
+    'logging_level': logging.INFO,
+    'logging_to_console': True,
+    'file_name': f'data{logging_suffix}.log',
+    'max_bytes': 16777216,
+    'backup_count': 1024,
+    'when': 'd',
+    'interval': 1
+}
+
+# State of Health logging configuration (For a future release)
+SOH_LOGGING_CONFIG = {
+    'logging_level': logging.INFO,
+    'logging_to_console': True,
+    'log_file_logging_level': logging.DEBUG,
+    'file_name': f'soh{logging_suffix}.log',
+    'max_bytes': 16777216,
+    'backup_count': 1024,
+    'when': 'd',
+    'interval': 1
+}
+
+# MQTT logging configuration parameters
+MQTT_LOGGING_CONFIG = {
+    'hostname': mqtt_broker,
+    'port': 1883,
+    'qos': 2,
+    'retain': False,
+    'keepalive': 60,
+    'will': None,
+    'auth': {'username': 'mqtt_user', 'password': 'mqtt_password'},
+    'tls': None,
+    'protocol': MQTTv31,
+    'transport': 'tcp',
+    'client_id': f'{OHMPI_CONFIG["id"]}',
+    'exec_topic': f'ohmpi_{OHMPI_CONFIG["id"]}/exec',
+    'exec_logging_level': logging.DEBUG,
+    'data_topic': f'ohmpi_{OHMPI_CONFIG["id"]}/data',
+    'data_logging_level': DATA_LOGGING_CONFIG['logging_level'],
+    'soh_topic': f'ohmpi_{OHMPI_CONFIG["id"]}/soh',
+    'soh_logging_level': SOH_LOGGING_CONFIG['logging_level']
+}
+
+# MQTT control configuration parameters
+MQTT_CONTROL_CONFIG = {
+    'hostname': mqtt_broker,
+    'port': 1883,
+    'qos': 2,
+    'retain': False,
+    'keepalive': 60,
+    'will': None,
+    'auth': {'username': 'mqtt_user', 'password': 'mqtt_password'},
+    'tls': None,
+    'protocol': MQTTv31,
+    'transport': 'tcp',
+    'client_id': f'{OHMPI_CONFIG["id"]}',
+    'ctrl_topic': f'ohmpi_{OHMPI_CONFIG["id"]}/ctrl'
+}
+"""
+
+    for mb, v_mb in options['mb'].items():
+        for n in range(0, 5):
+            for mux, v_mux in options['mux'].items():
+                for pwr, v_pwr in options['pwr'].items():
+                    config_filename = f'config_{mb}'
+                    if n > 0:
+                        config_filename += f'__{n}_{mux}'
+                    if pwr != 'battery':
+                        config_filename += f'_{pwr}'
+                    config_filename += '.py'
+                    if config_filename in configs_to_generate:
+                        s = header
+                        s += v_pwr
+                        s += f"\n    'tx':  {v_mb['tx']},\n    'rx':  {v_mb['rx']},\n"
+                        if n > 0:
+                            s += """    'mux': {'boards':\n"""
+                            for i in range(n):
+                                print(n, i)
+                                s += v_mux[i]
+                            s += mux_footer[mb]
+                        else:
+                            s = s + """    'mux':  {'boards': {},
+                 'default': {}
+            }\n}""" + '\n'
+
+                        s += footer
+                        print(f'*** Preparing {config_filename} ***')
+                        print(f'\n{s}')
+                        with open(f'configs/{config_filename}', mode='wt') as config_file: # TODO: check how to set the path so that this is not dependent of the current directory
+                            config_file.write(s)
+                    else:
+                        print(f'### skipping {config_filename} ###')