Skip to content

Commit

Permalink
Merge pull request #171 from artem-barysh-dev/clover
Browse files Browse the repository at this point in the history
Clover
  • Loading branch information
ViacheslavKlimov authored Dec 19, 2024
2 parents 5cfd5ec + 1df7d2f commit 97106bf
Show file tree
Hide file tree
Showing 28 changed files with 773 additions and 0 deletions.
39 changes: 39 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/converter.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"integrationName": "ChirpStack integration",
"includeGatewayInfo": "false"
}
48 changes: 48 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/payload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"deduplicationId": "57433366-50a6-4dc2-8145-2df1bbc70d9e",
"time": "2023-05-22T07:47:05.404859+00:00",
"deviceInfo": {
"tenantId": "52f14cd4-c6f1-4fbd-8f87-4025e1d49242",
"tenantName": "ChirpStack",
"applicationId": "ca739e26-7b67-4f14-b69e-d568c22a5a75",
"applicationName": "Chirpstack application",
"deviceProfileId": "605d08d4-65f5-4d2c-8a5a-3d2457662f79",
"deviceProfileName": "Chirpstack default device profile",
"deviceName": "Device name",
"devEui": "1000000000000001",
"tags": {}
},
"devAddr": "20000001",
"adr": true,
"dr": 5,
"fCnt": 4,
"fPort": 10,
"confirmed": false,
"data": "ANNaAL0KCg==",
"rxInfo": [{
"gatewayId": "6a7e111a10000000",
"uplinkId": 24022,
"time": "2023-05-22T07:47:05.404859+00:00",
"rssi": -35,
"snr": 11.5,
"channel": 2,
"rfChain": 1,
"location": {},
"context": "EFwMtA==",
"metadata": {
"region_common_name": "EU868",
"region_config_id": "eu868"
},
"crcStatus": "CRC_OK"
}],
"txInfo": {
"frequency": 868500000,
"modulation": {
"lora": {
"bandwidth": 125000,
"spreadingFactor": 7,
"codeRate": "CR_4_5"
}
}
}
}
48 changes: 48 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/payload_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"deduplicationId": "57433366-50a6-4dc2-8145-2df1bbc70d9e",
"time": "2023-05-22T07:47:05.404859+00:00",
"deviceInfo": {
"tenantId": "52f14cd4-c6f1-4fbd-8f87-4025e1d49242",
"tenantName": "ChirpStack",
"applicationId": "ca739e26-7b67-4f14-b69e-d568c22a5a75",
"applicationName": "Chirpstack application",
"deviceProfileId": "605d08d4-65f5-4d2c-8a5a-3d2457662f79",
"deviceProfileName": "Chirpstack default device profile",
"deviceName": "Device name",
"devEui": "1000000000000001",
"tags": {}
},
"devAddr": "20000001",
"adr": true,
"dr": 5,
"fCnt": 4,
"fPort": 10,
"confirmed": false,
"data": "AQQFeQICAtU=",
"rxInfo": [{
"gatewayId": "6a7e111a10000000",
"uplinkId": 24022,
"time": "2023-05-22T07:47:05.404859+00:00",
"rssi": -35,
"snr": 11.5,
"channel": 2,
"rfChain": 1,
"location": {},
"context": "EFwMtA==",
"metadata": {
"region_common_name": "EU868",
"region_config_id": "eu868"
},
"crcStatus": "CRC_OK"
}],
"txInfo": {
"frequency": 868500000,
"modulation": {
"lora": {
"bandwidth": 125000,
"spreadingFactor": 7,
"codeRate": "CR_4_5"
}
}
}
}
26 changes: 26 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"deviceName": "Device name 1000000000000001",
"deviceType": "Clover",
"attributes": {
"eui": "1000000000000001",
"devAddr": "20000001",
"fPort": 10,
"applicationId": "ca739e26-7b67-4f14-b69e-d568c22a5a75",
"applicationName": "Chirpstack application",
"tenantId": "52f14cd4-c6f1-4fbd-8f87-4025e1d49242",
"tenantName": "ChirpStack",
"deviceProfileId": "605d08d4-65f5-4d2c-8a5a-3d2457662f79",
"deviceProfileName": "Chirpstack default device profile",
"frequency": 868500000,
"bandwidth": 125000,
"spreadingFactor": 7,
"codeRate": "CR_4_5"
},
"telemetry": [{
"ts": 1684741625404,
"values": {
"rem_batt_capacity": 90,
"rem_batt_days": 2570
}
}]
}
28 changes: 28 additions & 0 deletions VENDORS/Tektelic/Clover/ChirpStack/uplink/result_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"deviceName": "Device name 1000000000000001",
"deviceType": "Clover",
"attributes": {
"eui": "1000000000000001",
"devAddr": "20000001",
"fPort": 10,
"applicationId": "ca739e26-7b67-4f14-b69e-d568c22a5a75",
"applicationName": "Chirpstack application",
"tenantId": "52f14cd4-c6f1-4fbd-8f87-4025e1d49242",
"tenantName": "ChirpStack",
"deviceProfileId": "605d08d4-65f5-4d2c-8a5a-3d2457662f79",
"deviceProfileName": "Chirpstack default device profile",
"frequency": 868500000,
"bandwidth": 125000,
"spreadingFactor": 7,
"codeRate": "CR_4_5"
},
"telemetry": [{
"ts": 1684741625404,
"values": {
"input1_frequency_to_moisture": "Dry",
"input1_frequency": 1401,
"input2_voltage_to_temp": 22.6,
"input2_voltage": 0.725
}
}]
}
29 changes: 29 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/converter.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"integrationName": "Loriot integration",
"includeGatewayInfo": "false"
}
17 changes: 17 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/payload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"cmd": "rx",
"seqno": 3040,
"EUI": "1000000000000001",
"ts": 1684478801936,
"fcnt": 2,
"port": 10,
"freq": 867500000,
"rssi": -21,
"snr": 10,
"toa": 206,
"dr": "SF9 BW125 4/5",
"ack": false,
"bat": 94,
"offline": false,
"data": "00d35a00bd0a0a"
}
17 changes: 17 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/payload_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"cmd": "rx",
"seqno": 3040,
"EUI": "1000000000000001",
"ts": 1684478801936,
"fcnt": 2,
"port": 10,
"freq": 867500000,
"rssi": -21,
"snr": 10,
"toa": 206,
"dr": "SF9 BW125 4/5",
"ack": false,
"bat": 94,
"offline": false,
"data": "01040579020202d5"
}
16 changes: 16 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[{
"deviceName": "1000000000000001",
"deviceType": "Clover",
"attributes": {
"eui": "1000000000000001",
"fPort": 10,
"frequency": 867500000
},
"telemetry": [{
"ts": 1684478801936,
"values": {
"rem_batt_capacity": 90,
"rem_batt_days": 2570
}
}]
}]
18 changes: 18 additions & 0 deletions VENDORS/Tektelic/Clover/LORIOT/uplink/result_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[{
"deviceName": "1000000000000001",
"deviceType": "Clover",
"attributes": {
"eui": "1000000000000001",
"fPort": 10,
"frequency": 867500000
},
"telemetry": [{
"ts": 1684478801936,
"values": {
"input1_frequency_to_moisture": "Dry",
"input1_frequency": 1401,
"input2_voltage_to_temp": 22.6,
"input2_voltage": 0.725
}
}]
}]
39 changes: 39 additions & 0 deletions VENDORS/Tektelic/Clover/ThingsStackCommunity/uplink/converter.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"integrationName": "The Things Stack Community integration",
"includeGatewayInfo": "false"
}
54 changes: 54 additions & 0 deletions VENDORS/Tektelic/Clover/ThingsStackCommunity/uplink/payload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"end_device_ids": {
"device_id": "eui-1000000000000001",
"application_ids": {
"application_id": "application-tts-name"
},
"dev_eui": "1000000000000001",
"join_eui": "2000000000000001",
"dev_addr": "20000001"
},
"correlation_ids": ["as:up:01H0S7ZJQ9MQPMVY49FT3SE07M", "gs:conn:01H03BQZ9342X3Y86DJ2P704E5", "gs:up:host:01H03BQZ99EGAM52KK1300GFKN", "gs:uplink:01H0S7ZJGS6D9TJSKJN8XNTMAV", "ns:uplink:01H0S7ZJGS9KKD4HTTPKFEMWCV", "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01H0S7ZJGSF3M38ZRZVTM38DEC", "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01H0S7ZJQ8R2EH5AA269AKM8DX"],
"received_at": "2023-05-19T05:33:35.848446463Z",
"uplink_message": {
"session_key_id": "AYfqmb0pc/1uRZv9xUydgQ==",
"f_port": 10,
"f_cnt": 10335,
"frm_payload": "ANNaAL0KCg==",
"rx_metadata": [{
"gateway_ids": {
"gateway_id": "eui-6a7e111a10000000",
"eui": "6A7E111A10000000"
},
"time": "2023-05-19T05:33:35.608982Z",
"timestamp": 3893546133,
"rssi": -35,
"channel_rssi": -35,
"snr": 13.2,
"frequency_offset": "69",
"uplink_token": "CiIKIAoUZXVpLTZhN2UxMTFhMTAwMDAwMDASCCThJP/+9k6eEJWZy8AOGgwIr5ScowYQvNbUsQIgiMy8y6jwpwE=",
"channel_index": 3,
"received_at": "2023-05-19T05:33:35.607383681Z"
}],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "867100000",
"timestamp": 3893546133,
"time": "2023-05-19T05:33:35.608982Z"
},
"received_at": "2023-05-19T05:33:35.641841782Z",
"consumed_airtime": "0.056576s",
"network_ids": {
"net_id": "000013",
"tenant_id": "ttn",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.network"
}
}
}
54 changes: 54 additions & 0 deletions VENDORS/Tektelic/Clover/ThingsStackCommunity/uplink/payload_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"end_device_ids": {
"device_id": "eui-1000000000000001",
"application_ids": {
"application_id": "application-tts-name"
},
"dev_eui": "1000000000000001",
"join_eui": "2000000000000001",
"dev_addr": "20000001"
},
"correlation_ids": ["as:up:01H0S7ZJQ9MQPMVY49FT3SE07M", "gs:conn:01H03BQZ9342X3Y86DJ2P704E5", "gs:up:host:01H03BQZ99EGAM52KK1300GFKN", "gs:uplink:01H0S7ZJGS6D9TJSKJN8XNTMAV", "ns:uplink:01H0S7ZJGS9KKD4HTTPKFEMWCV", "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01H0S7ZJGSF3M38ZRZVTM38DEC", "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01H0S7ZJQ8R2EH5AA269AKM8DX"],
"received_at": "2023-05-19T05:33:35.848446463Z",
"uplink_message": {
"session_key_id": "AYfqmb0pc/1uRZv9xUydgQ==",
"f_port": 10,
"f_cnt": 10335,
"frm_payload": "AQQFeQICAtU=",
"rx_metadata": [{
"gateway_ids": {
"gateway_id": "eui-6a7e111a10000000",
"eui": "6A7E111A10000000"
},
"time": "2023-05-19T05:33:35.608982Z",
"timestamp": 3893546133,
"rssi": -35,
"channel_rssi": -35,
"snr": 13.2,
"frequency_offset": "69",
"uplink_token": "CiIKIAoUZXVpLTZhN2UxMTFhMTAwMDAwMDASCCThJP/+9k6eEJWZy8AOGgwIr5ScowYQvNbUsQIgiMy8y6jwpwE=",
"channel_index": 3,
"received_at": "2023-05-19T05:33:35.607383681Z"
}],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "867100000",
"timestamp": 3893546133,
"time": "2023-05-19T05:33:35.608982Z"
},
"received_at": "2023-05-19T05:33:35.641841782Z",
"consumed_airtime": "0.056576s",
"network_ids": {
"net_id": "000013",
"tenant_id": "ttn",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.network"
}
}
}
27 changes: 27 additions & 0 deletions VENDORS/Tektelic/Clover/ThingsStackCommunity/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"deviceName": "eui-1000000000000001",
"deviceType": "Clover",
"attributes": {
"eui": "1000000000000001",
"fPort": 10,
"applicationId": "application-tts-name",
"devAddr": "20000001",
"spreadingFactor": 7,
"codeRate": "4/5",
"tenantId": "ttn",
"device_id": "eui-1000000000000001",
"join_eui": "2000000000000001",
"net_id": "000013",
"cluster_id": "eu1",
"cluster_adress": "eu1.cloud.thethings.network",
"bandwidth": 125000,
"frequency": "867100000"
},
"telemetry": [{
"ts": 1684474415641,
"values": {
"rem_batt_capacity": 90,
"rem_batt_days": 2570
}
}]
}
Loading

0 comments on commit 97106bf

Please sign in to comment.