From 82d191e0e56d0eb795190cc254836cc805aa1d99 Mon Sep 17 00:00:00 2001 From: Artem Barysh Date: Thu, 26 Dec 2024 11:38:41 +0200 Subject: [PATCH] Added an additional test case for integrating Loriot (Yobiiq device) --- .../EM2101/LORIOT/uplink/payload_5.json | 32 +++++++++++++++++ .../Yobiiq/EM2101/LORIOT/uplink/result_5.json | 27 +++++++++++++++ .../EM4301/LORIOT/uplink/payload_4.json | 32 +++++++++++++++++ .../Yobiiq/EM4301/LORIOT/uplink/result_4.json | 30 ++++++++++++++++ .../Yobiiq/RM200/LORIOT/uplink/payload_4.json | 32 +++++++++++++++++ .../Yobiiq/RM200/LORIOT/uplink/result_4.json | 34 +++++++++++++++++++ .../SD1001/LORIOT/uplink/payload_4.json | 32 +++++++++++++++++ .../Yobiiq/SD1001/LORIOT/uplink/result_4.json | 25 ++++++++++++++ 8 files changed, 244 insertions(+) create mode 100644 VENDORS/Yobiiq/EM2101/LORIOT/uplink/payload_5.json create mode 100644 VENDORS/Yobiiq/EM2101/LORIOT/uplink/result_5.json create mode 100644 VENDORS/Yobiiq/EM4301/LORIOT/uplink/payload_4.json create mode 100644 VENDORS/Yobiiq/EM4301/LORIOT/uplink/result_4.json create mode 100644 VENDORS/Yobiiq/RM200/LORIOT/uplink/payload_4.json create mode 100644 VENDORS/Yobiiq/RM200/LORIOT/uplink/result_4.json create mode 100644 VENDORS/Yobiiq/SD1001/LORIOT/uplink/payload_4.json create mode 100644 VENDORS/Yobiiq/SD1001/LORIOT/uplink/result_4.json diff --git a/VENDORS/Yobiiq/EM2101/LORIOT/uplink/payload_5.json b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/payload_5.json new file mode 100644 index 00000000..73297087 --- /dev/null +++ b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/payload_5.json @@ -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" +} diff --git a/VENDORS/Yobiiq/EM2101/LORIOT/uplink/result_5.json b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/result_5.json new file mode 100644 index 00000000..eec7a385 --- /dev/null +++ b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/result_5.json @@ -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 + } + }] +} \ No newline at end of file diff --git a/VENDORS/Yobiiq/EM4301/LORIOT/uplink/payload_4.json b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/payload_4.json new file mode 100644 index 00000000..6c65ff8f --- /dev/null +++ b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/payload_4.json @@ -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" +} diff --git a/VENDORS/Yobiiq/EM4301/LORIOT/uplink/result_4.json b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/result_4.json new file mode 100644 index 00000000..730e7bf3 --- /dev/null +++ b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/result_4.json @@ -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 + } + }] +} \ No newline at end of file diff --git a/VENDORS/Yobiiq/RM200/LORIOT/uplink/payload_4.json b/VENDORS/Yobiiq/RM200/LORIOT/uplink/payload_4.json new file mode 100644 index 00000000..2eaabe1a --- /dev/null +++ b/VENDORS/Yobiiq/RM200/LORIOT/uplink/payload_4.json @@ -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" +} diff --git a/VENDORS/Yobiiq/RM200/LORIOT/uplink/result_4.json b/VENDORS/Yobiiq/RM200/LORIOT/uplink/result_4.json new file mode 100644 index 00000000..98945b7d --- /dev/null +++ b/VENDORS/Yobiiq/RM200/LORIOT/uplink/result_4.json @@ -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 + } + }] +} \ No newline at end of file diff --git a/VENDORS/Yobiiq/SD1001/LORIOT/uplink/payload_4.json b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/payload_4.json new file mode 100644 index 00000000..5350e1b1 --- /dev/null +++ b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/payload_4.json @@ -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" +} diff --git a/VENDORS/Yobiiq/SD1001/LORIOT/uplink/result_4.json b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/result_4.json new file mode 100644 index 00000000..6c07865b --- /dev/null +++ b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/result_4.json @@ -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" + } + } +} \ No newline at end of file