https://github.com/fiware/tutorials.short-term-history
:blue_book: FIWARE 303: Querying Time Series Data (Mongo-DB)
https://github.com/fiware/tutorials.short-term-history
contextual-data fiware fiware-cygnus historical-data mongo-db sth-comet timeseries-database tutorial
Last synced: 14 days ago
JSON representation
:blue_book: FIWARE 303: Querying Time Series Data (Mongo-DB)
- Host: GitHub
- URL: https://github.com/fiware/tutorials.short-term-history
- Owner: FIWARE
- License: mit
- Created: 2018-06-15T13:17:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-23T14:57:52.000Z (2 months ago)
- Last Synced: 2025-04-23T15:43:45.257Z (2 months ago)
- Topics: contextual-data, fiware, fiware-cygnus, historical-data, mongo-db, sth-comet, timeseries-database, tutorial
- Language: Shell
- Homepage: https://fiware-sth-comet.rtfd.io
- Size: 1010 KB
- Stars: 4
- Watchers: 3
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.fiware.org/developers)
[](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[](https://opensource.org/licenses/MIT)
[](https://stackoverflow.com/questions/tagged/fiware)The **NGSI-v2** tutorial is an introduction to [FIWARE STH-Comet](https://fiware-sth-comet.readthedocs.io/) - a generic enabler
which is used to retrieve trend data from a MongoDB database. The tutorial activates the IoT sensors connected in the
[previous tutorial](https://github.com/FIWARE/tutorials.IoT-Agent) and persists measurements from those sensors into a
database and retrieves time-based aggregations of that data.The **NGSI-LD** tutorial is an introduction to the temporal interface of **NGSI-LD**, an **optional** add-on to context broker
implementations. The tutorial activates the IoT animal collars connected in the
[previous tutorial](https://github.com/FIWARE/tutorials.IoT-Agent/tree/NGSI-LD) and persists measurements from those
sensors into a database and retrieves time-based aggregations of that data..The tutorials use [cUrl](https://ec.haxx.se/) commands throughout, but are also available as
[Postman documentation](https://www.postman.com/downloads/)# Start-Up
## NGSI-v2 Smart Supermarket
**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.
```console
git clone https://github.com/FIWARE/tutorials.Short-Term-History.git
cd tutorials.Short-Term-History
git checkout NGSI-v2./services create
./services start
```| [](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.Short-Term-History/tree/NGSI-v2) |
[Postman Collection](https://fiware.github.io/tutorials.Short-Term-History/) | 
| --- | --- | --- | --- |## NGSI-LD Smart Farm
**NGSI-LD** offers JSON-LD based interoperability used for Federations and Data Spaces. To run this tutorial with **NGSI-LD**, use the `NGSI-LD` branch.
```console
git clone https://github.com/FIWARE/tutorials.Short-Term-History.git
cd tutorials.Short-Term-History
git checkout NGSI-LD./services create
./services start
```| [](https://www.etsi.org/deliver/etsi_gs/CIM/001_099/009/01.08.01_60/gs_cim009v010801p.pdf) | :books: [Documentation](https://github.com/FIWARE/tutorials.Short-Term-History/tree/NGSI-LD) |
[Postman Collection](https://fiware.github.io/tutorials.Short-Term-History/ngsi-ld.html) | 
| --- | --- | --- | --- |---
## License
[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.