Read through this thread Possibility of patching OpenLog Artemis to support TMP102 sensor? which is a somewhat similar situation…you’d need to figure out the default address of the bmp581 and customize the firmware to have it work natively
You can also use a different logger