Hello Hpmax,
Please ensure you set correct BME280 I2C device address when you read chip ID, refer it from BME280 data sheet.
If other device had same I2C device address, you could disconnect it first and read BME280 with I2C interface directly.
... View more