diff --git a/VENDORS/Bosch/Parking_Lot_Sensor/ChirpStack/uplink/converter.json b/VENDORS/Bosch/Parking_Lot_Sensor/ChirpStack/uplink/converter.json index 917d3506..c22290ab 100644 --- a/VENDORS/Bosch/Parking_Lot_Sensor/ChirpStack/uplink/converter.json +++ b/VENDORS/Bosch/Parking_Lot_Sensor/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Bosch parking lot sensor", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Bosch/Parking_Lot_Sensor/LORIOT/uplink/converter.json b/VENDORS/Bosch/Parking_Lot_Sensor/LORIOT/uplink/converter.json index c6c4aeaf..0047d48b 100644 --- a/VENDORS/Bosch/Parking_Lot_Sensor/LORIOT/uplink/converter.json +++ b/VENDORS/Bosch/Parking_Lot_Sensor/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Bosch parking lot sensor", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackCommunity/uplink/converter.json b/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackCommunity/uplink/converter.json index 6eee5e8d..55ef0772 100644 --- a/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Bosch parking lot sensor", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackIndustries/uplink/converter.json b/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackIndustries/uplink/converter.json index b393fa28..efc5f744 100644 --- a/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Bosch/Parking_Lot_Sensor/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Bosch parking lot sensor", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2/ChirpStack/uplink/converter.json index 67ae7f90..6e3f976d 100644 --- a/VENDORS/Elsys/ERS2/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2/LORIOT/uplink/converter.json index ee7b05b9..9056c17b 100644 --- a/VENDORS/Elsys/ERS2/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2/ThingsStackCommunity/uplink/converter.json index 678f34b3..187cb37b 100644 --- a/VENDORS/Elsys/ERS2/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2/ThingsStackIndustries/uplink/converter.json index 63ea8739..1a016773 100644 --- a/VENDORS/Elsys/ERS2/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2/ChirpStack/uplink/converter.json index 2111f6bb..f3da44c9 100644 --- a/VENDORS/Elsys/ERS2_CO2/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 С02 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2/LORIOT/uplink/converter.json index 2c462394..a5a82665 100644 --- a/VENDORS/Elsys/ERS2_CO2/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 C02 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2_CO2/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2/ThingsStackCommunity/uplink/converter.json index 09bece39..aa938d65 100644 --- a/VENDORS/Elsys/ERS2_CO2/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 C02 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2/ThingsStackIndustries/uplink/converter.json index 714ecfa2..df16648e 100644 --- a/VENDORS/Elsys/ERS2_CO2/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 CO2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2_Lite/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2_Lite/ChirpStack/uplink/converter.json index b87e4c39..39475d17 100644 --- a/VENDORS/Elsys/ERS2_CO2_Lite/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2_Lite/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 С02 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2_Lite/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2_Lite/LORIOT/uplink/converter.json index 9dc26aa4..8cf102bd 100644 --- a/VENDORS/Elsys/ERS2_CO2_Lite/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2_Lite/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 C02 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackCommunity/uplink/converter.json index 4e4fdcdc..4a835bdf 100644 --- a/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 C02 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackIndustries/uplink/converter.json index d4b9788f..46ab403f 100644 --- a/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_CO2_Lite/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 CO2 Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Lite/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2_Lite/ChirpStack/uplink/converter.json index a0846fad..922e0cef 100644 --- a/VENDORS/Elsys/ERS2_Lite/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Lite/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Lite/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2_Lite/LORIOT/uplink/converter.json index 5f810faa..d7085879 100644 --- a/VENDORS/Elsys/ERS2_Lite/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Lite/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2_Lite/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2_Lite/ThingsStackCommunity/uplink/converter.json index a297522a..f7a761aa 100644 --- a/VENDORS/Elsys/ERS2_Lite/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Lite/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Lite/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2_Lite/ThingsStackIndustries/uplink/converter.json index 1c6ec249..989bce9f 100644 --- a/VENDORS/Elsys/ERS2_Lite/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Lite/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Lite Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Sound/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2_Sound/ChirpStack/uplink/converter.json index bb779ab2..308e9f6f 100644 --- a/VENDORS/Elsys/ERS2_Sound/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Sound/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 Sound Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Sound/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2_Sound/LORIOT/uplink/converter.json index 558ae84a..31b5b2a2 100644 --- a/VENDORS/Elsys/ERS2_Sound/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Sound/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 Sound Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2_Sound/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2_Sound/ThingsStackCommunity/uplink/converter.json index 26dc4004..8575af6c 100644 --- a/VENDORS/Elsys/ERS2_Sound/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Sound/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Sound Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_Sound/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2_Sound/ThingsStackIndustries/uplink/converter.json index 14e47fef..4a98b8eb 100644 --- a/VENDORS/Elsys/ERS2_Sound/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_Sound/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Sound Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_VOC/ChirpStack/uplink/converter.json b/VENDORS/Elsys/ERS2_VOC/ChirpStack/uplink/converter.json index f6c11d34..b2ae4199 100644 --- a/VENDORS/Elsys/ERS2_VOC/ChirpStack/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_VOC/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for Elsys ERS2 VOC Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_VOC/LORIOT/uplink/converter.json b/VENDORS/Elsys/ERS2_VOC/LORIOT/uplink/converter.json index 97a1a346..0c36d578 100644 --- a/VENDORS/Elsys/ERS2_VOC/LORIOT/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_VOC/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for Elsys ERS2 VOC Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Elsys/ERS2_VOC/ThingsStackCommunity/uplink/converter.json b/VENDORS/Elsys/ERS2_VOC/ThingsStackCommunity/uplink/converter.json index 0d02fe0e..b622f0f8 100644 --- a/VENDORS/Elsys/ERS2_VOC/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_VOC/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for Elsys ERS2 VOC Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Elsys/ERS2_VOC/ThingsStackIndustries/uplink/converter.json b/VENDORS/Elsys/ERS2_VOC/ThingsStackIndustries/uplink/converter.json index 08288c61..499909e5 100644 --- a/VENDORS/Elsys/ERS2_VOC/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Elsys/ERS2_VOC/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 VOC Device", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM102/ChirpStack/uplink/converter.json index da027621..5c2325e2 100644 --- a/VENDORS/Milesight/AM102/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM102/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM102", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM102/LORIOT/uplink/converter.json index 371d29e6..a51c0aa1 100644 --- a/VENDORS/Milesight/AM102/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM102/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM102", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM102/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM102/ThingsStackCommunity/uplink/converter.json index 1859676b..e26b4278 100644 --- a/VENDORS/Milesight/AM102/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM102/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM102", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM102/ThingsStackIndustries/uplink/converter.json index 135e1cbf..ccae5a17 100644 --- a/VENDORS/Milesight/AM102/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM102/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM102", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102L/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM102L/ChirpStack/uplink/converter.json index 9a3e231b..2fa2bb91 100644 --- a/VENDORS/Milesight/AM102L/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM102L/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM102L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102L/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM102L/LORIOT/uplink/converter.json index 0e084f22..0e7f78e6 100644 --- a/VENDORS/Milesight/AM102L/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM102L/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM102L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM102L/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM102L/ThingsStackCommunity/uplink/converter.json index 26db57b8..783dcf07 100644 --- a/VENDORS/Milesight/AM102L/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM102L/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM102L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM102L/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM102L/ThingsStackIndustries/uplink/converter.json index 4c34f903..8dd09fdf 100644 --- a/VENDORS/Milesight/AM102L/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM102L/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM102L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM103/ChirpStack/uplink/converter.json index f988e6c5..08973645 100644 --- a/VENDORS/Milesight/AM103/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM103/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM103/LORIOT/uplink/converter.json index 48a16552..1d0d7ab4 100644 --- a/VENDORS/Milesight/AM103/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM103/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM103/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM103/ThingsStackCommunity/uplink/converter.json index d2d18cb9..306e9711 100644 --- a/VENDORS/Milesight/AM103/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM103/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM103/ThingsStackIndustries/uplink/converter.json index 7233cc7b..c8f4daac 100644 --- a/VENDORS/Milesight/AM103/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM103/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103L/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM103L/ChirpStack/uplink/converter.json index bbc53c52..62105b00 100644 --- a/VENDORS/Milesight/AM103L/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM103L/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM103L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103L/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM103L/LORIOT/uplink/converter.json index 77e3f11b..a3619a52 100644 --- a/VENDORS/Milesight/AM103L/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM103L/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-103L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM103L/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM103L/ThingsStackCommunity/uplink/converter.json index 589efaa2..fc853063 100644 --- a/VENDORS/Milesight/AM103L/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM103L/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-103L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM103L/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM103L/ThingsStackIndustries/uplink/converter.json index a198e13f..e3740ad2 100644 --- a/VENDORS/Milesight/AM103L/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM103L/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-103L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM104/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM104/ChirpStack/uplink/converter.json index 66e8b21d..5bcd616b 100644 --- a/VENDORS/Milesight/AM104/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM104/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM104", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM104/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM104/LORIOT/uplink/converter.json index 06bc9d1b..2d366ef2 100644 --- a/VENDORS/Milesight/AM104/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM104/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM104/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM104/ThingsStackCommunity/uplink/converter.json index 29aab1dd..084cad1a 100644 --- a/VENDORS/Milesight/AM104/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM104/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-104", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM104/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM104/ThingsStackIndustries/uplink/converter.json index a1122e3d..615c8b9e 100644 --- a/VENDORS/Milesight/AM104/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM104/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-104", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM107/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM107/ChirpStack/uplink/converter.json index c58cb20f..43bd946d 100644 --- a/VENDORS/Milesight/AM107/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM107/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM107", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM107/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM107/LORIOT/uplink/converter.json index 4e0df159..1d833eb5 100644 --- a/VENDORS/Milesight/AM107/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM107/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-107", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM107/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM107/ThingsStackCommunity/uplink/converter.json index f05ef647..ba099380 100644 --- a/VENDORS/Milesight/AM107/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM107/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-107", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM107/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM107/ThingsStackIndustries/uplink/converter.json index d27e9046..46df6136 100644 --- a/VENDORS/Milesight/AM107/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM107/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-107", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM307/ChirpStack/uplink/converter.json index fd100328..57263636 100644 --- a/VENDORS/Milesight/AM307/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM307/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM307", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM307/LORIOT/uplink/converter.json index 267c88d9..13cd0d66 100644 --- a/VENDORS/Milesight/AM307/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM307/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-307", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM307/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM307/ThingsStackCommunity/uplink/converter.json index 8bb1e679..73b183dd 100644 --- a/VENDORS/Milesight/AM307/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM307/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-307", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM307/ThingsStackIndustries/uplink/converter.json index 02dea5b0..b907542a 100644 --- a/VENDORS/Milesight/AM307/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM307/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-307", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307L/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM307L/ChirpStack/uplink/converter.json index a411be5c..a87f80c6 100644 --- a/VENDORS/Milesight/AM307L/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM307L/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM307L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307L/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM307L/LORIOT/uplink/converter.json index 5fc200c7..562dd6ee 100644 --- a/VENDORS/Milesight/AM307L/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM307L/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-307L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM307L/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM307L/ThingsStackCommunity/uplink/converter.json index fc9116d1..5b6f2d33 100644 --- a/VENDORS/Milesight/AM307L/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM307L/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-307L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM307L/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM307L/ThingsStackIndustries/uplink/converter.json index b8f40d08..89747951 100644 --- a/VENDORS/Milesight/AM307L/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM307L/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-307L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM308L/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM308L/ChirpStack/uplink/converter.json index 12ea0284..4fdcca7e 100644 --- a/VENDORS/Milesight/AM308L/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM308L/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM308L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM308L/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM308L/LORIOT/uplink/converter.json index 4a086272..fc951bc0 100644 --- a/VENDORS/Milesight/AM308L/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM308L/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-308L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM308L/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM308L/ThingsStackCommunity/uplink/converter.json index c3633cd8..2dd985ac 100644 --- a/VENDORS/Milesight/AM308L/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM308L/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-308L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM308L/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM308L/ThingsStackIndustries/uplink/converter.json index 2664fefc..930a018c 100644 --- a/VENDORS/Milesight/AM308L/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM308L/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-308L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM319/ChirpStack/uplink/converter.json index 9cc7b665..d90dcab6 100644 --- a/VENDORS/Milesight/AM319/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM319/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM319", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM319/LORIOT/uplink/converter.json index 181ef04d..90b05d5d 100644 --- a/VENDORS/Milesight/AM319/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM319/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-319", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM319/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM319/ThingsStackCommunity/uplink/converter.json index ac0b9622..a65f0220 100644 --- a/VENDORS/Milesight/AM319/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM319/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-319", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM319/ThingsStackIndustries/uplink/converter.json index e3aebd72..d0fc4828 100644 --- a/VENDORS/Milesight/AM319/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM319/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-319", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319L/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AM319L/ChirpStack/uplink/converter.json index f03b5022..2e463372 100644 --- a/VENDORS/Milesight/AM319L/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AM319L/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AM319L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319L/LORIOT/uplink/converter.json b/VENDORS/Milesight/AM319L/LORIOT/uplink/converter.json index 08228bb0..03549245 100644 --- a/VENDORS/Milesight/AM319L/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AM319L/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AM-319L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AM319L/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AM319L/ThingsStackCommunity/uplink/converter.json index 73deffd2..b41f83b3 100644 --- a/VENDORS/Milesight/AM319L/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AM319L/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AM-319L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AM319L/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AM319L/ThingsStackIndustries/uplink/converter.json index deb7021a..5c0af3c2 100644 --- a/VENDORS/Milesight/AM319L/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AM319L/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AM-319L", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AT101/ChirpStack/uplink/converter.json b/VENDORS/Milesight/AT101/ChirpStack/uplink/converter.json index 9a7022ae..b3e829a9 100644 --- a/VENDORS/Milesight/AT101/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/AT101/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AT101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AT101/LORIOT/uplink/converter.json b/VENDORS/Milesight/AT101/LORIOT/uplink/converter.json index b48a8e47..14ee81ff 100644 --- a/VENDORS/Milesight/AT101/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/AT101/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration AT101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/AT101/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/AT101/ThingsStackCommunity/uplink/converter.json index d973178b..4b267b8b 100644 --- a/VENDORS/Milesight/AT101/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/AT101/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration AT101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/AT101/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/AT101/ThingsStackIndustries/uplink/converter.json index 73015e45..7c80936b 100644 --- a/VENDORS/Milesight/AT101/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/AT101/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration AT101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/CT101-CT103/ChirpStack/uplink/converter.json b/VENDORS/Milesight/CT101-CT103/ChirpStack/uplink/converter.json index e925431a..fdc23306 100644 --- a/VENDORS/Milesight/CT101-CT103/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/CT101-CT103/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight AT101/103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/CT101-CT103/LORIOT/uplink/converter.json b/VENDORS/Milesight/CT101-CT103/LORIOT/uplink/converter.json index c9ce64f0..53d4b05b 100644 --- a/VENDORS/Milesight/CT101-CT103/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/CT101-CT103/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration СТ101/СТ103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/CT101-CT103/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/CT101-CT103/ThingsStackCommunity/uplink/converter.json index 15079714..ccdeeb1d 100644 --- a/VENDORS/Milesight/CT101-CT103/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/CT101-CT103/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration CT101/CT103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/CT101-CT103/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/CT101-CT103/ThingsStackIndustries/uplink/converter.json index 0e7679c6..11656095 100644 --- a/VENDORS/Milesight/CT101-CT103/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/CT101-CT103/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration CT101/CT103", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/DS3604/ChirpStack/uplink/converter.json b/VENDORS/Milesight/DS3604/ChirpStack/uplink/converter.json index 969e72cf..4de4c7ab 100644 --- a/VENDORS/Milesight/DS3604/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/DS3604/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight DS3604", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/DS3604/LORIOT/uplink/converter.json b/VENDORS/Milesight/DS3604/LORIOT/uplink/converter.json index b726608e..23af2269 100644 --- a/VENDORS/Milesight/DS3604/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/DS3604/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for Loriot integration DS3604", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/DS3604/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/DS3604/ThingsStackCommunity/uplink/converter.json index fae8bd29..f0e71f4d 100644 --- a/VENDORS/Milesight/DS3604/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/DS3604/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Community integration DS3604", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/DS3604/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/DS3604/ThingsStackIndustries/uplink/converter.json index ba2bc76e..b39b0775 100644 --- a/VENDORS/Milesight/DS3604/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/DS3604/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Uplink data converter for The Things Stack Industries integration DS3604", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS101/ChirpStack/uplink/converter.json b/VENDORS/Milesight/GS101/ChirpStack/uplink/converter.json index bec9f5c1..57760df7 100644 --- a/VENDORS/Milesight/GS101/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/GS101/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for GS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS101/LORIOT/uplink/converter.json b/VENDORS/Milesight/GS101/LORIOT/uplink/converter.json index 85ab36ac..f6325103 100644 --- a/VENDORS/Milesight/GS101/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/GS101/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for GS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/GS101/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/GS101/ThingsStackCommunity/uplink/converter.json index aab5a080..f88ec352 100644 --- a/VENDORS/Milesight/GS101/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/GS101/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for GS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS101/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/GS101/ThingsStackIndustries/uplink/converter.json index c2a5d10d..9c468146 100644 --- a/VENDORS/Milesight/GS101/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/GS101/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for GS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS301/ChirpStack/uplink/converter.json b/VENDORS/Milesight/GS301/ChirpStack/uplink/converter.json index ccd7a8b7..01fc4eaf 100644 --- a/VENDORS/Milesight/GS301/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/GS301/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for GS301", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS301/LORIOT/uplink/converter.json b/VENDORS/Milesight/GS301/LORIOT/uplink/converter.json index bdc3cc55..499a49de 100644 --- a/VENDORS/Milesight/GS301/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/GS301/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for GS301", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/GS301/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/GS301/ThingsStackCommunity/uplink/converter.json index 11f56c1d..b1fa4984 100644 --- a/VENDORS/Milesight/GS301/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/GS301/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for GS301", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/GS301/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/GS301/ThingsStackIndustries/uplink/converter.json index 014fa5ea..a2d649a9 100644 --- a/VENDORS/Milesight/GS301/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/GS301/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for GS301", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/TS101/ChirpStack/uplink/converter.json b/VENDORS/Milesight/TS101/ChirpStack/uplink/converter.json index 04c30602..7cb4babf 100644 --- a/VENDORS/Milesight/TS101/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/TS101/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for TS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/TS101/LORIOT/uplink/converter.json b/VENDORS/Milesight/TS101/LORIOT/uplink/converter.json index 102ab55c..1c6c995d 100644 --- a/VENDORS/Milesight/TS101/LORIOT/uplink/converter.json +++ b/VENDORS/Milesight/TS101/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for TS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Milesight/TS101/ThingsStackCommunity/uplink/converter.json b/VENDORS/Milesight/TS101/ThingsStackCommunity/uplink/converter.json index 2bbef0c8..b9031e26 100644 --- a/VENDORS/Milesight/TS101/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Milesight/TS101/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for TS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/TS101/ThingsStackIndustries/uplink/converter.json b/VENDORS/Milesight/TS101/ThingsStackIndustries/uplink/converter.json index 60f93709..d5c02473 100644 --- a/VENDORS/Milesight/TS101/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Milesight/TS101/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for TS101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/VS133/ChirpStack/uplink/converter.json b/VENDORS/Milesight/VS133/ChirpStack/uplink/converter.json index 92d59f4b..b9e6ba94 100644 --- a/VENDORS/Milesight/VS133/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/VS133/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight VS133", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/WS202/ChirpStack/uplink/converter.json b/VENDORS/Milesight/WS202/ChirpStack/uplink/converter.json index 54f73b11..bbc82b49 100644 --- a/VENDORS/Milesight/WS202/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/WS202/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight WS202", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/WS302/ChirpStack/uplink/converter.json b/VENDORS/Milesight/WS302/ChirpStack/uplink/converter.json index 13d44422..548cdf3f 100644 --- a/VENDORS/Milesight/WS302/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/WS302/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight WS302", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/WT201/ChirpStack/downlink/converter.json b/VENDORS/Milesight/WT201/ChirpStack/downlink/converter.json index e870389e..4a893e07 100644 --- a/VENDORS/Milesight/WT201/ChirpStack/downlink/converter.json +++ b/VENDORS/Milesight/WT201/ChirpStack/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack downlink converter for Milesight WT201", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Milesight/WT201/ChirpStack/uplink/converter.json b/VENDORS/Milesight/WT201/ChirpStack/uplink/converter.json index 941f7e00..4f8f0ad9 100644 --- a/VENDORS/Milesight/WT201/ChirpStack/uplink/converter.json +++ b/VENDORS/Milesight/WT201/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack uplink converter for Milesight WT201", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R311A/ChirpStack/uplink/converter.json b/VENDORS/Netvox/R311A/ChirpStack/uplink/converter.json index a88c18fc..3a36773e 100644 --- a/VENDORS/Netvox/R311A/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/R311A/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for R311A", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R311A/LORIOT/uplink/converter.json b/VENDORS/Netvox/R311A/LORIOT/uplink/converter.json index a8276106..a322e035 100644 --- a/VENDORS/Netvox/R311A/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/R311A/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for R311A", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/R311A/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/R311A/ThingsStackCommunity/uplink/converter.json index 05923394..c68c4dfc 100644 --- a/VENDORS/Netvox/R311A/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/R311A/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for R311A", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R311A/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/R311A/ThingsStackIndustries/uplink/converter.json index d68a8426..682945ad 100644 --- a/VENDORS/Netvox/R311A/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/R311A/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for R311A", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718AB/ChirpStack/uplink/converter.json b/VENDORS/Netvox/R718AB/ChirpStack/uplink/converter.json index d912cc2f..0aea7e2b 100644 --- a/VENDORS/Netvox/R718AB/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/R718AB/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for R718AB", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718AB/LORIOT/uplink/converter.json b/VENDORS/Netvox/R718AB/LORIOT/uplink/converter.json index 88402cdd..a1556c60 100644 --- a/VENDORS/Netvox/R718AB/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/R718AB/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for R718AB", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/R718AB/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/R718AB/ThingsStackCommunity/uplink/converter.json index 85d6af51..33a00c0d 100644 --- a/VENDORS/Netvox/R718AB/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/R718AB/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for R718AB", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718AB/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/R718AB/ThingsStackIndustries/uplink/converter.json index b84091c5..94f2e8eb 100644 --- a/VENDORS/Netvox/R718AB/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/R718AB/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for R718AB", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718H/ChirpStack/uplink/converter.json b/VENDORS/Netvox/R718H/ChirpStack/uplink/converter.json index 03d2e622..308dcce4 100644 --- a/VENDORS/Netvox/R718H/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/R718H/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for R718H", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718H/LORIOT/uplink/converter.json b/VENDORS/Netvox/R718H/LORIOT/uplink/converter.json index 8936acd3..bd1da6bf 100644 --- a/VENDORS/Netvox/R718H/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/R718H/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for R718H", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/R718H/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/R718H/ThingsStackCommunity/uplink/converter.json index 372c9e17..c14bacac 100644 --- a/VENDORS/Netvox/R718H/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/R718H/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for R718H", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718H/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/R718H/ThingsStackIndustries/uplink/converter.json index 79a65490..da1a4051 100644 --- a/VENDORS/Netvox/R718H/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/R718H/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for R718H", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718KA/ChirpStack/uplink/converter.json b/VENDORS/Netvox/R718KA/ChirpStack/uplink/converter.json index 7ee3d543..f1481c74 100644 --- a/VENDORS/Netvox/R718KA/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/R718KA/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for R718KA", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718KA/LORIOT/uplink/converter.json b/VENDORS/Netvox/R718KA/LORIOT/uplink/converter.json index d6d057b4..f73bdd13 100644 --- a/VENDORS/Netvox/R718KA/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/R718KA/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for R718KA", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/R718KA/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/R718KA/ThingsStackCommunity/uplink/converter.json index a2935624..41141b4d 100644 --- a/VENDORS/Netvox/R718KA/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/R718KA/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for R718KA", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718KA/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/R718KA/ThingsStackIndustries/uplink/converter.json index 1dd02ef9..f93e5022 100644 --- a/VENDORS/Netvox/R718KA/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/R718KA/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for R718KA", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/R718N3/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/R718N3/ThingsStackIndustries/uplink/converter.json index b7fa624e..99abf117 100644 --- a/VENDORS/Netvox/R718N3/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/R718N3/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ThingsStackIndustries uplink converter for Netvox R718N3", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0715/ChirpStack/uplink/converter.json b/VENDORS/Netvox/RA0715/ChirpStack/uplink/converter.json index 14df6286..93fd6dc3 100644 --- a/VENDORS/Netvox/RA0715/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/RA0715/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for RA0715", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0715/LORIOT/uplink/converter.json b/VENDORS/Netvox/RA0715/LORIOT/uplink/converter.json index bb1684e2..378a7132 100644 --- a/VENDORS/Netvox/RA0715/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/RA0715/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for RA0715", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/RA0715/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/RA0715/ThingsStackCommunity/uplink/converter.json index 2df14c0a..466730d6 100644 --- a/VENDORS/Netvox/RA0715/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/RA0715/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for RA0715", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0715/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/RA0715/ThingsStackIndustries/uplink/converter.json index 1d0323b1..d3e621f1 100644 --- a/VENDORS/Netvox/RA0715/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/RA0715/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for RA0715", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0723/ChirpStack/uplink/converter.json b/VENDORS/Netvox/RA0723/ChirpStack/uplink/converter.json index 623573e5..5d4d954b 100644 --- a/VENDORS/Netvox/RA0723/ChirpStack/uplink/converter.json +++ b/VENDORS/Netvox/RA0723/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for RA0723", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0723/LORIOT/uplink/converter.json b/VENDORS/Netvox/RA0723/LORIOT/uplink/converter.json index 09de0ad7..9af9685e 100644 --- a/VENDORS/Netvox/RA0723/LORIOT/uplink/converter.json +++ b/VENDORS/Netvox/RA0723/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for RA0723", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Netvox/RA0723/ThingsStackCommunity/uplink/converter.json b/VENDORS/Netvox/RA0723/ThingsStackCommunity/uplink/converter.json index dfd2bdef..1d608ab3 100644 --- a/VENDORS/Netvox/RA0723/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Netvox/RA0723/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for RA0723", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Netvox/RA0723/ThingsStackIndustries/uplink/converter.json b/VENDORS/Netvox/RA0723/ThingsStackIndustries/uplink/converter.json index 1e6ad07d..3f7587a1 100644 --- a/VENDORS/Netvox/RA0723/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Netvox/RA0723/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for RA0723", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_FM/ChirpStack/uplink/converter.json b/VENDORS/Nwave/G4_NCC_FM/ChirpStack/uplink/converter.json index f8b07fd1..097b069d 100644 --- a/VENDORS/Nwave/G4_NCC_FM/ChirpStack/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_FM/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for G4 car counter sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/converter.json b/VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/converter.json index 4244daf0..78af1c1c 100644 --- a/VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_FM/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for G4 car counter sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Nwave/G4_NCC_FM/ThingsStackCommunity/uplink/converter.json b/VENDORS/Nwave/G4_NCC_FM/ThingsStackCommunity/uplink/converter.json index 88a681ce..5c89ba99 100644 --- a/VENDORS/Nwave/G4_NCC_FM/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_FM/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for G4 car counter sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_FM/ThingsStackIndustries/uplink/converter.json b/VENDORS/Nwave/G4_NCC_FM/ThingsStackIndustries/uplink/converter.json index 728af418..683e8bd5 100644 --- a/VENDORS/Nwave/G4_NCC_FM/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_FM/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for G4 car counter sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_SM/ChirpStack/uplink/converter.json b/VENDORS/Nwave/G4_NCC_SM/ChirpStack/uplink/converter.json index cc5b07b9..bf730a8d 100644 --- a/VENDORS/Nwave/G4_NCC_SM/ChirpStack/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_SM/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for G4 car counter sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/converter.json b/VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/converter.json index 600c3c69..ee205195 100644 --- a/VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_SM/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for G4 car counter sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Nwave/G4_NCC_SM/ThingsStackCommunity/uplink/converter.json b/VENDORS/Nwave/G4_NCC_SM/ThingsStackCommunity/uplink/converter.json index 2cad9f78..a74d4fce 100644 --- a/VENDORS/Nwave/G4_NCC_SM/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_SM/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for G4 car counter sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NCC_SM/ThingsStackIndustries/uplink/converter.json b/VENDORS/Nwave/G4_NCC_SM/ThingsStackIndustries/uplink/converter.json index e4005c58..a4d8ad2b 100644 --- a/VENDORS/Nwave/G4_NCC_SM/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Nwave/G4_NCC_SM/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for G4 car counter sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_FM/ChirpStack/uplink/converter.json b/VENDORS/Nwave/G4_NPS_FM/ChirpStack/uplink/converter.json index 0a6c0805..d9091f9d 100644 --- a/VENDORS/Nwave/G4_NPS_FM/ChirpStack/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_FM/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for G4 parking sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/converter.json b/VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/converter.json index 8782aa30..f5ae483f 100644 --- a/VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_FM/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for G4 parking sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Nwave/G4_NPS_FM/ThingsStackCommunity/uplink/converter.json b/VENDORS/Nwave/G4_NPS_FM/ThingsStackCommunity/uplink/converter.json index bf0dce88..241b5453 100644 --- a/VENDORS/Nwave/G4_NPS_FM/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_FM/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for G4 parking sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_FM/ThingsStackIndustries/uplink/converter.json b/VENDORS/Nwave/G4_NPS_FM/ThingsStackIndustries/uplink/converter.json index 82c3d10a..215e231d 100644 --- a/VENDORS/Nwave/G4_NPS_FM/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_FM/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for G4 parking sensor - Flush Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_SM/ChirpStack/uplink/converter.json b/VENDORS/Nwave/G4_NPS_SM/ChirpStack/uplink/converter.json index e66d9a86..962b2cb2 100644 --- a/VENDORS/Nwave/G4_NPS_SM/ChirpStack/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_SM/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for G4 parking sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/converter.json b/VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/converter.json index f48248b3..142a3889 100644 --- a/VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_SM/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for G4 parking sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Nwave/G4_NPS_SM/ThingsStackCommunity/uplink/converter.json b/VENDORS/Nwave/G4_NPS_SM/ThingsStackCommunity/uplink/converter.json index 991b5b8c..74fdba98 100644 --- a/VENDORS/Nwave/G4_NPS_SM/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_SM/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for G4 parking sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Nwave/G4_NPS_SM/ThingsStackIndustries/uplink/converter.json b/VENDORS/Nwave/G4_NPS_SM/ThingsStackIndustries/uplink/converter.json index 0e1c8fb4..403023f3 100644 --- a/VENDORS/Nwave/G4_NPS_SM/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Nwave/G4_NPS_SM/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for G4 parking sensor - Surface Mount", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/SensiEDGE/SensiLora2_0/ChirpStack/uplink/converter.json b/VENDORS/SensiEDGE/SensiLora2_0/ChirpStack/uplink/converter.json index 4056717d..e7e82dc9 100644 --- a/VENDORS/SensiEDGE/SensiLora2_0/ChirpStack/uplink/converter.json +++ b/VENDORS/SensiEDGE/SensiLora2_0/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink Decoder for SensiLora2.0", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/SensiEDGE/SensiLora2_0/LORIOT/uplink/converter.json b/VENDORS/SensiEDGE/SensiLora2_0/LORIOT/uplink/converter.json index e9b52e70..0e6ff19c 100644 --- a/VENDORS/SensiEDGE/SensiLora2_0/LORIOT/uplink/converter.json +++ b/VENDORS/SensiEDGE/SensiLora2_0/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink Decoder for SensiLora2.0", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackCommunity/uplink/converter.json b/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackCommunity/uplink/converter.json index 942d5d63..95576099 100644 --- a/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink Decoder for SensiLora2.0", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackIndustries/uplink/converter.json b/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackIndustries/uplink/converter.json index 853d40bd..b1e8baa7 100644 --- a/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/SensiEDGE/SensiLora2_0/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink Decoder for SensiLora2.0", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Yobiiq/EM2101/ChirpStack/downlink/converter.json b/VENDORS/Yobiiq/EM2101/ChirpStack/downlink/converter.json index 156b9fd2..c8573de9 100644 --- a/VENDORS/Yobiiq/EM2101/ChirpStack/downlink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ChirpStack/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Downlink data converter for Yobiiq EM2101", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/ChirpStack/uplink/converter.json b/VENDORS/Yobiiq/EM2101/ChirpStack/uplink/converter.json index e29066a3..31c33bbc 100644 --- a/VENDORS/Yobiiq/EM2101/ChirpStack/uplink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink data converter for Yobiiq EM2101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/LORIOT/downlink/converter.json b/VENDORS/Yobiiq/EM2101/LORIOT/downlink/converter.json index d8ac573a..42500f3e 100644 --- a/VENDORS/Yobiiq/EM2101/LORIOT/downlink/converter.json +++ b/VENDORS/Yobiiq/EM2101/LORIOT/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Downlink data converter for Yobiiq EM2101", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/LORIOT/uplink/converter.json b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/converter.json index 6ff57bef..2e5c1b45 100644 --- a/VENDORS/Yobiiq/EM2101/LORIOT/uplink/converter.json +++ b/VENDORS/Yobiiq/EM2101/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink data converter for Yobiiq EM2101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/downlink/converter.json b/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/downlink/converter.json index 9528fa17..69b3459c 100644 --- a/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/downlink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq EM2101", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/uplink/converter.json b/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/uplink/converter.json index db568717..f91a64a0 100644 --- a/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq EM2101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/downlink/converter.json b/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/downlink/converter.json index 9528fa17..69b3459c 100644 --- a/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/downlink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq EM2101", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/uplink/converter.json b/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/uplink/converter.json index db568717..f91a64a0 100644 --- a/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Yobiiq/EM2101/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq EM2101", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ChirpStack/downlink/converter.json b/VENDORS/Yobiiq/EM4301/ChirpStack/downlink/converter.json index b2918bc9..c91cd3ff 100644 --- a/VENDORS/Yobiiq/EM4301/ChirpStack/downlink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ChirpStack/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Downlink data converter for Yobiiq EM43xx series", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ChirpStack/uplink/converter.json b/VENDORS/Yobiiq/EM4301/ChirpStack/uplink/converter.json index d3649a5f..3dfc62af 100644 --- a/VENDORS/Yobiiq/EM4301/ChirpStack/uplink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink data converter for Yobiiq EM43xx series", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/LORIOT/downlink/converter.json b/VENDORS/Yobiiq/EM4301/LORIOT/downlink/converter.json index 0610de18..c3882238 100644 --- a/VENDORS/Yobiiq/EM4301/LORIOT/downlink/converter.json +++ b/VENDORS/Yobiiq/EM4301/LORIOT/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Downlink data converter for Yobiiq EM43xx series", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/LORIOT/uplink/converter.json b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/converter.json index 697bedf7..96e12c4a 100644 --- a/VENDORS/Yobiiq/EM4301/LORIOT/uplink/converter.json +++ b/VENDORS/Yobiiq/EM4301/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink data converter for Yobiiq EM43xx series", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/downlink/converter.json b/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/downlink/converter.json index 54360ced..274131e8 100644 --- a/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/downlink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq EM43xx series", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/uplink/converter.json b/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/uplink/converter.json index c4e40f3b..f4f4d009 100644 --- a/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq EM43xx series", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/downlink/converter.json b/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/downlink/converter.json index 54360ced..274131e8 100644 --- a/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/downlink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq EM43xx series", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/uplink/converter.json b/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/uplink/converter.json index c4e40f3b..f4f4d009 100644 --- a/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Yobiiq/EM4301/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq EM43xx series", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ChirpStack/downlink/converter.json b/VENDORS/Yobiiq/RM200/ChirpStack/downlink/converter.json index 5e664ec6..f63be636 100644 --- a/VENDORS/Yobiiq/RM200/ChirpStack/downlink/converter.json +++ b/VENDORS/Yobiiq/RM200/ChirpStack/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Downlink data converter for Yobiiq RM200", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ChirpStack/uplink/converter.json b/VENDORS/Yobiiq/RM200/ChirpStack/uplink/converter.json index 61430976..e16c8002 100644 --- a/VENDORS/Yobiiq/RM200/ChirpStack/uplink/converter.json +++ b/VENDORS/Yobiiq/RM200/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink data converter for Yobiiq RM200", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/LORIOT/downlink/converter.json b/VENDORS/Yobiiq/RM200/LORIOT/downlink/converter.json index a71ca2c3..a7391ccd 100644 --- a/VENDORS/Yobiiq/RM200/LORIOT/downlink/converter.json +++ b/VENDORS/Yobiiq/RM200/LORIOT/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Downlink data converter for Yobiiq RM200", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/LORIOT/uplink/converter.json b/VENDORS/Yobiiq/RM200/LORIOT/uplink/converter.json index 14b91438..5d760878 100644 --- a/VENDORS/Yobiiq/RM200/LORIOT/uplink/converter.json +++ b/VENDORS/Yobiiq/RM200/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink data converter for Yobiiq RM200", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ThingsStackCommunity/downlink/converter.json b/VENDORS/Yobiiq/RM200/ThingsStackCommunity/downlink/converter.json index 85408215..ba9a3997 100644 --- a/VENDORS/Yobiiq/RM200/ThingsStackCommunity/downlink/converter.json +++ b/VENDORS/Yobiiq/RM200/ThingsStackCommunity/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq RM200", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ThingsStackCommunity/uplink/converter.json b/VENDORS/Yobiiq/RM200/ThingsStackCommunity/uplink/converter.json index 7f59f28a..ca63dc0b 100644 --- a/VENDORS/Yobiiq/RM200/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Yobiiq/RM200/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq RM200", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ThingsStackIndustries/downlink/converter.json b/VENDORS/Yobiiq/RM200/ThingsStackIndustries/downlink/converter.json index 85408215..ba9a3997 100644 --- a/VENDORS/Yobiiq/RM200/ThingsStackIndustries/downlink/converter.json +++ b/VENDORS/Yobiiq/RM200/ThingsStackIndustries/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Downlink data converter for Yobiiq RM200", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/RM200/ThingsStackIndustries/uplink/converter.json b/VENDORS/Yobiiq/RM200/ThingsStackIndustries/uplink/converter.json index 7f59f28a..ca63dc0b 100644 --- a/VENDORS/Yobiiq/RM200/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Yobiiq/RM200/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Uplink data converter for Yobiiq RM200", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/ChirpStack/downlink/converter.json b/VENDORS/Yobiiq/SD1001/ChirpStack/downlink/converter.json index c30380fd..a4142cff 100644 --- a/VENDORS/Yobiiq/SD1001/ChirpStack/downlink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ChirpStack/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Downlink data converter for Yobiiq SD-1001", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": null, diff --git a/VENDORS/Yobiiq/SD1001/ChirpStack/uplink/converter.json b/VENDORS/Yobiiq/SD1001/ChirpStack/uplink/converter.json index 5a97455a..f718f4a7 100644 --- a/VENDORS/Yobiiq/SD1001/ChirpStack/uplink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ChirpStack/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "ChirpStack Uplink data converter for Yobiiq SD-1001", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/LORIOT/downlink/converter.json b/VENDORS/Yobiiq/SD1001/LORIOT/downlink/converter.json index f1fcba08..ced34c66 100644 --- a/VENDORS/Yobiiq/SD1001/LORIOT/downlink/converter.json +++ b/VENDORS/Yobiiq/SD1001/LORIOT/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Downlink data converter for Yobiiq SD-1001", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/LORIOT/uplink/converter.json b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/converter.json index e2c23235..84f30f73 100644 --- a/VENDORS/Yobiiq/SD1001/LORIOT/uplink/converter.json +++ b/VENDORS/Yobiiq/SD1001/LORIOT/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "Loriot Uplink data converter for Yobiiq SD-1001", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/downlink/converter.json b/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/downlink/converter.json index df61e815..3b50cd63 100644 --- a/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/downlink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Downlink data converter for Yobiiq SD-1001", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/uplink/converter.json b/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/uplink/converter.json index 6a580742..438157e5 100644 --- a/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/uplink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ThingsStackCommunity/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Community Uplink data converter for Yobiiq SD-1001", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/downlink/converter.json b/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/downlink/converter.json index dfdf81ea..7c92d1a3 100644 --- a/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/downlink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/downlink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Downlink data converter for Yobiiq SD-1001", "type": "DOWNLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;", diff --git a/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/uplink/converter.json b/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/uplink/converter.json index 43c30d9a..c5980a5d 100644 --- a/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/uplink/converter.json +++ b/VENDORS/Yobiiq/SD1001/ThingsStackIndustries/uplink/converter.json @@ -1,7 +1,9 @@ { "name": "The Things Stack Industries Uplink data converter for Yobiiq SD-1001", "type": "UPLINK", - "debugMode": true, + "debugFailures" : false, + "debugAll" : true, + "debugAllUntil": 0, "configuration": { "scriptLang": "TBEL", "decoder": "// Decode an uplink message from a buffer\n// payload - array of bytes\n// metadata - key/value object\n\n/** Decoder **/\n\n// decode payload to string\nvar payloadStr = decodeToString(payload);\n\n// decode payload to JSON\n// var data = decodeToJson(payload);\n\nvar deviceName = 'Device A';\nvar deviceType = 'thermostat';\nvar customerName = 'Customer C';\nvar groupName = 'thermostat devices';\nvar manufacturer = 'Example corporation';\n// use assetName and assetType instead of deviceName and deviceType\n// to automatically create assets instead of devices.\n// var assetName = 'Asset A';\n// var assetType = 'building';\n\n// Result object with device/asset attributes/telemetry data\nvar result = {\n// Use deviceName and deviceType or assetName and assetType, but not both.\n deviceName: deviceName,\n deviceType: deviceType,\n// assetName: assetName,\n// assetType: assetType,\n// customerName: customerName,\n groupName: groupName,\n attributes: {\n model: 'Model A',\n serialNumber: 'SN111',\n integrationName: metadata['integrationName'],\n manufacturer: manufacturer\n },\n telemetry: {\n temperature: 42,\n humidity: 80,\n rawData: payloadStr\n }\n};\n\n/** Helper functions **/\n\nfunction decodeToString(payload) {\n return String.fromCharCode.apply(String, payload);\n}\n\nfunction decodeToJson(payload) {\n // covert payload to string.\n var str = decodeToString(payload);\n\n // parse string to JSON\n var data = JSON.parse(str);\n return data;\n}\n\nreturn result;",