# KPN Conditionsensor CO2 III motionPage 1

<div align="center"><figure><img src="https://portal.kpnthings.com/assets/images/device-types/kpn-conditionsensor-co2-iii-motion.png" alt=""><figcaption><p>KPN Conditionsensor CO2 III motion</p></figcaption></figure></div>

Also known as Streamline CO2 sensor with rechargeable battery. A Smart Building Sensor for indoor environment monitoring.

* Supported network type(s): `KPNLORA`
* Device Specification ID: `kpn-conditionsensor-co2-iii-motion`
* Device Specification UUID: `9629ddf1-b1c0-410b-b6a1-5003afd6e26c`

| Decoders                                          | decoderSpecificationUUID               | Description                                                           |
| ------------------------------------------------- | -------------------------------------- | --------------------------------------------------------------------- |
| › Decoded payload for environment monitoring      | `2bb53ece-d857-458c-9218-614f98cd34bf` | Decoder for Streamline LoRa message type 0xB0 with CO2 data.          |
| › Decoded payload for environment monitoring (v2) | `a1685635-9e45-5b84-ad2a-4af7d18e15b2` | Decoder for Streamline LoRa message type 0xB0 and 0xB1 with CO2 data. |

### › Decoded payload for environment monitoring

* UUID: `2bb53ece-d857-458c-9218-614f98cd34bf`
* Description: Decoder for Streamline LoRa message type 0xB0 with CO2 data.
* Exchange: `decoder.lora.streamline.exchange`

#### Expected SenML outputs

<table><thead><tr><th width="220.33333333333331">name</th><th width="128">type/unit</th><th width="205">example</th><th>description</th></tr></thead><tbody><tr><td>batteryVoltage</td><td>V</td><td>3.5</td><td>The battery voltage of the device</td></tr><tr><td>VOC</td><td>ppm</td><td></td><td>The concentration of Volatile Organic Compounds in parts per million</td></tr><tr><td>CO2Concentration</td><td>ppm</td><td></td><td>CO2 Concentration in parts per million</td></tr><tr><td>pressure</td><td>Pa</td><td></td><td>The air pressure in Pascal</td></tr><tr><td>humidity</td><td>%HR</td><td></td><td>The humidity percentage</td></tr><tr><td>temperature</td><td>Cel</td><td></td><td>The measured temperature in Celcius</td></tr><tr><td>motion</td><td>count</td><td></td><td>Number of times motion has been detected?</td></tr><tr><td>movementSensorActiveDuration</td><td>s</td><td></td><td>Number of seconds the movement sensor has been active</td></tr><tr><td>movementDetected</td><td>boolean</td><td></td><td>Boolean indicating whether movement was detected or not</td></tr></tbody></table>

#### Example SenML-message

```json
[
  { bn: 'urn:dev:DEVEUI:7CC6C40512345678:', bt: 1.701114926e9 },
  { n: 'temperature', u: 'Cel', v: 18.8 },
  { n: 'humidity', u: '%RH', v: 42.0 },
  { n: 'CO2Concentration', u: 'ppm', v: 567.0 },
  { n: 'pressure', u: 'Pa', v: 99200.0 },
  { n: 'VOC', u: 'ppm', v: 0.0 },
  { n: 'batteryVoltage', u: 'V', v: 3.8 },
  { n: 'movementSensorActiveDuration', u: 's', v: 1200.0 },
  { n: 'motion', u: 'count', v: 0.0 },
  { n: 'movementDetected', vb: false },
  { n: 'movementDetected', t: -60.0, vb: false },
  { n: 'movementDetected', t: -120.0, vb: false },
  { n: 'movementDetected', t: -180.0, vb: false },
  { n: 'movementDetected', t: -240.0, vb: false },
  { n: 'movementDetected', t: -300.0, vb: false },
  { n: 'movementDetected', t: -360.0, vb: false },
  { n: 'movementDetected', t: -420.0, vb: false },
  { n: 'movementDetected', t: -480.0, vb: false },
  { n: 'movementDetected', t: -540.0, vb: false },
  { n: 'movementDetected', t: -600.0, vb: false },
  { n: 'movementDetected', t: -660.0, vb: false },
  { n: 'movementDetected', t: -720.0, vb: false },
  { n: 'movementDetected', t: -780.0, vb: false },
  { n: 'movementDetected', t: -840.0, vb: false },
  { n: 'movementDetected', t: -900.0, vb: false },
  { n: 'movementDetected', t: -960.0, vb: false },
  { n: 'movementDetected', t: -1020.0, vb: false },
  { n: 'movementDetected', t: -1080.0, vb: false },
  { n: 'movementDetected', t: -1140.0, vb: false },
  { n: 'movementDetected', t: -1200.0, vb: false },
  { n: 'movementDetected', t: -1260.0, vb: false },
  { n: 'movementDetected', t: -1320.0, vb: false },
  { n: 'movementDetected', t: -1380.0, vb: false },
  { n: 'movementDetected', t: -1440.0, vb: false },
  { n: 'movementDetected', t: -1500.0, vb: false },
  { n: 'movementDetected', t: -1560.0, vb: false },
  { n: 'movementDetected', t: -1620.0, vb: false },
  { n: 'movementDetected', t: -1680.0, vb: false },
  { n: 'movementDetected', t: -1740.0, vb: false },
  { n: 'movementDetected', t: -1800.0, vb: false },
  { n: 'movementDetected', t: -1860.0, vb: false },
  { n: 'TIME_ORIGIN', vs: 'THINGSENGINE' },
]
```

