diff --git a/src/AirQualityClass.cpp b/src/AirQualityClass.cpp index f8142e5..c5cb9a0 100644 --- a/src/AirQualityClass.cpp +++ b/src/AirQualityClass.cpp @@ -43,20 +43,22 @@ int AirQualityClass::begin() Serial.println("Probably wrong BSEC library from lib manager"); } - bsec_virtual_sensor_t sensorList[10] = { - BSEC_OUTPUT_RAW_TEMPERATURE, - BSEC_OUTPUT_RAW_PRESSURE, - BSEC_OUTPUT_RAW_HUMIDITY, - BSEC_OUTPUT_RAW_GAS, + bsec_virtual_sensor_t sensorList[13] = { BSEC_OUTPUT_IAQ, BSEC_OUTPUT_STATIC_IAQ, BSEC_OUTPUT_CO2_EQUIVALENT, BSEC_OUTPUT_BREATH_VOC_EQUIVALENT, + BSEC_OUTPUT_RAW_TEMPERATURE, + BSEC_OUTPUT_RAW_PRESSURE, + BSEC_OUTPUT_RAW_HUMIDITY, + BSEC_OUTPUT_RAW_GAS, + BSEC_OUTPUT_STABILIZATION_STATUS, + BSEC_OUTPUT_RUN_IN_STATUS, BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_TEMPERATURE, BSEC_OUTPUT_SENSOR_HEAT_COMPENSATED_HUMIDITY, + BSEC_OUTPUT_GAS_PERCENTAGE }; - - iaqSensor->updateSubscription(sensorList, 10, BSEC_SAMPLE_RATE_CONT); + iaqSensor->updateSubscription(sensorList, 13, BSEC_SAMPLE_RATE_CONT); if (checkIaqSensorStatus() == STATUS_ERROR){ return 0; }