After testing, the BME680 returns 0x00 when reading register 0xF0. (According to datasheet the BME688 should read 0x01, but I cannot test it as I do not have this device yet). so it looks like this is an easy way to detect which sensor you have on your HW.
... View more