# Payload Example Water Meter

**Payload Device Water Level**

To ensure that the Antares Insight service works properly, make sure that the payload sent by the user's device complies with the format specified in Antares Insight.

<figure><img src="https://3873791589-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7cujmJ5QHdJaAjH815aZ%2Fuploads%2FhFbArBvyekoETQkP7Ziw%2Fimage.png?alt=media&#x26;token=a0287970-f3a5-42c6-8519-490417276b2d" alt=""><figcaption></figcaption></figure>

The following is an example of a payload on an Antares device that is in accordance with Antares Insight requirements based on **decoder type**:

{% tabs %}
{% tab title="Barindo SWM" %}

## 1. Example Payload Input

Here is an example of the payload before passing through the Antares Insight decoder.

```
68640087000000080d5e3c4401FF0001A682B546DE10AC4EC7615E56B4201297901F0E303030323032313034323230393200540052901E30361211034A59150818052300010130680D1F000000000049071F0025F506000000000000000000000000000000000000000000000000000000000000000000000000000001000000455F0500000023
```

## 2. Decoded Payload Output

Here is an example of the payload after passing through the Antares Insight decoder.

```
{
  "serialNumber": "087000000080d5e3c4401ff0",
  "forwardWaterFlow": 2035048,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "2023-05-18T08:15:59.000Z",
  "status": {
    "alarmDuration": 0,
    "alarmOrigin": "45"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Wiracyble SWM" %}

## 1. Example Payload Input

Here is an example of the payload before passing through the Antares Insight decoder.

```
08000ce440242a0010c48406000422c052ff9f1c00
```

## 2. Decoded Payload Output

Here is an example of the payload after passing through the Antares Insight decoder.

```
{
  "serialNumber": null,
  "forwardWaterFlow": 271040,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "1970-01-13T17:14:44.000Z",
  "status": {
    "alarmStatus": "0",
    "valveStatus": "1"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Alltek SWM" %}

## 1. Example Payload Input

Here is an example of the payload before passing through the Antares Insight decoder.

```
6f034001236806d51e0000001e0000002b062b020c05d00710000024cf
```

## 2. Decoded Payload Output

Here is an example of the payload after passing through the Antares Insight decoder.

```
{
  "serialNumber": "d5066823014003",
  "forwardWaterFlow": 0.03,
  "reverseWaterFlow": 0.001,
  "waterUnit": "L",
  "interval": null,
  "timestamp": "2000-05-12T02:43:06.000Z",
  "status": {
    "valve": "On",
    "batteryVoltage": "Normal",
    "vBack": "Under Voltage",
    "tamperStatus": "Not Removed",
    "openingValveStatus": "Unexecuted",
    "closingValveStatus": "Unexecuted",
    "reverseFlowStatus": "Normal",
    "valveStatus": "Normal",
    "gprsBatteryVoltage": "Normal",
    "sensorFailure": "Normal",
    "smallFlowAlarm": "Normal",
    "largeFlowAlarm": "Normal",
    "systemReset": "Normal",
    "priceError": "Normal",
    "magneticInterference": "Normal",
    "leakage": "Normal",
    "currentMagneticInterference": "Normal"
  },
  "batteryLevel": 100
}
```

{% endtab %}

{% tab title="Retrofit T3 " %}

## 1. Example Payload Input

Here is an example of the payload before passing through the Antares Insight decoder.

```
6F030811170070895201000000006089520150895201408952012B05000604090503E407000023A8
```

## 2. Decoded Payload Output

Here is an example of the payload after passing through the Antares Insight decoder.

```
{
  "serialNumber": "0017110803",
  "forwardWaterFlow": 22186.352,
  "reverseWaterFlow": 0,
  "waterUnit": "L",
  "interval": 5,
  "timestamp": "2020-03-05T09:04:06.000Z",
  "status": {
    "valveStatus": "Open",
    "batteryVoltage": "Normal",
    "tamperStatus": "Not Removed",
    "openingValveStatus": "Unexecuted",
    "closingValveStatus": "Unexecuted",
    "reverseFlowStatus": "Normal",
    "valveCondition": "Normal",
    "magneticInterferenceBefore": "No",
    "magneticInterferenceNow": "No",
    "sensorFailure": "No",
    "lowFlowAlert": "No",
    "highFlowAlert": "No",
    "leakAlert": "No",
    "systemReset": "Normal"
  },
  "batteryLevel": 100
}
```

{% endtab %}
{% endtabs %}
