Skip to content

Commit

Permalink
Merge pull request #4 from kbeaugrand-org/dev-1.0
Browse files Browse the repository at this point in the history
Dev 1.0
  • Loading branch information
kbeaugrand authored Sep 12, 2021
2 parents b3362b3 + 53ece57 commit 520572d
Show file tree
Hide file tree
Showing 9 changed files with 859 additions and 1 deletion.
Binary file added dtdl/Watecco - S0 Sensor (50-70-001).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
202 changes: 202 additions & 0 deletions dtdl/Watecco - S0 Sensor (50-70-001).json
Original file line number Diff line number Diff line change
@@ -0,0 +1,202 @@
[
{
"@id": "dtmi:kbeaugrand:watecco:S0;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:Index1;1",
"@type": "Telemetry",
"displayName": {
"en": "Pulse Count"
},
"name": "Index1",
"schema": "integer"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:BatteryLevel;1",
"@type": [
"Telemetry",
"Voltage"
],
"displayName": {
"en": "BatteryLevel"
},
"name": "BatteryLevel",
"schema": "integer",
"unit": "millivolt"
}
],
"displayName": {
"en": "Watecco - S0 (50-70-001)"
},
"extends": [
"dtmi:kbeaugrand:watecco:S0:LoRaDevice;1"
],
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:AppEUI;1",
"@type": "Property",
"description": {
"en": "This is the unique ID of the Application server."
},
"displayName": {
"en": "AppEUI"
},
"name": "AppEUI",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:AppKey;1",
"@type": "Property",
"description": {
"en": "The data encryption key used to \"encode\" the messages between the end nodes and the Application Server"
},
"displayName": {
"en": "AppKey"
},
"name": "AppKey",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:SensorDecoder;1",
"@type": "Property",
"description": {
"en": "The name of an integrated decoder function or the URI to a decoder in a custom decoder module in the format: http://modulename/api/decodername."
},
"displayName": {
"en": "SensorDecoder"
},
"name": "SensorDecoder",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate;1",
"@type": "Property",
"description": {
"en": "Rx2DataRate (Receive window 2 data rate, currently only supported for OTAA devices): Any of the allowed data rates."
},
"displayName": {
"en": "RX2DataRate"
},
"name": "RX2DataRate",
"schema": {
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema;1",
"@type": "Enum",
"displayName": {
"en": "Enum"
},
"enumValues": [
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF12BW125;1",
"displayName": {
"en": "SF12BW125"
},
"enumValue": "SF12BW125",
"name": "SF12BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF11BW125;1",
"displayName": {
"en": "SF11BW125"
},
"enumValue": "SF11BW125",
"name": "SF11BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF10BW125;1",
"displayName": {
"en": "SF10BW125"
},
"enumValue": "SF10BW125",
"name": "SF10BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF8BW125;1",
"displayName": {
"en": "SF8BW125"
},
"enumValue": "SF8BW125",
"name": "SF8BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF7BW250;1",
"displayName": {
"en": "SF7BW250"
},
"enumValue": "SF7BW250",
"name": "SF7BW250"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF7BW125;1",
"displayName": {
"en": "SF7BW125"
},
"enumValue": "SF7BW125",
"name": "SF7BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF9BW125;1",
"displayName": {
"en": "SF9BW125"
},
"enumValue": "SF9BW125",
"name": "SF9BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF8BW500;1",
"displayName": {
"en": "SF8BW500"
},
"enumValue": "SF8BW500",
"name": "SF8BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF11BW500;1",
"displayName": {
"en": "SF11BW500"
},
"enumValue": "SF11BW500",
"name": "SF11BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF10BW500;1",
"displayName": {
"en": "SF10BW500"
},
"enumValue": "SF10BW500",
"name": "SF10BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:S0:LoRaDevice:RX2DataRate:schema:SF9BW500;1",
"displayName": {
"en": "SF9BW500"
},
"enumValue": "SF9BW500",
"name": "SF9BW500"
}
],
"valueSchema": "string"
},
"writable": true
}
],
"displayName": {
"en": "LoRa Interface"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
]
Binary file added dtdl/Watecco - Sens'O (50-70-011).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
189 changes: 189 additions & 0 deletions dtdl/Watecco - Sens'O Sensor (50-70-011).json
Original file line number Diff line number Diff line change
@@ -0,0 +1,189 @@
[
{
"@id": "dtmi:kbeaugrand:watecco:SensO;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:SensO:Volume;1",
"@type": "Telemetry",
"displayName": {
"en": "Volume"
},
"name": "Volume",
"schema": "integer"
}
],
"displayName": {
"en": "Watecco - SensO (50-70-011)"
},
"extends": [
"dtmi:kbeaugrand:watecco:SensO:LoRaDevice;1"
],
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice;1",
"@type": "Interface",
"contents": [
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:AppEUI;1",
"@type": "Property",
"description": {
"en": "This is the unique ID of the Application server."
},
"displayName": {
"en": "AppEUI"
},
"name": "AppEUI",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:AppKey;1",
"@type": "Property",
"description": {
"en": "The data encryption key used to \"encode\" the messages between the end nodes and the Application Server"
},
"displayName": {
"en": "AppKey"
},
"name": "AppKey",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:SensorDecoder;1",
"@type": "Property",
"description": {
"en": "The name of an integrated decoder function or the URI to a decoder in a custom decoder module in the format: http://modulename/api/decodername."
},
"displayName": {
"en": "SensorDecoder"
},
"name": "SensorDecoder",
"schema": "string",
"writable": true
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate;1",
"@type": "Property",
"description": {
"en": "Rx2DataRate (Receive window 2 data rate, currently only supported for OTAA devices): Any of the allowed data rates."
},
"displayName": {
"en": "RX2DataRate"
},
"name": "RX2DataRate",
"schema": {
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema;1",
"@type": "Enum",
"displayName": {
"en": "Enum"
},
"enumValues": [
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF12BW125;1",
"displayName": {
"en": "SF12BW125"
},
"enumValue": "SF12BW125",
"name": "SF12BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF11BW125;1",
"displayName": {
"en": "SF11BW125"
},
"enumValue": "SF11BW125",
"name": "SF11BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF10BW125;1",
"displayName": {
"en": "SF10BW125"
},
"enumValue": "SF10BW125",
"name": "SF10BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF8BW125;1",
"displayName": {
"en": "SF8BW125"
},
"enumValue": "SF8BW125",
"name": "SF8BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF7BW250;1",
"displayName": {
"en": "SF7BW250"
},
"enumValue": "SF7BW250",
"name": "SF7BW250"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF7BW125;1",
"displayName": {
"en": "SF7BW125"
},
"enumValue": "SF7BW125",
"name": "SF7BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF9BW125;1",
"displayName": {
"en": "SF9BW125"
},
"enumValue": "SF9BW125",
"name": "SF9BW125"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF8BW500;1",
"displayName": {
"en": "SF8BW500"
},
"enumValue": "SF8BW500",
"name": "SF8BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF11BW500;1",
"displayName": {
"en": "SF11BW500"
},
"enumValue": "SF11BW500",
"name": "SF11BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF10BW500;1",
"displayName": {
"en": "SF10BW500"
},
"enumValue": "SF10BW500",
"name": "SF10BW500"
},
{
"@id": "dtmi:kbeaugrand:watecco:SensO:LoRaDevice:RX2DataRate:schema:SF9BW500;1",
"displayName": {
"en": "SF9BW500"
},
"enumValue": "SF9BW500",
"name": "SF9BW500"
}
],
"valueSchema": "string"
},
"writable": true
}
],
"displayName": {
"en": "LoRa Interface"
},
"@context": [
"dtmi:iotcentral:context;2",
"dtmi:dtdl:context;2"
]
}
]
Binary file added dtdl/Watecco - THr Sensor (50-70-007).jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 520572d

Please sign in to comment.