> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.cthings.io/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Decoding data from the Eastron SDM630MCT-LoRa

## Identifying your meter

The Eastron SDM630MCT-LoRa is a three-phase DIN rail mounted electricity meter that communicates over LoRaWAN. As illustrated by the image (left) below it will say **SDM630MCT-LoRa**  directly to the right of the Eastron logo. The Serial Number (SN) is located below and to the right of the backlit display as displayed in the image (right).


![Eastron SDM630MCT-LoRa](https://storage.crisp.chat/users/helpdesk/website/66a70a6ed8fbb400/eastron-sdm630mct-lora-medium_1ewd1fn.png)

## Connecting your meter to a LoRaWAN Network Server

The SDM630MCT-LoRa can be connected to any LoRaWAN Network Server (LNS) including TTN, TTI, Chirpstack and Loriot amongst others. cThings Cloud provide an end-to-end in-built LNS with pre-configured decoders to facilitate connecting the SDM630MCT-LoRa to your existing system. [Contact us](mailto:sales@cthings.io) to find out more.

|| The SDM630MCT-LoRa must be setup as a Class-C device

## Decoding the default data received from the SDM630MCT-LoRa

All SDM630-LoRa meters come with a default configuration pre-installed. If a custom configuration has been requested, see the section below on custom configurations. 

By default, data will be sent from the SDM630MCT-LoRa every 30 minutes. Below is an example hex encoded payload that could be sent from a default configured meter (it has been conveniently separated into chunks to match the decode in the table below).

| 001435FC 01 14 443A424E 40E7A876 42C5DA1D 439449DB 43AEC439 3B B2

The meter will send the data in a single payload with the 5 default parameters. The below table shows how to decode the payload and parameters.

| Byte Range | Description | Data Type | Example Hex | Decoded |
| --- | --- | --- | --- | --- |
| 0-3 | Serial Number | UINT32 | 001435FC | 01324540 |
| 4 | Message Fragment Number (always 1 for default configuration) | UINT8 | 01 | 1 |
| 5 | Number of Parameter Bytes in this Payload (always 20 for default configuration) | UINT8 | 14 | 20 |
| 6-9 | Total Energy | FLOAT | 443A424E | 745.036 |
| 10-13 | Frequency | FLOAT | 40E7A876 | 7.239314 |
| 14-17 | Total Power Factor | FLOAT | 42C5DA1D | 98.926 |
| 18-21 | Maximum Total System Power Demand | FLOAT | 439449DB | 296.577 |
| 22-25 | Total Current | FLOAT | 43AEC439 | 349.533 |
| 26-27 | Modbus Checksum | - | F792 | - |

## Custom Configurations

Your SDM630MCT-LoRa may have been configured to send different parameters in a different order. If this is the case, you should have received more information about your custom configuration when you ordered your meter.

## Advanced Decoding
### Fragmentation

By default, the SDM630MCT-LoRa will send 5 parameters in a single payload (one message fragment). For non-standard configurations more parameters may be sent in which case the payload may be fragmented across multiple LoRaWAN payloads. Each parameter will always be 4 bytes in length, starting from byte 6 (0-based) and the final 2 bytes of the message will always be a 2 byte _Modbus Checksum_.

| 001435FC 01 18 443A424E 40E7A876 42C5DA1D 284F
| 001435FC 02 18 439449DB 43AEC439 00000000 D821