{"id":14956872,"url":"https://github.com/fiware/tutorials.short-term-history","last_synced_at":"2025-08-16T07:04:20.233Z","repository":{"id":40366765,"uuid":"137489858","full_name":"FIWARE/tutorials.Short-Term-History","owner":"FIWARE","description":":blue_book: FIWARE 303: Querying Time Series Data (Mongo-DB)","archived":false,"fork":false,"pushed_at":"2025-08-12T09:58:27.000Z","size":1054,"stargazers_count":5,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-12T11:42:08.907Z","etag":null,"topics":["contextual-data","fiware","fiware-cygnus","historical-data","mongo-db","sth-comet","timeseries-database","tutorial"],"latest_commit_sha":null,"homepage":"https://fiware-sth-comet.rtfd.io","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FIWARE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-15T13:17:57.000Z","updated_at":"2025-08-01T10:57:05.000Z","dependencies_parsed_at":"2024-04-15T10:47:32.311Z","dependency_job_id":"1337dd33-aa64-4829-8401-c6d4f6926e88","html_url":"https://github.com/FIWARE/tutorials.Short-Term-History","commit_stats":{"total_commits":173,"total_committers":3,"mean_commits":"57.666666666666664","dds":0.06358381502890176,"last_synced_commit":"c159e3ed032db9611abf8b740a305b59692098ee"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/FIWARE/tutorials.Short-Term-History","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Short-Term-History","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Short-Term-History/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Short-Term-History/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Short-Term-History/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FIWARE","download_url":"https://codeload.github.com/FIWARE/tutorials.Short-Term-History/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.Short-Term-History/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270679279,"owners_count":24626931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["contextual-data","fiware","fiware-cygnus","historical-data","mongo-db","sth-comet","timeseries-database","tutorial"],"created_at":"2024-09-24T13:13:39.589Z","updated_at":"2025-08-16T07:04:20.223Z","avatar_url":"https://github.com/FIWARE.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![FIWARE Banner](https://fiware.github.io/tutorials.Short-Term-History/img/fiware.png)](https://www.fiware.org/developers)\n\n[![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)\n[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.Short-Term-History.svg)](https://opensource.org/licenses/MIT)\n[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)\n\nThe **NGSI-v2**  tutorial is an introduction to [FIWARE STH-Comet](https://fiware-sth-comet.readthedocs.io/) - a generic enabler\nwhich is used to retrieve trend data from a MongoDB database. The tutorial activates the IoT sensors connected in the\n[previous tutorial](https://github.com/FIWARE/tutorials.IoT-Agent) and persists measurements from those sensors into a\ndatabase and retrieves time-based aggregations of that data.\n\nThe **NGSI-LD** tutorial is an introduction to the temporal interface of **NGSI-LD**, an **optional** add-on to context broker\nimplementations. The tutorial activates the IoT animal collars connected in the\n[previous tutorial](https://github.com/FIWARE/tutorials.IoT-Agent/tree/NGSI-LD) and persists measurements from those\nsensors into a database and retrieves time-based aggregations of that data..\n\nThe tutorials use [cUrl](https://ec.haxx.se/) commands throughout, but are also available as\n[Postman documentation](https://www.postman.com/downloads/)\n\n# Start-Up\n\n## NGSI-v2 Smart Supermarket\n\n**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.Short-Term-History.git\ncd tutorials.Short-Term-History\ngit checkout NGSI-v2\n\n./services create\n./services start\n```\n\n| [![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) | \u003cimg src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/postman.svg\" height=\"15\" width=\"15\"\u003e [Postman Collection](https://fiware.github.io/tutorials.Short-Term-History/) | ![](https://img.shields.io/github/last-commit/fiware/tutorials.Short-Term-History/NGSI-v2)\n| --- | --- | --- | --- |\n\n## NGSI-LD Smart Farm\n\n**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.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.Short-Term-History.git\ncd tutorials.Short-Term-History\ngit checkout NGSI-LD\n\n./services create\n./services start\n```\n\n| [![NGSI LD](https://img.shields.io/badge/NGSI-LD-d6604d.svg)](https://cim.etsi.org/NGSI-LD/official/0--1.html) | :books: [Documentation](https://github.com/FIWARE/tutorials.Short-Term-History/tree/NGSI-LD) | \u003cimg  src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/postman.svg\" height=\"15\" width=\"15\"\u003e [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)\n| --- | --- | --- | --- |\n\n---\n\n## License\n\n[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.short-term-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiware%2Ftutorials.short-term-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.short-term-history/lists"}