Hello Robin, I use the standard, I hope so, initialisation: int initialize_sensor() { return_values_init ret; //iic esp_err_t err = i2c_master_init(); //iic ESP_ERROR_CHECK( err ); //ESP_LOGI(TAG, "I2C initialized"); printf("I2C initialized"); /* Call to the function which initializes the BSEC library * Switch on low-power mode and provide no temperature offset */ ret = bsec_iot_init(BSEC_SAMPLE_RATE_LP, TemperatureOffestValue, bus_write, bus_read, bme680_sleep, state_load, config_load); if (ret.bme680_status) { /* Could not initialize BME680 */ //ESP_LOGE(TAG, "initializing BME680 failed %d", ret.bme680_status); printf("initializing BME680 failed %d", ret.bme680_status); return (int)ret.bme680_status; } else if (ret.bsec_status) { /* Could not intialize BSEC library */ //ESP_LOGE(TAG, "initializing BSEC failed %d", ret.bsec_status); printf("initializing BSEC failed %d", ret.bsec_status); return (int)ret.bsec_status; } //ESP_LOGI(TAG, "Entering into the loop"); printf("Entering into the loop"); /* Call to endless loop function which reads and processes data based on sensor settings */ /* State is saved every 10.000 samples, which means every 10.000 * 3 secs = 500 minutes */ bsec_iot_loop(bme680_sleep, esp_timer_get_time, output_ready, state_save, 10000); return 0; } then I get the values via void output_ready(). Could You explain me please, where I have to search for the setting of the temerature oversampling. thanks Roland
... View more