> For the complete documentation index, see [llms.txt](https://docs.efento.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.efento.io/nb-iot-loggers/configuration/sensor-specific-settings/co2.md).

# CO2

The CO₂ sensor includes configuration and calibration options that help maintain measurement stability and accuracy over time. These settings allow you to control automatic calibration behavior and define how measurement samples are processed before the final CO₂ value is reported.

## **Manual calibration**

Manual calibration must be performed in an environment with a known CO₂ concentration and is used to correct measurement offset. Calibration can be carried out using a reference gas cylinder or in fresh outdoor air. Before starting, place the device in the calibration environment for at least 15 minutes to allow the sensor to stabilize.

{% hint style="warning" %}
**Calibrate the sensor before its first use. Without calibration, accuracy is significantly reduced and the measured values may not be reliable.**
{% endhint %}

<figure><img src="https://content.gitbook.com/content/GPFUI36OraG706yJS7dJ/blobs/dUUymGnjxbfe1cdRGekf/Unknown%20image" alt=""><figcaption><p>Sensor’s calibration is required in order to provide reliable CO2 measurements</p></figcaption></figure>

### **Configuration using the Efento mobile application**

To set the starting value, connect to the device and tap the gear icon. Go to **Channel settings**, select **Calibration** for the relevant channel, enter the required starting value, and save the changes.

Enter the CO₂ concentration present at the calibration site:

* **Fresh air calibration:** Atmospheric CO₂ averages around 420 ppm. Enter this value into the application. Note that CO₂ concentration varies by location, time of day, and season, so outdoor calibration may not provide maximum accuracy.
* **Calibration with a gas cylinder:** Enter the exact CO₂ concentration specified for the reference gas used.

## **Configurable parameters**

| Parameter                             | Description                                                                                                                                                                                                                   | Configuration Options                                                                                                                                                                                                                                             |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Automatic calibration**             | Periodically recalibrates the optical CO₂ module to counter long-term baseline drift. Should be scheduled when the space is unoccupied and thoroughly ventilated with fresh outdoor air.                                      | <p>• <strong>State:</strong> Enabled / Disabled<br>• <strong>Schedule:</strong> Day of the week and time (e.g. Sunday, 02:00 AM)<br>• <strong>CO</strong><sub><strong>2</strong></sub><strong> concentration:</strong> typically 420 ppm (fresh-air baseline)</p> |
| **Number of samples per measurement** | Specifies the number of raw readings taken during each measurement cycle to calculate an average value. Taking more samples smooths out measurement noise and increases reading precision, but increases battery consumption. | <p>Range: 1 to 10<br><em>(Default: 1)</em></p>                                                                                                                                                                                                                    |
| **Ignore Min / Max CO₂ values**       | Discards the single lowest and highest sample readings before computing the final average value. This eliminates transient measurement spikes and air turbulence outliers (effective when 3 or more samples are taken).       | <p>Enabled (ON) / Disabled (OFF)<br><em>(Default: Disabled)</em></p>                                                                                                                                                                                              |

## **Configuration using the Efento mobile application**

All parameters described above can be configured using the Efento mobile application in the **Nearby Devices** section.

Connect to the logger, tap the gear icon, open **Channel settings**, and select **Settings** for the required channel.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.efento.io/nb-iot-loggers/configuration/sensor-specific-settings/co2.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
