I upgraded my test Chirpstack server to Chirpstack v4. Integrations no longer work; I see the POST format is different. To begin with, the device EUI has been changed from 'devEUI' : <base64> to 'deviceInfo.devEui' : <hex string>
How does one request or possibly help add a connector for Chirpstack v4 ?
Thank you,
Dana
Also: 'objectJSON' has become 'object', Quite a few more differences, examples below:
Chirpstack v3:
{
"applicationID":"1",
"applicationName":"Dana-Test-1",
"deviceName":"r3172-2",
"devEUI":"AIDhFQAUBWQ=",
"rxInfo":[
{
"gatewayID":"rB8J//4G9RM=",
"time":"2022-09-20T17:15:19.134884Z",
"timeSinceGPSEpoch":"1347729337.134s",
"rssi":-54,
"loRaSNR":14.3,
"channel":8,
"rfChain":0,
"board":0,
"antenna":0,
"location":{
"latitude":0,
"longitude":0,
"altitude":0,
"source":"UNKNOWN",
"accuracy":0
},
"fineTimestampType":"NONE",
"context":"U5RQ3g==",
"uplinkID":"8fR6A8qcS8q4vOf2cP/uGw==",
"crcStatus":"CRC_OK"
}
],
"txInfo":{
"frequency":904600000,
"modulation":"LORA",
"loRaModulationInfo":{
"bandwidth":500,
"spreadingFactor":8,
"codeRate":"4/5",
"polarizationInversion":false
}
},
"adr":true,
"dr":4,
"fCnt":2,
"fPort":4,
"data":"AQA=",
"objectJSON":"{\"inputChanged\":false,\"inputState\":false,\"switchChanged\":false,\"switchState\":false}",
"tags":{
},
"confirmedUplink":true,
"devAddr":"AS1zfg==",
"publishedAt":"2022-09-20T17:15:19.412031804Z",
"deviceProfileID":"f684143a-82f0-41c8-8a36-2fc373a56cd3",
"deviceProfileName":"DMx-Class-C"
}
Chirpstack v4:
{
"deduplicationId":"3ad4eeb6-49de-4027-9716-9af912175cd6",
"time":"2022-09-20T17:11:09.199837915+00:00",
"deviceInfo":{
"tenantId":"00000000-0000-0000-0000-000000000001",
"tenantName":"chirpstack",
"applicationId":"00000000-0000-0000-0000-000000000007",
"applicationName":"Dana-Test-1",
"deviceProfileId":"464887ed-f58a-41a5-833e-5eb9f87f14c4",
"deviceProfileName":"DMx-Class-C",
"deviceName":"RAK3172-2",
"devEui":"0080e11500140564"
},
"devAddr":"0074741d",
"adr":true,
"fCnt":2,
"fPort":4,
"confirmed":true,
"data":"AQA=",
"object":{
"inputChanged":false,
"switchState":false,
"switchChanged":false,
"inputState":false
},
"rxInfo":[
{
"gatewayId":"b827ebfffe69a4da",
"uplinkId":26174,
"rssi":-76,
"snr":10.0,
"channel":6,
"rfChain":1,
"location":{
"latitude":38.16882,
"longitude":-122.13677,
"altitude":22.0
},
"context":"8KeUJA==",
"metadata":{
"region_common_name":"US915",
"region_name":"us915_1"
}
}
],
"txInfo":{
"frequency":905100000,
"modulation":{
"lora":{
"bandwidth":125000,
"spreadingFactor":10,
"codeRate":"CR_4_5"
}
}
}
}