Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Revert "Change debugMode to (debugFailures, debugAll, debugAllUntil)" #79

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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Bosch parking lot sensor",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Bosch parking lot sensor",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Bosch parking lot sensor",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Bosch parking lot sensor",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_CO2/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 С02 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_CO2/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 C02 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 C02 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 CO2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_CO2_Lite/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 С02 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_CO2_Lite/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 C02 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 C02 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 CO2 Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_Lite/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_Lite/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Lite Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_Sound/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 Sound Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_Sound/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 Sound Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 Sound Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 Sound Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_VOC/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack Uplink Decoder for Elsys ERS2 VOC Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Elsys/ERS2_VOC/LORIOT/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "Loriot Uplink Decoder for Elsys ERS2 VOC Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"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;",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Community Uplink Decoder for Elsys ERS2 VOC Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "The Things Stack Industries Uplink Decoder for Elsys ERS2 VOC Device",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
4 changes: 1 addition & 3 deletions VENDORS/Milesight/AM102/ChirpStack/uplink/converter.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"name": "ChirpStack uplink converter for Milesight AM102",
"type": "UPLINK",
"debugFailures" : false,
"debugAll" : true,
"debugAllUntil": 0,
"debugMode": true,
"configuration": {
"scriptLang": "TBEL",
"decoder": null,
Expand Down
Loading
Loading