Last active
April 3, 2025 12:09
-
-
Save hylkevds/4ffba774fe0128305047b7bcbcd2672e to your computer and use it in GitHub Desktop.
A set of demo entities that can be posted to the v1.0/Things collection of a SensorThings API service.
This file contains hidden or 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
{ | |
"name": "Living Room", | |
"description": "My Living Room", | |
"properties": { | |
"style": "Cozy", | |
"balcony": true | |
}, | |
"Locations": [ | |
{ | |
"name": "My Living Room", | |
"description": "The living room of Fraunhoferstr. 1", | |
"encodingType": "application/vnd.geo+json", | |
"location": { | |
"type": "Point", | |
"coordinates": [8.4259727, 49.015308] | |
} | |
} | |
], | |
"Datastreams": [ | |
{ | |
"name": "Temperature Living Room", | |
"description": "The temperature in my living room", | |
"observationType": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement", | |
"unitOfMeasurement": { | |
"name": "Centigrade", | |
"symbol": "C", | |
"definition": "http://www.qudt.org/qudt/owl/1.0.0/unit/Instances.html#DegreeCentigrade" | |
}, | |
"Sensor": { | |
"name": "DHT22/Temperature", | |
"description": "Temperature sensor of a DHT22", | |
"encodingType": "application/pdf", | |
"metadata": "https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf" | |
}, | |
"ObservedProperty": { | |
"name": "Temperature", | |
"definition": "http://www.qudt.org/qudt/owl/1.0.0/quantity/Instances.html#ThermodynamicTemperature", | |
"description": "The temperature." | |
}, | |
"Observations": [ | |
{ | |
"phenomenonTime": "2019-03-14T10:00:00Z", | |
"result": 21.0 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:01:00Z", | |
"result": 21.1 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:02:00Z", | |
"result": 19.0 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:03:00Z", | |
"result": 19.1 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:04:00Z", | |
"result": 19.2 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:05:00Z", | |
"result": 20.0 | |
} | |
] | |
}, | |
{ | |
"name": "Humidity Living Room", | |
"description": "The humidity in my living room", | |
"observationType": "http://www.opengis.net/def/observationType/OGC-OM/2.0/OM_Measurement", | |
"unitOfMeasurement": { | |
"name": "percentage", | |
"symbol": "%", | |
"definition": "https://en.wikipedia.org/wiki/Percentage" | |
}, | |
"Sensor": { | |
"name": "DHT22/Humidity", | |
"description": "Relative humidity sensor of a DHT22", | |
"encodingType": "application/pdf", | |
"metadata": "https://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.pdf" | |
}, | |
"ObservedProperty": { | |
"name": "Relative Humidity", | |
"definition": "https://en.wikipedia.org/wiki/Relative_humidity", | |
"description": "The relative humidity" | |
}, | |
"Observations": [ | |
{ | |
"phenomenonTime": "2019-03-14T10:00:00Z", | |
"result": 40.0 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:01:00Z", | |
"result": 39.1 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:02:00Z", | |
"result": 42.0 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:03:00Z", | |
"result": 41.9 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:04:00Z", | |
"result": 41.8 | |
}, | |
{ | |
"phenomenonTime": "2019-03-14T10:05:00Z", | |
"result": 41.0 | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment