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

New Strips #260

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 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
61 changes: 61 additions & 0 deletions types/sensative/ms-comfort/alarm.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"$id": "https://akenza.io/sensative/ms-guard/alarm.schema.json",
J2thatsme marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "alarm",
"title": "Alarm",
"properties": {
"highAlarm": {
"title": "High alarm",
"description": "Equals to true if the threshold is exceeded",
"type": "boolean"
},
"lowAlarm": {
"title": "Low alarm",
"description": "Equals to true if the threshold has fallen below",
"type": "boolean"
},
"doorAlarm": {
"title": "Door alarm",
"description": "Equals to true if there is a door alarm",
"type": "boolean"
},
"tamperAlarm": {
"title": "Tamper alarm",
"description": "Equals to true if the strip has been tampered with",
"type": "boolean"
},
"floodAlarm": {
"title": "Flood alarm",
"description": "Equals to true if a flood is detected",
"type": "boolean"
},
"oilAlarm": {
"title": "Oil alarm",
"description": "Equals to true if oil is detected",
"type": "boolean"
},
"foilAlarm": {
"title": "Foil alarm",
"description": "Equals to true if a foil is detected",
"type": "boolean"
},
"userSwitchAlarm": {
"title": "User switch alarm",
"description": "Equals to true if a user switch is detected",
"type": "boolean"
},
"closeProximityAlarm": {
"title": "Close proximity Alarm",
"description": "Equals to true if an object in close proximity is detected",
"type": "boolean"
},
"disinfectAlarm": {
"title": "Disinfect alarm",
"description": "Status of the disinfection",
"type": "string",
"enum": ["DIRTY", "OCCUPIED", "CLEANING", "CLEAN"]
}
}
}
Binary file added types/sensative/ms-comfort/comfort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
94 changes: 94 additions & 0 deletions types/sensative/ms-comfort/default.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"$id": "https://akenza.io/sensative/ms-guard/default.schema.json",
J2thatsme marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "default",
"title": "Default",
"properties": {
"temperature": {
"title": "Temperature",
J2thatsme marked this conversation as resolved.
Show resolved Hide resolved
"unit": "°C",
"type": "number",
"description": "The temperature in °C.",
"minimum": -3276.5,
"maximum": 3276.5
},
"averageTemperature": {
"title": "Average temperature report",
"unit": "°C",
"type": "number",
"description": "Average temperature report in °C.",
"minimum": -3276.5,
"maximum": 3276.5
},
"humidity": {
"title": "Humidity",
"unit": "%",
"type": "number",
"description": "The relative humidity in %",
"minimum": 0,
"maximum": 100
},
"light": {
"title": "Light",
"unit": "lux",
"type": "integer",
"description": "The light in lux.",
"minimum": 0,
"maximum": 65535
},
"light2": {
"title": "Light 2",
sevyakenza marked this conversation as resolved.
Show resolved Hide resolved
"unit": "lux",
"type": "integer",
"description": "The light in lux.",
"minimum": 0,
"maximum": 65535
},
"closed": {
"title": "Closed",
"description": "Status of the strip. closed = true, open = false",
"type": "boolean"
},
"tamperReport": {
"title": "Tamper report",
"description": "Status if the device got tampered the strip. open = true, closed = false",
"type": "boolean"
},
"flood": {
"title": "Flood",
"unit": "%",
"type": "number",
"description": "Flood relative wetness",
"minimum": 0,
"maximum": 100
},
"doorCount": {
"title": "Door count",
"type": "integer",
"description": "Door opening count",
"minimum": 0,
"maximum": 65535
},
"presence": {
"title": "Presence",
"description": "Status if the device reads presence",
"type": "boolean"
},
"irProximity": {
"title": "Infrared proximity",
"description": "Count of objects in proximity",
"type": "integer",
"minimum": 0,
"maximum": 255
},
"irCloseProximity": {
"title": "Infrared close proximity",
"description": "Count of objects in close proximity",
"type": "integer",
"minimum": 0,
"maximum": 255
}
}
}
62 changes: 62 additions & 0 deletions types/sensative/ms-comfort/lifecycle.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"$id": "https://akenza.io/sensative/ms-guard/lifecycle.schema.json",
J2thatsme marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "lifecycle",
"title": "Lifecycle",
"properties": {
"batteryLevel": {
"type": "integer",
"minimum": 0,
"maximum": 100,
"title": "Battery charge",
"description": "The battery charge in percent.",
"unit": "%"
},
"error": {
"title": "Error message",
"description": "Error info which contains: wrong length of RX package",
"type": "string",
"hideFromKpis": true
},
"badConditionsCounter": {
"title": "Bad conditions counter",
"type": "integer",
"description": "Bad conditions counter",
"minimum": 0,
"maximum": 65535,
"hideFromKpis": true
},
"stackTxFailRebootCount": {
"title": "Stack TX fail reboot count",
"type": "integer",
"description": "Stack TX fail reboot count",
"minimum": 0,
"maximum": 65535,
"hideFromKpis": true
},
"startUpCount": {
"title": "Start up count",
"type": "integer",
"description": "Start up count",
"minimum": 0,
"maximum": 65535,
"hideFromKpis": true
},
"watchdogCount": {
"title": "Watchdog count",
"type": "integer",
"description": "Watchdog count",
"minimum": 0,
"maximum": 65535,
"hideFromKpis": true
},
"softwareVersion": {
"title": "Software version",
"type": "string",
"description": "Software version",
"hideFromKpis": true
}
}
}
14 changes: 14 additions & 0 deletions types/sensative/ms-comfort/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Strips Multi-sensor +Comfort",
"version": "1.0.0",
"manufacturer": "Sensative",
"url": "https://sensative.com/sensors/strips-sensors-for-lorawan/strips-lorawan-ms-comfort/",
"description": "MS +Comfort's precise measuring gives you a great overview of your indoor climate. Maybe you want to keep your office environment optimal for the well-being of your staff or keep a close eye on changes in temperature and humidity in remote areas such as cellars or attics.",
"author": "Akenza AG",
"firmwareVersion": "V1.0.0",
"loraDeviceClass": "A",
"availableSensors": ["Magnet", "Temperature"],
"outputTopics": ["alarm", "default", "lifecycle", "occupancy"],
"encoding": "HEX",
"connectivity": "LORA"
}
25 changes: 25 additions & 0 deletions types/sensative/ms-comfort/occupancy.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"$id": "https://akenza.io/sensative/ms-guard/occupancy.schema.json",
J2thatsme marked this conversation as resolved.
Show resolved Hide resolved
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "occupancy",
"title": "Occupancy",
"properties": {
"occupancy": {
"title": "Occupancy",
"description": "Space occupancy. 0 = Unoccupied / 1 = Occupied.",
"type": "integer",
"minimum": 0,
"maximum": 1
},
"occupied": {
"title": "Occupied",
"description": "Space occupancy. false = Unoccupied / true = Occupied.",
"type": "boolean"
}
},
"required": [
"occupancy"
]
}
Loading
Loading