Skip to content

Commit

Permalink
Changed uplink to emit historic samples
Browse files Browse the repository at this point in the history
  • Loading branch information
J2thatsme committed Jan 10, 2025
1 parent 58039eb commit e598d5c
Show file tree
Hide file tree
Showing 14 changed files with 554 additions and 307 deletions.
149 changes: 0 additions & 149 deletions types/miromico/insight/climate.schema.json

This file was deleted.

13 changes: 13 additions & 0 deletions types/miromico/insight/co2.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "https://akenza.io/miromico/insight/co2.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "co2",
"title": "Co2",
"properties": {
"co2": {
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/environment/schema.json#/$defs/co2/ppm"
}
}
}
13 changes: 13 additions & 0 deletions types/miromico/insight/humidity.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "https://akenza.io/miromico/insight/humidity.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "humidity",
"title": "Humidity",
"properties": {
"humidity": {
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/environment/schema.json#/$defs/humidity/percent"
}
}
}
16 changes: 16 additions & 0 deletions types/miromico/insight/iaq.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$id": "https://akenza.io/miromico/insight/iaq.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "iaq",
"title": "Iaq",
"properties": {
"iaq": {
"title": "Indoor air quality",
"description": "Indoor air quality",
"type": "integer",
"hideFromKpis": true
}
}
}
8 changes: 6 additions & 2 deletions types/miromico/insight/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@
"CO2"
],
"outputTopics": [
"temperature",
"humidity",
"co2",
"iaq",
"pressure",
"door",
"lifecycle",
"settings",
"temperature"
"settings"
],
"encoding": "HEX",
"connectivity": "LORA"
Expand Down
13 changes: 13 additions & 0 deletions types/miromico/insight/pressure.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "https://akenza.io/miromico/insight/pressure.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "pressure",
"title": "Pressure",
"properties": {
"pressure": {
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/environment/schema.json#/$defs/pressure/kPa"
}
}
}
13 changes: 13 additions & 0 deletions types/miromico/insight/temperature.schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$id": "https://akenza.io/miromico/insight/temperature.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"processingType": "uplink_decoder",
"topic": "temperature",
"title": "Temperature",
"properties": {
"temperature": {
"$ref": "https://raw.githubusercontent.com/akenza-io/device-type-library/main/data-models/environment/schema.json#/$defs/temperature/celsius"
}
}
}
Loading

0 comments on commit e598d5c

Please sign in to comment.