### › Decoded payload for environment monitoring (v2)

Decoder for Streamline LoRa message type 0xB0 and 0xB1 with CO2 data.

{% hint style="info" %}
This decoder also decodes [Geolocation and Local Gateway](/kpn-things/getting-started/tutorials/technical-overview/location-data.md) data.
{% endhint %}

The following SenML records can be present, amongst others:

| name                         | type    | unit  | example  | description                                                          |
| ---------------------------- | ------- | ----- | -------- | -------------------------------------------------------------------- |
| batteryVoltage               | number  | V     | `3.46`   | The battery voltage of the device                                    |
| CO2Concentration             | number  | ppm   | `689`    | CO2 Concentration in parts per million                               |
| humidity                     | number  | %RH   | `58.33`  | The humidity percentage                                              |
| motion                       | number  | count | `29`     | Number of times motion has been detected?                            |
| movementDetected             | boolean |       | `true`   | Boolean indicating whether movement was detected or not              |
| movementSensorActiveDuration | number  | s     | `20`     | Number of seconds the movement sensor has been active                |
| pressure                     | number  | Pa    | `101100` | The air pressure in Pascal                                           |
| temperature                  | number  | Cel   | `21.34`  | The measured temperature in Celcius                                  |
| VOC                          | number  | ppm   | `0.065`  | The concentration of Volatile Organic Compounds in parts per million |

#### Example SenML

{% hint style="info" %}
SenML can be structured in different ways, and we do not guarantee the examples below will look the same as what you will receive on your Destination. To make sure you can handle the SenML optimally, take a look at our documentation about [Understanding and Interpreting SenML Data](/kpn-things/building-blocks/data-processing/thingsml-and-senml/senml/understanding-and-interpreting-senml-data.md).
{% endhint %}

**0xB0 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1693136532.83,
        "n": "temperature",
        "u": "Cel",
        "v": 25.9
    },
    {
        "n": "humidity",
        "u": "%RH",
        "v": 50
    },
    {
        "n": "CO2Concentration",
        "u": "ppm",
        "v": 504
    },
    {
        "n": "pressure",
        "u": "Pa",
        "v": 101100
    },
    {
        "n": "VOC",
        "u": "ppm",
        "v": 8
    },
    {
        "n": "batteryVoltage",
        "u": "V",
        "v": 4.08
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**0x1B payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1693136532.83,
        "n": "temperature",
        "u": "Cel",
        "v": 27.3
    },
    {
        "n": "humidity",
        "u": "%RH",
        "v": 68
    },
    {
        "n": "CO2Concentration",
        "u": "ppm",
        "v": 563
    },
    {
        "n": "pressure",
        "u": "Pa",
        "v": 101500
    },
    {
        "n": "VOC",
        "u": "ppm",
        "v": 1
    },
    {
        "n": "batteryVoltage",
        "u": "V",
        "v": 7.53
    },
    {
        "n": "movementSensorActiveDuration",
        "u": "s",
        "v": 5940
    },
    {
        "n": "motion",
        "u": "count",
        "v": 29
    },
    {
        "n": "movementDetected",
        "t": 0,
        "vb": false
    },
    {
        "n": "movementDetected",
        "t": -60,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -120,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -180,
        "vb": false
    },
    {
        "n": "movementDetected",
        "t": -240,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -300,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -360,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -420,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -480,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -540,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -600,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -660,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -720,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -780,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -840,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -900,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -960,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1020,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1080,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1140,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1200,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1260,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1320,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1380,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1440,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1500,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1560,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1620,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1680,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1740,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1800,
        "vb": true
    },
    {
        "n": "movementDetected",
        "t": -1860,
        "vb": false
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kpnthings.com/kpn-things/building-blocks/devices/sensors/kpn-conditionsensor-co2-iii-motionpage-1.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
