Skip to content

Commit

Permalink
Added an additional test case for integrating Loriot (Yobiiq device)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-barysh-dev committed Dec 26, 2024
1 parent 963218e commit 82d191e
Show file tree
Hide file tree
Showing 8 changed files with 244 additions and 0 deletions.
32 changes: 32 additions & 0 deletions VENDORS/Yobiiq/EM2101/LORIOT/uplink/payload_5.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": 50,
"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": "FF090200FF0A2301FF1601ED0333FF0F02FF0B01FF0001FF28454D32313031"
}
27 changes: 27 additions & 0 deletions VENDORS/Yobiiq/EM2101/LORIOT/uplink/result_5.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"deviceName": "0102030405060708",
"deviceType": "Electricity Meter",
"groupName": "Electricity Meters",
"attributes": {
"codecVersion": "1.0.0",
"genericModel": "EM2101",
"productCode": "P1002009",
"manufacturer": "YOBIIQ B.V.",
"devEui": "0102030405060708",
"latestFPort": 50,
"hardwareVersion": "V2.0",
"firmwareVersion": "V23.1",
"deviceSerialNumber": 32310067,
"deviceClass": "Class C",
"powerEvent": "AC Power On",
"relayStatus": "HIGH",
"deviceModel": "EM2101"
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"fPort": 50,
"fCnt": 3
}
}]
}
32 changes: 32 additions & 0 deletions VENDORS/Yobiiq/EM4301/LORIOT/uplink/payload_4.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": 1,
"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": "0101673B240C0203673B21B4030403080F040405000000000506000000000607000000000B0A00"
}
30 changes: 30 additions & 0 deletions VENDORS/Yobiiq/EM4301/LORIOT/uplink/result_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"deviceName": "0102030405060708",
"deviceType": "Electricity Meter",
"groupName": "Electricity Meters",
"attributes": {
"codecVersion": "1.0.0",
"genericModel": "EM4301",
"productCode": "P1002011",
"manufacturer": "YOBIIQ B.V.",
"devEui": "0102030405060708",
"latestFPort": 1
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"fPort": 1,
"fCnt": 3
}
}, {
"ts": 1731928500000,
"values": {
"timestamp": 1731929100,
"activeEnergyImportL123T1": 50859780,
"activeEnergyImportL123T2": 0,
"activeEnergyExportL123T1": 0,
"activeEnergyExportL123T2": 0,
"modbusErrorCode": 0
}
}]
}
32 changes: 32 additions & 0 deletions VENDORS/Yobiiq/RM200/LORIOT/uplink/payload_4.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": 11,
"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": "AAFE6735D830AA0101AA9700000005AA0203AA9A00000005"
}
34 changes: 34 additions & 0 deletions VENDORS/Yobiiq/RM200/LORIOT/uplink/result_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"deviceName": "0102030405060708",
"deviceType": "Digital Controller",
"groupName": "Digital Controllers",
"attributes": {
"codecVersion": "1.0.0",
"genericModel": "RM200",
"productCode": "P1002003",
"manufacturer": "YOBIIQ B.V.",
"devEui": "0102030405060708",
"latestFPort": 11
},
"telemetry": [{
"ts": 1690901260493,
"values": {
"fPort": 11,
"fCnt": 3
}
}, {
"ts": 1731582000000,
"values": {
"channel1State": {
"state": "ON",
"reason": "AUTO"
},
"channel1Counter": 5,
"channel2State": {
"state": "ON",
"reason": "MANUAL"
},
"channel2Counter": 5
}
}]
}
32 changes: 32 additions & 0 deletions VENDORS/Yobiiq/SD1001/LORIOT/uplink/payload_4.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": 8,
"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": "017564020B00030000040000050000060000"
}
25 changes: 25 additions & 0 deletions VENDORS/Yobiiq/SD1001/LORIOT/uplink/result_4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"deviceName": "0102030405060708",
"deviceType": "Smoke Detector",
"groupName": "Smoke Detectors",
"attributes": {
"devEui": "0102030405060708",
"codecVersion": "1.1.0",
"deviceModel": "SD-1001",
"productCode": "1002015",
"manufacturer": "YOBIIQ B.V."
},
"telemetry": {
"ts": 1690901260493,
"values": {
"fPort": 8,
"fCnt": 3,
"batteryLevelInPercentage": 100,
"powerEvent": "AC Power Off",
"lowBatteryAlarm": "Normal",
"faultAlarm": "Normal",
"smokeAlarm": "Normal",
"interconnectAlarm": "Normal"
}
}
}

0 comments on commit 82d191e

Please sign in to comment.