-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add ABS Telemetria/Adenuis sensors decoders
- Loading branch information
1 parent
4d8c603
commit 74a944a
Showing
36 changed files
with
789 additions
and
3 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "../../../../schema/connector.json", | ||
"name": "ABS CEL IO", | ||
"images": { | ||
"logo": "./assets/logo.png" | ||
}, | ||
"versions": { | ||
"v1.0.0": { | ||
"src": "./v1.0.0/payload.js", | ||
"manifest": "./v1.0.0/payload-config.jsonc" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Serial cellular modem with 16 IOs and data logger over Cellular |
11 changes: 11 additions & 0 deletions
11
decoders/connector/abs-telemetria/cel-io/v1.0.0/payload-config.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "../../../../../schema/connector_details.json", | ||
"description": "../description.md", | ||
"install_text": "##\nSerial cellular modem with 16 IOs and data logger.\n\n##\n\n* Cellular communication;\n* Cellular gateway for serial devices, transparent protocols;\n* 16 points for signal input or output;\n* Measurement of digital and analog signals;\n* Totalization of pulse and frequency of use;\n* Internal clock, operational even without power;\n* Data-retentive internal memory with large storage capacity;\n* Modbus RTU protocol.\n", | ||
"install_end_text": "", | ||
"device_annotation": "", | ||
"device_parameters": [], | ||
"networks": [ | ||
"../../../../network/https/v1.0.0/payload.js" | ||
] | ||
} |
26 changes: 26 additions & 0 deletions
26
decoders/connector/abs-telemetria/cel-io/v1.0.0/payload.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
if (typeof payload === 'string') { | ||
const split_payload = payload.substring(0, payload.length - 1).split(';'); //ultimo caracter do payload é ';' | ||
try { | ||
const date = split_payload[2].split('/'); | ||
date[2] = "20".concat(date[2]); //data enviada no formato dd/mm/aa (ano com dois digitos) | ||
const time = `${date[2]}-${date[1]}-${date[0]} ${split_payload[3]}`; //data enviada no formato dd/mm/aa | ||
const serie = Date.now(); | ||
|
||
payload = split_payload.map((pload, index) => { | ||
const parsed = { variable: 'model', value: '', serie, time }; | ||
if (index === 0) { | ||
parsed.variable = 'product_id'; | ||
parsed.value = pload; | ||
} else if (index === 1) { | ||
parsed.variable = 'index'; | ||
parsed.value = pload; | ||
} else if (index >= 4) { | ||
parsed.variable = pload.split('=')[0].toLowerCase(); | ||
parsed.value = pload.split('=')[1]; | ||
} | ||
return parsed; | ||
}).filter(x => x.variable !== 'model'); | ||
} catch (err) { | ||
payload = [{ variable: 'payload_error', value: JSON.stringify(err) }]; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
decoders/connector/adenuis/analog-and-power/connector.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "../../../../schema/connector.json", | ||
"name": "Adeunis Analog and Power", | ||
"images": { | ||
"logo": "./assets/logo.png" | ||
}, | ||
"versions": { | ||
"v1.0.0": { | ||
"src": "./v1.0.0/payload.js", | ||
"manifest": "./v1.0.0/payload-config.jsonc" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Local and Remote monitoring through inputs 0-10V or 4-20mA over Sigfox |
11 changes: 11 additions & 0 deletions
11
decoders/connector/adenuis/analog-and-power/v1.0.0/payload-config.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "../../../../../schema/connector_details.json", | ||
"description": "../description.md", | ||
"install_text": "##\nANALOG & ANALOG PWR\n##\n\nTechnical specifications:\n* Periodic or event mode\n* Replaceable battery/external power supply (PWR version)\n* Dimensions: 105 x 50 x 27 mm\n* Box: IP67 (IP68 on request)\n* Integrated fastening system: DIN rail, tube, wall mount, flange\n* Zone: Sigfox: RC1 / LoRaWAN™: EU863-870 / WM-Bus: 868\n* Operating temperature range: -25°C to + 70°C\n* Weight: 70 g\n* Standards: Directive 2014/53/EU (RED)\n* Alert concerning product error, configuration error, low battery\n\n", | ||
"install_end_text": "", | ||
"device_annotation": "", | ||
"device_parameters": [], | ||
"networks": [ | ||
"../../../../network/sigfox/v1.0.0/payload.js" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "../../../../schema/connector.json", | ||
"name": "Adeunis Comfort", | ||
"images": { | ||
"logo": "./assets/logo.png" | ||
}, | ||
"versions": { | ||
"v1.0.0": { | ||
"src": "./v1.0.0/payload.js", | ||
"manifest": "./v1.0.0/payload-config.jsonc" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Smart Building sensor for temperature humidity button and dry contact input over LoRaWAN™ |
47 changes: 47 additions & 0 deletions
47
decoders/connector/adenuis/comfort/v1.0.0/payload-config.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "../../../../../schema/connector_details.json", | ||
"description": "../description.md", | ||
"install_text": "##\nSmart Building sensor for temperature humidity button and dry contact input\n##\nHighlights\n* 4 built-in functions: temperature, humidity, alert\n* button, dry contact input\n* A design for a product adaptable to any type of environment\n* Data logging to optimize the number of mailings\n* Compatible with KARE© services\nTechnical specifications\n* Periodic and / or event mode\n* Interchangeable battery\n* Dimensions: 111 x 61 x 40 mm Case: IP20 (indoor use)\n* Integrated fixing system: wall or laid\n* LoRaWAN EU863-870\n* Operating Temperature Range: -20°C /+60°C\n* Local and remote configuration\n* Weight: 102g\n* Standard: Directive 2014/53/UE (RED)\n* Product error alert, configuration error, low battery\n* 1 digital input / 1 connected button\n* ##\nMore information about this device can be found [here.](https://www.adeunis.com/en/produit/comfort-temperature-humidity/) \n\n![](https://api.tago.io/file/5bbcb03b667d7a002e56664b/adeunis/adeunis_comfort.png)", | ||
"install_end_text": "", | ||
"device_annotation": "", | ||
"device_parameters": [ | ||
{ | ||
"name": "parse_type", | ||
"type": "dropdown", | ||
"options": [ | ||
{ | ||
"is_default": true, | ||
"label": "Comfort ", | ||
"value": "comfort" | ||
}, | ||
{ | ||
"label": "Comfort 2", | ||
"value": "comfort2" | ||
}, | ||
{ | ||
"label": "Comfort CO2", | ||
"value": "comfortCo2" | ||
} | ||
], | ||
"label": "Device Type" | ||
} | ||
], | ||
"networks": [ | ||
"../../../../network/lorawan-swisscom/v1.0.0/payload.js", | ||
"../../../../network/lorawan-actility/v1.0.0/payload.js", | ||
"../../../../network/lorawan-everynet/v1.0.0/payload.js", | ||
"../../../../network/lorawan-citykinect/v1.0.0/payload.js", | ||
"../../../../network/lorawan-kerlink/v1.0.0/payload.js", | ||
"../../../../network/lorawan-loriot-/v1.0.0/payload.js", | ||
"../../../../network/lorawan-machineq/v1.0.0/payload.js", | ||
"../../../../network/lorawan-orbiwise/v1.0.0/payload.js", | ||
"../../../../network/lorawan-senet/v1.0.0/payload.js", | ||
"../../../../network/lorawan-senra/v1.0.0/payload.js", | ||
"../../../../network/lorawan-tektelic/v1.0.0/payload.js", | ||
"../../../../network/lorawan-ttittn-v3/v1.0.0/payload.js", | ||
"../../../../network/sigfox/v1.0.0/payload.js", | ||
"../../../../network/lorawan-chirpstack/v1.0.0/payload.js", | ||
"../../../../network/lorawan-helium/v1.0.0/payload.js", | ||
"../../../../network/lorawan-brdot-/v1.0.0/payload.js" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "../../../../schema/connector.json", | ||
"name": "Adeunis Dry Contacts", | ||
"images": { | ||
"logo": "./assets/logo.png" | ||
}, | ||
"versions": { | ||
"v1.0.0": { | ||
"src": "./v1.0.0/payload.js", | ||
"manifest": "./v1.0.0/payload-config.jsonc" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Reporting Status and Controlling relays inputs/outputs over LoRaWAN™ |
42 changes: 42 additions & 0 deletions
42
decoders/connector/adenuis/dry-contacts/v1.0.0/payload-config.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"$schema": "../../../../../schema/connector_details.json", | ||
"description": "../description.md", | ||
"install_text": "##\nReporting Status and Controlling relays inputs/outputs over Sigfox\n##\nHighlights:\n* 4 configurable inputs/outputs\n* Local and remote configuration\n* Consumption controlled for optimized autonomy\n* Develop new preventive maintenance services, alerts and analyses\n\nTechnical specifications:\n* Periodic or event modes\n* Replaceable battery\n* Dimensions: 105 x 50 x 27 mm\n* Box: IP67 (IP68 on request)\n* Integrated fastening system: DIN rail, tube, wall mount, flange\n* Operating temperature range: -25°C to + 70°C\n* Weight: 92.74 g\n* Standards: Directive 2014/53/EU (RED)\n* Product error alert, configuration error, low battery\n* Configurable Life Screen\n", | ||
"install_end_text": "", | ||
"device_annotation": "", | ||
"device_parameters": [ | ||
{ | ||
"name": "parse_type", | ||
"type": "dropdown", | ||
"options": [ | ||
{ | ||
"is_default": true, | ||
"label": "Dry Contacts", | ||
"value": "drycontacts" | ||
}, | ||
{ | ||
"label": "Dry Contacts 2", | ||
"value": "drycontacts2" | ||
} | ||
], | ||
"label": "Device Type" | ||
} | ||
], | ||
"networks": [ | ||
"../../../../network/lorawan-swisscom/v1.0.0/payload.js", | ||
"../../../../network/lorawan-actility/v1.0.0/payload.js", | ||
"../../../../network/lorawan-citykinect/v1.0.0/payload.js", | ||
"../../../../network/lorawan-kerlink/v1.0.0/payload.js", | ||
"../../../../network/lorawan-everynet/v1.0.0/payload.js", | ||
"../../../../network/lorawan-loriot-/v1.0.0/payload.js", | ||
"../../../../network/lorawan-orbiwise/v1.0.0/payload.js", | ||
"../../../../network/lorawan-senet/v1.0.0/payload.js", | ||
"../../../../network/lorawan-machineq/v1.0.0/payload.js", | ||
"../../../../network/lorawan-senra/v1.0.0/payload.js", | ||
"../../../../network/lorawan-tektelic/v1.0.0/payload.js", | ||
"../../../../network/lorawan-ttittn-v3/v1.0.0/payload.js", | ||
"../../../../network/lorawan-chirpstack/v1.0.0/payload.js", | ||
"../../../../network/lorawan-helium/v1.0.0/payload.js", | ||
"../../../../network/lorawan-brdot-/v1.0.0/payload.js" | ||
] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions
13
decoders/connector/adenuis/lorawan-field-test/connector.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "../../../../schema/connector.json", | ||
"name": "Adeunis LoRaWAN Field Test", | ||
"images": { | ||
"logo": "./assets/logo.png" | ||
}, | ||
"versions": { | ||
"v1.0.0": { | ||
"src": "./v1.0.0/payload.js", | ||
"manifest": "./v1.0.0/payload-config.jsonc" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Field Test Device over LoRaWAN™ |
23 changes: 23 additions & 0 deletions
23
decoders/connector/adenuis/lorawan-field-test/v1.0.0/payload-config.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "../../../../../schema/connector_details.json", | ||
"description": "../description.md", | ||
"install_text": "##\nQualify and validate your LoRaWAN network\n##\nHighlights:\n* Immediate viewing of network coverage data\n* Geolocation of measurement points\n* Dedicated Web application\n* Reference product highly praised by public network operators\n\nTechnical specifications:\n* Data displayed: UL / DL – Channels – RSSI/SNR/PER – GPS – Temperature\n* Self-powered and rechargeable\n* Dimensions: 180 x 72 x 21 mm\n* Operating temperature range: -20 ° C to +75 ° C\n* Standards: Directive 2014/53/EU (RED)\n* Radiated RF power: 14 dBm\n* Sensitivity: -126dBm SIGFOX\n\n##\n\n![](https://api.tago.io/file/5bbcb03b667d7a002e56664b/adeunis/adeunis_Tester.jpg)", | ||
"install_end_text": "", | ||
"device_annotation": "", | ||
"device_parameters": [], | ||
"networks": [ | ||
"../../../../network/lorawan-loriot-/v1.0.0/payload.js", | ||
"../../../../network/lorawan-citykinect/v1.0.0/payload.js", | ||
"../../../../network/lorawan-kerlink/v1.0.0/payload.js", | ||
"../../../../network/lorawan-everynet/v1.0.0/payload.js", | ||
"../../../../network/lorawan-machineq/v1.0.0/payload.js", | ||
"../../../../network/lorawan-orbiwise/v1.0.0/payload.js", | ||
"../../../../network/lorawan-tektelic/v1.0.0/payload.js", | ||
"../../../../network/lorawan-actility/v1.0.0/payload.js", | ||
"../../../../network/lorawan-ttittn-v3/v1.0.0/payload.js", | ||
"../../../../network/lorawan-swisscom/v1.0.0/payload.js", | ||
"../../../../network/lorawan-chirpstack/v1.0.0/payload.js", | ||
"../../../../network/lorawan-helium/v1.0.0/payload.js", | ||
"../../../../network/lorawan-brdot-/v1.0.0/payload.js" | ||
] | ||
} |
Oops, something went wrong.