Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 months ago
JSON representation

:blue_book: FIWARE 303: Querying Time Series Data (Mongo-DB)

Awesome Lists containing this project

README

        

[![FIWARE Banner](https://fiware.github.io/tutorials.Short-Term-History/img/fiware.png)](https://www.fiware.org/developers)

[![FIWARE Core Context Management](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/core.svg)](https://github.com/FIWARE/catalogue/blob/master/core/README.md)
[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Short-Term-History.svg)](https://opensource.org/licenses/MIT)
[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](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
```

| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](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/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Short-Term-History/NGSI-v2)
| --- | --- | --- | --- |

## 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
```

| [![NGSI LD](https://img.shields.io/badge/NGSI-LD-d6604d.svg)](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) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Short-Term-History/NGSI-LD)
| --- | --- | --- | --- |

---

## License

[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.