Hello,
I followed this how-to (https://wiki.seeedstudio.com/Build-LoRaWAN-Sensors-SenseCAP-XIAO-Controller-Data-Logger/)
to connect my scd41 sensor, my sensecap S2110 and my S2100 datalogger.
I connected that on my Lora service. I received lora data messages.
First issue : all my measurements are at 0 in the SenseCAP APP. I don’t know why. I followed very precisely the how-to et checked a lot of times.
Second issue : I receive 2 data messages
Why? Which message receives the correct sensor values? the first or second one ?
Third issue : What decoder do I have to use in the wiki? Github. Here the two lora data messages.
{
"id": "648c62e38cc6a86fd8770f3d",
"streamId": "urn:lora:2CF7F1**********!uplink",
"timestamp": "2023-06-16T13:25:54.122Z",
"location": {
"lat": 48.928932,
"lon": 2.209517,
"alt": 0,
"accuracy": 5000,
"provider": "lora"
},
"model": "lora_v0",
"value": {
"payload": "30120200000000000000003330020000000080000000"
},
"tags": [],
"extra": {},
"metadata": {
"source": "urn:lo:nsid:lora:2CF7F1*********",
"group": {
"id": "NinBrr",
"path": "/CIC"
},
"connector": "lora",
"network": {
"lora": {
"devEUI": "2CF7F1*************",
"port": 3,
"fcnt": 2,
"missingFcnt": 0,
"rssi": -104,
"snr": 0,
"esp": -107.01,
"sf": 12,
"frequency": 865.5,
"signalLevel": 5,
"ack": false,
"messageType": "UNCONFIRMED_DATA_UP",
"location": {
"lat": 48.928932,
"lon": 2.209517,
"alt": 0,
"accuracy": 5000,
"provider": "lora"
},
"gatewayCnt": 10
}
}
},
"created": "2023-06-16T13:25:55.422Z"
}
{
"id": "648c62da190e324dad3f80ef",
"streamId": "urn:lora:2CF7F1**********!uplink",
"timestamp": "2023-06-16T13:25:46.620Z",
"model": "lora_v0",
"value": {
"payload": "395a01010208003c00003402000000"
},
"tags": [],
"extra": {},
"metadata": {
"source": "urn:lo:nsid:lora:2CF7F1***********",
"group": {
"id": "NinBrr",
"path": "/CIC"
},
"connector": "lora",
"network": {
"lora": {
"devEUI": "2CF7F1*************",
"port": 3,
"fcnt": 1,
"missingFcnt": 0,
"rssi": -106,
"snr": 0,
"esp": -109.01,
"sf": 12,
"frequency": 867.7,
"signalLevel": 5,
"ack": false,
"messageType": "UNCONFIRMED_DATA_UP",
"gatewayCnt": 10
}
}
},
"created": "2023-06-16T13:25:46.372Z"
}