auto config for bms