> For the complete documentation index, see [llms.txt](https://docs.kpnthings.com/kpn-things/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kpnthings.com/kpn-things/building-blocks/devices/sensors/1m2m-ed1608.md).

# 1M2M ED1608

![1M2M ED1608](https://portal.kpnthings.com/assets/images/device-types/supported-1m2m-ed1608.png)

For the complete 1M2M ED1608 series running default firmware, Full, Basic and Radio-Only.

* Supported network type(s): `KPNLORA`
* Device Specification ID: `supported-1m2m-ed1608`
* Device Specification UUID: `0eb7379d-881a-42b2-a4d6-abe1f9fa205c`

| Decoders                           | decoderSpecificationUUID               | Description                                                                                                                                            |
| ---------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| + LoRa Geolocation data            | `0e10de71-eed6-49de-8885-5afc9bfc456f` | Add [LoRa Geolocation](/kpn-things/getting-started/tutorials/technical-overview/location-data.md) data to messages where location could be calculated. |
| = Raw LoRa payload                 | `b2bcfe4e-b90b-451a-ad2b-ae6c9223d2a1` | Forward the raw LoRa payload and port number without decoding.                                                                                         |
| = Raw LoRa payload (v2)            | `1cef4804-79b0-5fd3-8f59-3919218d1793` | Forward the raw LoRa payload and port number without decoding.                                                                                         |
| › Decoded 1M2M ED16xx payload      | `4407fc62-a756-49bd-9e91-491c5acfa411` | Decoder for all messages from devices with default 1M2M ED16xx firmware.                                                                               |
| › Decoded 1M2M ED16xx payload (v2) | `7492bd93-668a-5e15-8e28-859c2bc40e9d` | Decoder for all messages from devices with default 1M2M ED16xx firmware.                                                                               |

| Encoders           | encoderSpecificationUUID               | Description                           |
| ------------------ | -------------------------------------- | ------------------------------------- |
| = Raw LoRa payload | `f1d9c695-8fa5-4626-b55c-0bdc4bddf7dc` | Send raw LoRa payload to your device. |

### + LoRa Geolocation data

Add [LoRa Geolocation](/kpn-things/getting-started/tutorials/technical-overview/location-data.md) data to messages where location could be calculated.

### = Raw LoRa payload

Forward the raw LoRa payload and port number without decoding.

**Expected SenML records**

| name    | type   | unit |
| ------- | ------ | ---- |
| payload | string |      |
| port    | number |      |

### = Raw LoRa payload (v2)

Forward the raw LoRa payload and port number without decoding.

{% 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                            |
| ------- | ------ | ---- | -------------------------- | -------------------------------------- |
| payload | string |      | `"4D985C495AC4D8C9682CFD"` | The LoRa hex payload                   |
| port    | number |      | `200`                      | The LoRa port used to send this uplink |

#### 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 %}

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1693136532.83,
        "n": "payload",
        "vs": "4D985C495AC4D8C9682CFD"
    },
    {
        "n": "port",
        "v": 1
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

### › Decoded 1M2M ED16xx payload

Decoder for all messages from devices with default 1M2M ED16xx firmware.

**Expected SenML records**

| name         | type   | unit  |
| ------------ | ------ | ----- |
| AnIn1        | number | V     |
| AnIn2        | number | V     |
| AnIn3        | number | V     |
| AnIn4        | number | V     |
| Barom        | number | P     |
| BeamX        | number | rad   |
| BeamY        | number | rad   |
| BeamZ        | number | rad   |
| CmdAck       | number |       |
| Count        | number | Count |
| FixAge       | number |       |
| GravX        | number |       |
| GravY        | number |       |
| GravZ        | number |       |
| MagX         | number |       |
| MagY         | number |       |
| MagZ         | number |       |
| Max1Amp      | number |       |
| Max1Freq     | number | Hz    |
| Max2Amp      | number |       |
| Max2Freq     | number | Hz    |
| Max3Amp      | number |       |
| Max3Freq     | number | Hz    |
| MaxBaro      | number | P     |
| MaxDx        | number |       |
| MaxDy        | number |       |
| MaxDz        | number |       |
| MaxHum       | number | %RH   |
| MaxTemp      | number | Cel   |
| MinBaro      | number | P     |
| MinHum       | number | %RH   |
| MinTemp      | number | Cel   |
| Mod          | number |       |
| NumSat       | number |       |
| Ow0          | number | Cel   |
| Ow1          | number | Cel   |
| Ow2          | number | Cel   |
| Ow3          | number | Cel   |
| Ow4          | number | Cel   |
| RepMod       | number |       |
| RunHrs       | number | Count |
| Status       | number |       |
| Timer        | number | Count |
| VibAmp       | number |       |
| VibFrq       | number | Hz    |
| VibGai       | number |       |
| batteryLevel | number | %EL   |
| batteryLevel | number | V     |
| distance     | number | m     |
| humidity     | number | %RH   |
| latitude     | number | lat   |
| longitude    | number | lon   |
| profile      | number |       |
| temperature  | number | Cel   |

### › Decoded 1M2M ED16xx payload (v2)

Decoder for all messages from devices with default 1M2M ED16xx firmware.

Bugfixes from '› Decoded 1M2M ED16xx payload':

* `latitude` and `longitude` were not always decoded correctly.
* `fixAge` was not decoded correctly for values above 60 minutes.

{% 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 |
| ------------ | ------- | ----- | --------------------- | ----------- |
| AnIn1        | number  | V     | `4`                   |             |
| AnIn2        | number  | V     | `2.564`               |             |
| AnIn3        | number  | V     | `0.291`               |             |
| AnIn4        | number  | V     | `0`                   |             |
| Barom        | number  | P     | `200000`              |             |
| batteryLevel | number  | %EL   | `100`                 |             |
| batteryLevel | number  | V     | `12`                  |             |
| BeamX        | number  | rad   | `-1.3864721044917754` |             |
| BeamY        | number  | rad   | `0.90795518347249`    |             |
| BeamZ        | number  | rad   | `-1.1533484763028927` |             |
| CmdAck       | number  |       | `3`                   |             |
| Count        | number  | Count | `55588351`            |             |
| Dig1Al       | boolean |       | `true`                |             |
| Dig2Al       | boolean |       | `true`                |             |
| distance     | number  | m     | `801000`              |             |
| FixAge       | number  |       | `4170`                |             |
| GeoAl        | boolean |       | `true`                |             |
| GravX        | number  |       | `32`                  |             |
| GravY        | number  |       | `64`                  |             |
| GravZ        | number  |       | `127`                 |             |
| GrvRot       | boolean |       | `true`                |             |
| humidity     | number  | %RH   | `85`                  |             |
| latitude     | number  | lat   | `47.52521`            |             |
| longitude    | number  | lon   | `4.49031`             |             |
| MagRot       | boolean |       | `true`                |             |
| MagX         | number  |       | `-96`                 |             |
| MagY         | number  |       | `50`                  |             |
| MagZ         | number  |       | `17`                  |             |
| Max1Amp      | number  |       | `164`                 |             |
| Max1Freq     | number  | Hz    | `273`                 |             |
| Max2Amp      | number  |       | `68`                  |             |
| Max2Freq     | number  | Hz    | `464`                 |             |
| Max3Amp      | number  |       | `20`                  |             |
| Max3Freq     | number  | Hz    | `654`                 |             |
| MaxBaro      | number  | P     | `0.00127`             |             |
| MaxDx        | number  |       | `127`                 |             |
| MaxDy        | number  |       | `64`                  |             |
| MaxDz        | number  |       | `32`                  |             |
| MaxHum       | number  | %RH   | `85`                  |             |
| MaxTemp      | number  | Cel   | `0.8`                 |             |
| MinBaro      | number  | P     | `0.00035`             |             |
| MinHum       | number  | %RH   | `69`                  |             |
| MinTemp      | number  | Cel   | `0.64`                |             |
| Mod          | number  |       | `1`                   |             |
| MotAl        | boolean |       | `true`                |             |
| Move         | boolean |       | `false`               |             |
| NumSat       | number  |       | `7`                   |             |
| Ow0          | number  | Cel   | `42`                  |             |
| Ow1          | number  | Cel   | `42`                  |             |
| Ow2          | number  | Cel   | `42`                  |             |
| Ow3          | number  | Cel   | `42`                  |             |
| Ow4          | number  | Cel   | `42`                  |             |
| profile      | number  |       | `0`                   |             |
| RepMod       | number  |       | `2`                   |             |
| RunHrs       | number  | Count | `291`                 |             |
| ShkAl        | boolean |       | `true`                |             |
| Start        | boolean |       | `true`                |             |
| Status       | number  |       | `0`                   |             |
| Stop         | boolean |       | `false`               |             |
| temperature  | number  | Cel   | `18.92`               |             |
| Timer        | number  | Count | `69616`               |             |
| VibAl        | boolean |       | `true`                |             |
| VibAmp       | number  |       | `0`                   |             |
| VibFrq       | number  | Hz    | `0`                   |             |
| VibGai       | number  |       | `4`                   |             |
| Vibr         | boolean |       | `false`               |             |

#### 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 %}

**00 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1482354922,
        "n": "batteryLevel",
        "u": "%EL",
        "v": 100
    },
    {
        "n": "profile",
        "v": 0
    },
    {
        "n": "CmdAck",
        "v": 3
    },
    {
        "n": "FixAge",
        "v": 16
    },
    {
        "n": "NumSat",
        "v": 6
    },
    {
        "n": "latitude",
        "u": "lat",
        "v": 47.52521
    },
    {
        "n": "longitude",
        "u": "lon",
        "v": 115.02578
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**01 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1482354922,
        "n": "Start",
        "vb": true
    },
    {
        "n": "Move",
        "vb": false
    },
    {
        "n": "Stop",
        "vb": false
    },
    {
        "n": "Vibr",
        "vb": false
    },
    {
        "n": "temperature",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "FixAge",
        "v": 4170
    },
    {
        "n": "NumSat",
        "v": 7
    },
    {
        "n": "latitude",
        "u": "lat",
        "v": 51.90778
    },
    {
        "n": "longitude",
        "u": "lon",
        "v": 4.49031
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**02 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "Status",
        "v": 0
    },
    {
        "n": "Barom",
        "u": "P",
        "v": 200000
    },
    {
        "n": "temperature",
        "u": "Cel",
        "v": -39.92
    },
    {
        "n": "humidity",
        "u": "%RH",
        "v": 85
    },
    {
        "n": "BeamX",
        "u": "rad",
        "v": -1.3864721044917754
    },
    {
        "n": "BeamY",
        "u": "rad",
        "v": 0.90795518347249
    },
    {
        "n": "BeamZ",
        "u": "rad",
        "v": -1.1533484763028927
    },
    {
        "n": "VibAmp",
        "v": 0
    },
    {
        "n": "VibFrq",
        "u": "Hz",
        "v": 0
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**03 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "GrvRot",
        "vb": true
    },
    {
        "n": "MagRot",
        "vb": true
    },
    {
        "n": "GravX",
        "v": 32
    },
    {
        "n": "GravY",
        "v": 64
    },
    {
        "n": "GravZ",
        "v": -128
    },
    {
        "n": "MagX",
        "v": -96
    },
    {
        "n": "MagY",
        "v": 50
    },
    {
        "n": "MagZ",
        "v": 17
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**04 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "GrvRot",
        "vb": true
    },
    {
        "n": "MagRot",
        "vb": true
    },
    {
        "n": "MotAl",
        "vb": true
    },
    {
        "n": "GeoAl",
        "vb": true
    },
    {
        "n": "VibAl",
        "vb": true
    },
    {
        "n": "ShkAl",
        "vb": true
    },
    {
        "n": "Dig1Al",
        "vb": true
    },
    {
        "n": "Dig2Al",
        "vb": true
    },
    {
        "n": "temperature",
        "u": "Cel",
        "v": -39.92
    },
    {
        "n": "humidity",
        "u": "%RH",
        "v": 85
    },
    {
        "n": "Barom",
        "u": "P",
        "v": 200000
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**06 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1482354922,
        "n": "Ow0",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "Ow1",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "Ow2",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "Ow3",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "Ow4",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**08 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "MaxDx",
        "v": 127
    },
    {
        "n": "MaxDy",
        "v": 64
    },
    {
        "n": "MaxDz",
        "v": 32
    },
    {
        "n": "Max1Freq",
        "u": "Hz",
        "v": 273
    },
    {
        "n": "Max1Amp",
        "v": 164
    },
    {
        "n": "Max2Freq",
        "u": "Hz",
        "v": 464
    },
    {
        "n": "Max2Amp",
        "v": 68
    },
    {
        "n": "Max3Freq",
        "u": "Hz",
        "v": 654
    },
    {
        "n": "Max3Amp",
        "v": 20
    },
    {
        "n": "VibGai",
        "v": 4
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**09 payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "batteryLevel",
        "u": "V",
        "v": 12
    },
    {
        "n": "AnIn1",
        "u": "V",
        "v": 4
    },
    {
        "n": "AnIn2",
        "u": "V",
        "v": 2.564
    },
    {
        "n": "AnIn3",
        "u": "V",
        "v": 0.291
    },
    {
        "n": "AnIn4",
        "u": "V",
        "v": 0
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**0A payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "Status",
        "v": 0
    },
    {
        "n": "Barom",
        "u": "P",
        "v": 200000
    },
    {
        "n": "temperature",
        "u": "Cel",
        "v": 42
    },
    {
        "n": "humidity",
        "u": "%RH",
        "v": 85
    },
    {
        "n": "GravX",
        "v": 32
    },
    {
        "n": "GravY",
        "v": 64
    },
    {
        "n": "GravZ",
        "v": 127
    },
    {
        "n": "VibAmp",
        "v": 0
    },
    {
        "n": "VibFrq",
        "u": "Hz",
        "v": 0
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**0B payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "Status",
        "v": 0
    },
    {
        "n": "MinTemp",
        "u": "Cel",
        "v": 0.64
    },
    {
        "n": "MaxTemp",
        "u": "Cel",
        "v": 0.8
    },
    {
        "n": "MinHum",
        "u": "%RH",
        "v": 69
    },
    {
        "n": "MaxHum",
        "u": "%RH",
        "v": 85
    },
    {
        "n": "MaxBaro",
        "u": "P",
        "v": 0.00127
    },
    {
        "n": "MinBaro",
        "u": "P",
        "v": 0.00035
    },
    {
        "n": "RunHrs",
        "u": "Count",
        "v": 291
    },
    {
        "n": "distance",
        "u": "m",
        "v": 801000
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**0C payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "Mod",
        "v": 1
    },
    {
        "n": "RepMod",
        "v": 2
    },
    {
        "n": "Count",
        "u": "Count",
        "v": 55588351
    },
    {
        "n": "Timer",
        "u": "Count",
        "v": 69616
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

**0D payload**

```json
[
    {
        "bn": "urn:dev:DEVEUI:0123456789012345:",
        "bt": 1.482354922E9,
        "n": "Mod",
        "v": 1
    },
    {
        "n": "RepMod",
        "v": 2
    },
    {
        "n": "Count",
        "u": "Count",
        "v": 55588351
    },
    {
        "n": "Timer",
        "u": "Count",
        "v": 69616
    },
    {
        "n": "timeOrigin",
        "vs": "NETWORK"
    }
]
```

### = Raw LoRa payload encoding

* Protocol: LoRa downlink
* Description: Send raw LoRa payload to your device.
* Multiple commands in one downlink: No

Input mapping:

* Name: `payloadHex` (raw input)


---

# 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 dynamically by asking a question.

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

```
GET https://docs.kpnthings.com/kpn-things/building-blocks/devices/sensors/1m2m-ed1608.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
