Page cover

LPN CM-2

The system records temperature and moisture at freely programmable intervals. The data is provided on a network server by means of LoRaWAN® radio technology via gateways.

Decoder/Product Datasheet

Device Profile for Tesenso IoT Cloud

Decoder/Payload Converter for Tesenso IoT Cloud

https://github.com/Tesenso-GmbH/Device-Decoder/blob/main/Comtac_CM-2.js

Device Labels

in manual
dataKey
dataType
dataFormat

Battery voltage

batteryVoltage

telemetry

int

Temperature

temperature

telemetry

int

Humidity

humidity

telemetry

int

PT100 Temperature

temperaturePt100

telemetry

int

Remark: 1223 is 12.23 °C, 2345 is 23.45% and so on.

{
    "cmd": "gw",
    "seqno": 634010,
    "EUI": "70B3D5FFFEBF683B",
    "ts": 1661243803551,
    "fcnt": 19692,
    "port": 3,
    "freq": 867500000,
    "toa": 61,
    "dr": "SF7 BW125 4/5",
    "ack": false,
    "gws": [{
        "rssi": -58,
        "snr": 8,
        "ts": 1661243803551,
        "time": "2022-08-23T09:41:10.090091Z",
        "gweui": "000800FFFF4A3A27",
        "ant": 0,
        "lat": 47.4125638,
        "lon": 8.557257400000026
    }],
    "bat": 247,
    "data": "0304000bb30b550e770c45",
    "_id": "6304919ba2a9c65308c4f2e1"
}

sample decoded output

{
    "msg": {
        "temperature": 29.01,
        "temperaturePt100": 31.41,
        "humidity": 37.03,
        "ts": 1660999112051,
        "rssi": -61,
        "dr": "SF7 BW125 4/5",
        "bat": 95.2755905511811,
        "hex": "0304000bb30b550e770c45"
    },
    "metadata": {
        "deviceType": "CM2-100",
        "deviceName": "70B3D5FFFEBF6228",
        "ts": "1660999112076"
    },
    "msgType": "POST_TELEMETRY_REQUEST"
}
var downlinkPayload = "0001f1f10000f1f1";
var result = {
    msg: {
        cmd: "tx",
        EUI: metadata.originatorName,
        port: 101,
        confirmed: false,
        data: downlinkPayload,
        appid: "BE010125"
    },
    msgType: "LORIOT_ALARMDEVICE_DOWNLINK_APICALL",
    metadata: {
    }
}
return result;
//return {msg: msg, metadata: metadata, msgType: msgType};ja

Configuration

  • To check the configuration you must connect the device with your computer (via USB).

  • Click on the device and open the document

  • Now you should see all parameters of the device and the configuration.

  • To change the settings, you can edit the parameters, but please only do it if you know, what you're doing.

  • When you're finished, save the document, then you can close it and disconnect the device.

Last updated