Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Loriot integration for Nwave devices #182

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/payload_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"cmd": "gw",
"seqno": 4,
"EUI": "0102030405060708",
"ts": 1690901260493,
"fcnt": 3,
"port": 2,
"freq": 868300000,
"toa": 1319,
"dr": "SF12 BW125 4/5",
"ack": false,
"gws": [
{
"rssi": -38,
"snr": 8.5,
"ts": 1690901260493,
"time": "2023-08-01T14:47:40.493Z",
"gweui": "1020304080706050",
"ant": 0
},
{
"rssi": -42,
"snr": 8.8,
"ts": 1690901260495,
"time": "2023-08-01T14:47:40.495Z",
"gweui": "1020304081716151",
"ant": 0
}
],
"bat": 143,
"data": "A86661"
}
44 changes: 44 additions & 0 deletions VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/result_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[{
"deviceName": "G4 Car Counter FM 0102030405060708",
"deviceType": "Parking sensor",
"attributes": {
"eui": "0102030405060708",
"fPort": 2,
"frequency": 868300000
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"type": "heartbeat",
"hw_health_status": 40,
"battery_voltage": 2.908,
"battery_voltage_mean_24h": 2.888
}
}]
}, {
"deviceName": "Gateway 1020304080706050",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260493,
"values": {
"rssi": -38,
"snr": 8.5
}
}],
"attributes": {
"eui": "1020304080706050"
}
}, {
"deviceName": "Gateway 1020304081716151",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260495,
"values": {
"rssi": -42,
"snr": 8.8
}
}],
"attributes": {
"eui": "1020304081716151"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/payload_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"cmd": "gw",
"seqno": 4,
"EUI": "0102030405060708",
"ts": 1690901260493,
"fcnt": 3,
"port": 2,
"freq": 868300000,
"toa": 1319,
"dr": "SF12 BW125 4/5",
"ack": false,
"gws": [
{
"rssi": -38,
"snr": 8.5,
"ts": 1690901260493,
"time": "2023-08-01T14:47:40.493Z",
"gweui": "1020304080706050",
"ant": 0
},
{
"rssi": -42,
"snr": 8.8,
"ts": 1690901260495,
"time": "2023-08-01T14:47:40.495Z",
"gweui": "1020304081716151",
"ant": 0
}
],
"bat": 143,
"data": "A86661"
}
44 changes: 44 additions & 0 deletions VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/result_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[{
"deviceName": "G4 Car Counter SM 0102030405060708",
"deviceType": "Parking sensor",
"attributes": {
"eui": "0102030405060708",
"fPort": 2,
"frequency": 868300000
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"type": "heartbeat",
"hw_health_status": 40,
"battery_voltage": 2.908,
"battery_voltage_mean_24h": 2.888
}
}]
}, {
"deviceName": "Gateway 1020304080706050",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260493,
"values": {
"rssi": -38,
"snr": 8.5
}
}],
"attributes": {
"eui": "1020304080706050"
}
}, {
"deviceName": "Gateway 1020304081716151",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260495,
"values": {
"rssi": -42,
"snr": 8.8
}
}],
"attributes": {
"eui": "1020304081716151"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/payload_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"cmd": "gw",
"seqno": 4,
"EUI": "0102030405060708",
"ts": 1690901260493,
"fcnt": 3,
"port": 2,
"freq": 868300000,
"toa": 1319,
"dr": "SF12 BW125 4/5",
"ack": false,
"gws": [
{
"rssi": -38,
"snr": 8.5,
"ts": 1690901260493,
"time": "2023-08-01T14:47:40.493Z",
"gweui": "1020304080706050",
"ant": 0
},
{
"rssi": -42,
"snr": 8.8,
"ts": 1690901260495,
"time": "2023-08-01T14:47:40.495Z",
"gweui": "1020304081716151",
"ant": 0
}
],
"bat": 143,
"data": "00d3d800590b"
}
46 changes: 46 additions & 0 deletions VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/result_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[{
"deviceName": "G4 Parking sensor FM 0102030405060708",
"deviceType": "Parking sensor",
"attributes": {
"eui": "0102030405060708",
"fPort": 2,
"frequency": 868300000
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"type": "heartbeat",
"occupied": false,
"hw_health_status": 0,
"temperature": -10,
"battery_voltage": 2.32,
"battery_health": "critical"
}
}]
}, {
"deviceName": "Gateway 1020304080706050",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260493,
"values": {
"rssi": -38,
"snr": 8.5
}
}],
"attributes": {
"eui": "1020304080706050"
}
}, {
"deviceName": "Gateway 1020304081716151",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260495,
"values": {
"rssi": -42,
"snr": 8.8
}
}],
"attributes": {
"eui": "1020304081716151"
}
}]
32 changes: 32 additions & 0 deletions VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/payload_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"cmd": "gw",
"seqno": 4,
"EUI": "0102030405060708",
"ts": 1690901260493,
"fcnt": 3,
"port": 2,
"freq": 868300000,
"toa": 1319,
"dr": "SF12 BW125 4/5",
"ack": false,
"gws": [
{
"rssi": -38,
"snr": 8.5,
"ts": 1690901260493,
"time": "2023-08-01T14:47:40.493Z",
"gweui": "1020304080706050",
"ant": 0
},
{
"rssi": -42,
"snr": 8.8,
"ts": 1690901260495,
"time": "2023-08-01T14:47:40.495Z",
"gweui": "1020304081716151",
"ant": 0
}
],
"bat": 143,
"data": "00d3d800590b"
}
46 changes: 46 additions & 0 deletions VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/result_3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[{
"deviceName": "G4 Parking sensor SM 0102030405060708",
"deviceType": "Parking sensor",
"attributes": {
"eui": "0102030405060708",
"fPort": 2,
"frequency": 868300000
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"type": "heartbeat",
"occupied": false,
"hw_health_status": 0,
"temperature": -10,
"battery_voltage": 2.32,
"battery_health": "critical"
}
}]
}, {
"deviceName": "Gateway 1020304080706050",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260493,
"values": {
"rssi": -38,
"snr": 8.5
}
}],
"attributes": {
"eui": "1020304080706050"
}
}, {
"deviceName": "Gateway 1020304081716151",
"deviceType": "Lora gateway",
"telemetry": [{
"ts": 1690901260495,
"values": {
"rssi": -42,
"snr": 8.8
}
}],
"attributes": {
"eui": "1020304081716151"
}
}]