> For the complete documentation index, see [llms.txt](https://docs.mclimate.eu/mclimate-lorawan-devices/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-co2-sensor-and-notifier-lorawan/co2-sensor-lorawan-device-communication-protocol/co2-auto-zero.md). Agents can also search and read this documentation through its [MCP server](https://docs.mclimate.eu/mclimate-lorawan-devices/~gitbook/mcp).

# CO2 auto-zero value

{% hint style="info" %}
In practice, you are not supposed to change the auto-zero value, as this would directly affect the internal self-calibration algorithm.&#x20;

\
You can get the CO2 auto-zero value in order to check whether normal calibration has worked correctly - e.g. expected values are in the range 0-1500ppm. If you see value of e.g. 20000, please use the SET function to set it back to 400ppm and leave the sensor at fresh air for at least 1.2xMeasurement intervals (if you are using default settings, expose the sensor to fresh air for at least 15 minutes).
{% endhint %}

### S**et CO2 auto-zero value**

This command is used by the device for CO2 measurements compensation in order to get 400ppm in fresh air. The command is described in Table 17.

| **Byte index** | **Hex Value** | **Meaning**                                     |
| -------------- | ------------- | ----------------------------------------------- |
| 0              | 20            | The command code.                               |
| 1              | 02            |                                                 |
| 2              | 21            | 0x0221 = 545. This value is represented in ppm. |

*Table 17*

**Example command:** 0x200221 – The server sets CO2 auto-zero value to 545 ppm.

### **Get CO2 auto-zero value**

| **Byte index** | **Bit index** | **Sent request**   | **Received response**                |
| -------------- | ------------- | ------------------ | ------------------------------------ |
| 0              | -             | 21 – Command code. | 21 – The command code.               |
| 1              | 15:8          |                    | 02                                   |
| 2              | 7:0           |                    | 21 – bits \[15:0] = 0x0221 = 545 ppm |

*Table 18*

**Example command sent from server:** 0x21;

**Example command response:** 0x210221 =>  CO2 auto-zero value is 545 ppm.


---

# 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.mclimate.eu/mclimate-lorawan-devices/devices/mclimate-co2-sensor-and-notifier-lorawan/co2-sensor-lorawan-device-communication-protocol/co2-auto-zero.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.
