-
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.
Merge pull request #321 from akenza-io/sensoterra
Added the sensoterra device
- Loading branch information
Showing
11 changed files
with
1,042 additions
and
0 deletions.
There are no files selected for viewing
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,48 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/calibration.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "calibration", | ||
"title": "Calibration", | ||
"properties": { | ||
"depthCM": { | ||
"title": "Depth", | ||
"type": "number", | ||
"unit": "cm", | ||
"description": "Depth", | ||
"hideFromKpis": true | ||
}, | ||
"channelA": { | ||
"title": "Channel A", | ||
"type": "number", | ||
"description": "Channel A configuration", | ||
"hideFromKpis": true | ||
}, | ||
"channelB": { | ||
"title": "Channel B", | ||
"type": "number", | ||
"description": "Channel B configuration", | ||
"hideFromKpis": true | ||
}, | ||
"channelC": { | ||
"title": "Channel C", | ||
"type": "number", | ||
"description": "Channel C configuration", | ||
"hideFromKpis": true | ||
}, | ||
"channelSP": { | ||
"title": "Channel SP", | ||
"type": "number", | ||
"description": "Channel SP configuration", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"depthCM", | ||
"channelA", | ||
"channelB", | ||
"channelC", | ||
"channelSP" | ||
] | ||
} |
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,19 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/channel.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "channel", | ||
"title": "Channel", | ||
"properties": { | ||
"channelMask": { | ||
"title": "Channel mask", | ||
"type": "array", | ||
"description": "Channel mask", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"channelMask" | ||
] | ||
} |
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 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/default.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "default", | ||
"title": "Default", | ||
"properties": { | ||
"moisture": { | ||
"title": "Moisture", | ||
"unit": "%", | ||
"description": "Soil moisture in %", | ||
"type": "number" | ||
}, | ||
"temperature": { | ||
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/environment/schema.json#/$defs/temperature/celsius" | ||
} | ||
}, | ||
"required": [ | ||
"moisture", | ||
"temperature" | ||
] | ||
} |
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,52 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/lifecycle.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "lifecycle", | ||
"title": "Lifecycle", | ||
"properties": { | ||
"batteryVoltage": { | ||
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/device/schema.json#/$defs/batteryVoltage/volt" | ||
}, | ||
"estimatedSignalPower": { | ||
"title": "Estimated signal power", | ||
"type": "integer", | ||
"description": "Estimated signal power", | ||
"hideFromKpis": true | ||
}, | ||
"saturationPointOvershotDepth": { | ||
"title": "Saturation point overshot depth", | ||
"type": "array", | ||
"description": "Saturation point overshot depth", | ||
"hideFromKpis": true | ||
}, | ||
"firmwareVersion": { | ||
"title": "Firmware version", | ||
"description": "Firmware version", | ||
"type": "string", | ||
"hideFromKpis": true | ||
}, | ||
"reset": { | ||
"title": "Reset reason", | ||
"description": "Reset reason", | ||
"type": "string", | ||
"hideFromKpis": true | ||
}, | ||
"uptime": { | ||
"title": "Uptime", | ||
"type": "integer", | ||
"unit": "s", | ||
"description": "Uptime", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"batteryVoltage", | ||
"estimatedSignalPower", | ||
"saturationPointOvershotDepth", | ||
"firmwareVersion", | ||
"reset", | ||
"uptime" | ||
] | ||
} |
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 @@ | ||
{ | ||
"name": "Sensoterra", | ||
"version": "1.0.0", | ||
"manufacturer": "Sensoterra", | ||
"url": "https://www.sensoterra.com/sensors/single-depth-sensor/", | ||
"description": "Sensoterra Soil Moisture Sensors measure volumetric water content of the soil.", | ||
"author": "Akenza AG", | ||
"firmwareVersion": "V1.0.0", | ||
"loraDeviceClass": "A", | ||
"availableSensors": [ | ||
"Temperature", | ||
"Humditiy" | ||
], | ||
"outputTopics": [ | ||
"calibration", | ||
"channel", | ||
"default", | ||
"lifecycle", | ||
"reset", | ||
"serial", | ||
"system", | ||
"uplink" | ||
], | ||
"encoding": "HEX", | ||
"connectivity": "LORA" | ||
} |
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,40 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/reset.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "reset", | ||
"title": "Reset", | ||
"properties": { | ||
"totalNumberResets": { | ||
"title": "Total number of resets", | ||
"type": "integer", | ||
"description": "Total number of resets", | ||
"hideFromKpis": true | ||
}, | ||
"totalNumberSuccessfulJoinSessions": { | ||
"title": "Total number successful join sessions", | ||
"type": "integer", | ||
"description": "Total number successful join sessions", | ||
"hideFromKpis": true | ||
}, | ||
"totalNumberFailedJoinSessions": { | ||
"title": "Total number failed join sessions", | ||
"type": "integer", | ||
"description": "Total number failed join sessions", | ||
"hideFromKpis": true | ||
}, | ||
"totalTimeOnAir": { | ||
"title": "Total time on air", | ||
"type": "integer", | ||
"description": "Total time on air", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"totalNumberResets", | ||
"totalNumberSuccessfulJoinSessions", | ||
"totalNumberFailedJoinSessions", | ||
"totalTimeOnAir" | ||
] | ||
} |
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,19 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/serial.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "serial", | ||
"title": "Serial", | ||
"properties": { | ||
"serialNumber": { | ||
"title": "Serial number", | ||
"type": "string", | ||
"description": "Serial number", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"serialNumber" | ||
] | ||
} |
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,70 @@ | ||
{ | ||
"$id": "https://akenza.io/sensoterra/sensoterra/system.schema.json", | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"processingType": "uplink_decoder", | ||
"topic": "system", | ||
"title": "System", | ||
"properties": { | ||
"historyEnabled": { | ||
"title": "History enabled", | ||
"description": "History enabled", | ||
"type": "boolean", | ||
"hideFromKpis": true | ||
}, | ||
"probeMode": { | ||
"title": "Probe mode", | ||
"description": "Probe mode", | ||
"type": "boolean", | ||
"hideFromKpis": true | ||
}, | ||
"watchdogEnabled": { | ||
"title": "Watchdog enabled", | ||
"description": "Watchdog enabled", | ||
"type": "boolean", | ||
"hideFromKpis": true | ||
}, | ||
"linkCheckMode": { | ||
"title": "Link check mode", | ||
"description": "Link check mode", | ||
"type": "boolean", | ||
"hideFromKpis": true | ||
}, | ||
"networkCheckCounterInterval": { | ||
"title": "Network check counter interval", | ||
"type": "integer", | ||
"unit": "s", | ||
"description": "Network check counter interval", | ||
"hideFromKpis": true | ||
}, | ||
"networkCheckCounterThreshold": { | ||
"title": "Network check counter threshold", | ||
"type": "integer", | ||
"description": "Network check counter threshold", | ||
"hideFromKpis": true | ||
}, | ||
"numberRetransmissions": { | ||
"title": "Number of retransmissions", | ||
"type": "integer", | ||
"description": "Number of retransmissions", | ||
"hideFromKpis": true | ||
}, | ||
"sleepInterval": { | ||
"title": "Sleep interval", | ||
"type": "integer", | ||
"unit": "s", | ||
"description": "Sleep interval", | ||
"hideFromKpis": true | ||
} | ||
}, | ||
"required": [ | ||
"historyEnabled", | ||
"probeMode", | ||
"watchdogEnabled", | ||
"linkCheckMode", | ||
"networkCheckCounterInterval", | ||
"networkCheckCounterThreshold", | ||
"numberRetransmissions", | ||
"sleepInterval" | ||
] | ||
} |
Oops, something went wrong.