Skip to content

Commit

Permalink
Merge pull request #179 from artem-barysh-dev/vivid
Browse files Browse the repository at this point in the history
Vivid
  • Loading branch information
ViacheslavKlimov authored Dec 24, 2024
2 parents 4c32451 + 4a192eb commit 400178a
Show file tree
Hide file tree
Showing 18 changed files with 464 additions and 0 deletions.
39 changes: 39 additions & 0 deletions VENDORS/Tektelic/Vivid/ChirpStack/uplink/converter.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions VENDORS/Tektelic/Vivid/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/Vivid/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": "A2cA4QRoTQC6C54=",
"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"
}
}
}
}
27 changes: 27 additions & 0 deletions VENDORS/Tektelic/Vivid/ChirpStack/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"deviceName": "Device name 1000000000000001",
"deviceType": "Vivid",
"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": {
"ambient_temperature": 22.5,
"relative_humidity": 38.5,
"battery_voltage": 2.974
}
}]
}
29 changes: 29 additions & 0 deletions VENDORS/Tektelic/Vivid/LORIOT/uplink/converter.json

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions VENDORS/Tektelic/Vivid/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/Vivid/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": "036700E104684D00BA0B9E"
}
17 changes: 17 additions & 0 deletions VENDORS/Tektelic/Vivid/LORIOT/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[{
"deviceName": "1000000000000001",
"deviceType": "Vivid",
"attributes": {
"eui": "1000000000000001",
"fPort": 10,
"frequency": 867500000
},
"telemetry": [{
"ts": 1684478801936,
"values": {
"ambient_temperature": 22.5,
"relative_humidity": 38.5,
"battery_voltage": 2.974
}
}]
}]
39 changes: 39 additions & 0 deletions VENDORS/Tektelic/Vivid/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/Vivid/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": "A2cA4QRoTQC6C54=",
"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"
}
}
}
28 changes: 28 additions & 0 deletions VENDORS/Tektelic/Vivid/ThingsStackCommunity/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"deviceName": "eui-1000000000000001",
"deviceType": "Vivid",
"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": {
"ambient_temperature": 22.5,
"relative_humidity": 38.5,
"battery_voltage": 2.974
}
}]
}
40 changes: 40 additions & 0 deletions VENDORS/Tektelic/Vivid/ThingsStackIndustries/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": "ChirpStack integration",
"includeGatewayInfo": "false"
}
77 changes: 77 additions & 0 deletions VENDORS/Tektelic/Vivid/ThingsStackIndustries/uplink/payload.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"end_device_ids": {
"device_id": "eui-1000000000000001",
"application_ids": {
"application_id": "application-tti-name"
},
"dev_eui": "1000000000000001",
"join_eui": "2000000000000001",
"dev_addr": "20000001"
},
"correlation_ids": ["as:up:01H0PZDGB1NW6NAPD815NGHPF6", "gs:conn:01H0FJRSXSYT7VKNYXJ89F95XT", "gs:up:host:01H0FJRSY3MZMGPPFBQ4FZV4T8", "gs:uplink:01H0PZDG4HHGFRTXRTXD4PFTH7", "ns:uplink:01H0PZDG4JZ3BM0K6J89EQK1J7", "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01H0PZDG4J02F85RYFPCNSNXCR", "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01H0PZDGB081PMP806BJHNHX1A"],
"received_at": "2023-05-18T08:25:26.112483370Z",
"uplink_message": {
"session_key_id": "AYfg8rhha5n+FWx0ZaAprA==",
"f_port": 10,
"f_cnt": 5017,
"frm_payload": "A2cA4QRoTQC6C54=",
"rx_metadata": [{
"gateway_ids": {
"gateway_id": "eui-6A7E111A10000000",
"eui": "6A7E111A10000000"
},
"time": "2023-05-18T08:25:25.885310Z",
"timestamp": 818273765,
"rssi": -24,
"channel_rssi": -24,
"snr": 12,
"frequency_offset": "671",
"uplink_token": "CiIKIAoUZXVpLTZBN0UxMTFBMTAwMDAwMDASCCThJP/+9k6eEOW7l4YDGgwI9cGXowYQ5KPhrwMgiI2rp+jpOA=",
"channel_index": 2,
"received_at": "2023-05-18T08:25:25.869324983Z"
}, {
"gateway_ids": {
"gateway_id": "packetbroker"
},
"packet_broker": {
"message_id": "01H0PZDG4MF9AYSMNY44MAVTDH",
"forwarder_net_id": "000013",
"forwarder_tenant_id": "ttn",
"forwarder_cluster_id": "eu1.cloud.thethings.network",
"forwarder_gateway_eui": "6A7E111A10000000",
"forwarder_gateway_id": "eui-6a7e111a10000000",
"home_network_net_id": "000013",
"home_network_tenant_id": "tenant",
"home_network_cluster_id": "eu1.cloud.thethings.industries"
},
"time": "2023-05-18T08:25:25.885310Z",
"rssi": -24,
"channel_rssi": -24,
"snr": 12,
"frequency_offset": "671",
"uplink_token": "eyJnIjoiWlhsS2FHSkhZMmxQYVVwQ1RWUkpORkl3VGs1VE1XTnBURU5LYkdKdFRXbFBhVXBDVFZSSk5GSXdUazVKYVhkcFlWaFphVTlwU201a01uaGhWVlJvZDFSWFVuRmlSM1JtVFcxT2RVbHBkMmxrUjBadVNXcHZhV05ZY0RKT1IyeExaREpSZVZwR1pIUmpNRXBLVlVoR2RFNVZkR3BWVTBvNUxua3paVVJTWVRaM1lXOU1kbTQwVm5sdmIyWmlPWGN1ZUhCZmVrcElaa3hIWlZadGRVUlFVeTVuYlRaVlZXRXdkakpHV0VKMGJUUjZaMjVXUkVoeGVHRjRaMlJKTlVkS1VsbERhemc1VDNCbk5rVk1iM1JDUkVZM1VWbHdZbEJDTkdOblNqWjBlbkphYUV4MFRVMHhZMVZFTTFac01XdExURUo0YURaMFExTnhhMVJsWWw4eE5FdHlVVXcyZUhsRWFFbEhlakJITXpoTE0xaFdlRzR5VUVjMk4wNUViME5WTkhoTmRrazFZVk5oWkUwd2FXVnFjR294VGtoMFduZHlZMDFxVlVGNmRsbERUazlNY2s5eFdVeFpWMk5XTG1WVFFYVkpNVkptT1U5NWRqUTNhSEoxTUZoalYxRT0iLCJhIjp7ImZuaWQiOiIwMDAwMTMiLCJmdGlkIjoidHRuIiwiZmNpZCI6ImV1MS5jbG91ZC50aGV0aGluZ3MubmV0d29yayJ9fQ==",
"received_at": "2023-05-18T08:25:25.906038642Z"
}],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "868500000",
"timestamp": 818273765,
"time": "2023-05-18T08:25:25.885310Z"
},
"received_at": "2023-05-18T08:25:25.906399073Z",
"consumed_airtime": "0.097536s",
"network_ids": {
"net_id": "000013",
"tenant_id": "tenant",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.industries",
"tenant_address": "tenant.eu1.cloud.thethings.industries"
}
}
}
28 changes: 28 additions & 0 deletions VENDORS/Tektelic/Vivid/ThingsStackIndustries/uplink/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"deviceName": "eui-1000000000000001",
"deviceType": "Vivid",
"attributes": {
"eui": "1000000000000001",
"fPort": 10,
"applicationId": "application-tti-name",
"devAddr": "20000001",
"spreadingFactor": 7,
"codeRate": "4/5",
"tenantId": "tenant",
"device_id": "eui-1000000000000001",
"join_eui": "2000000000000001",
"net_id": "000013",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.industries",
"bandwidth": 125000,
"frequency": "868500000"
},
"telemetry": [{
"ts": 1684398325906,
"values": {
"ambient_temperature": 22.5,
"relative_humidity": 38.5,
"battery_voltage": 2.974
}
}]
}
5 changes: 5 additions & 0 deletions VENDORS/Tektelic/Vivid/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"url": "https://tektelic.com/products/sensors/vivid-pir-smart-room-sensor/",
"label": "Vivid: Smart room & occupancy sensor",
"description": "The Vivid is a versatile LoRaWAN IoT sensor in a compact form factor, ideal for monitoring and reporting temperature, humidity, light, shock and open/closed doors and windows in an indoor environment. Additional sensing features such as leak and motion detection, as well as counting pulses from an external device, are also supported with the appropriate model."
}
Binary file added VENDORS/Tektelic/Vivid/photo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 400178a

Please sign in to comment.