Questions tagged [fiware-sth-comet]

fiware-sth-comet refers to the Short Time Historic (STH, aka. Comet) component, a FIWARE component able to manage (storing and retrieving) historical context information as raw and aggregated time series data.

The FIWARE Short Time Historic (STH) - Comet is a component of the FIWARE ecosystem in charge of managing (storing and retrieving) historical raw and aggregated time series context information about the evolution in time of context data (i.e., entity attribute values) registered in an Orion Context Broker instance.

All the communications between the STH and the Orion Context Broker as well as between the STH and any third party (typically for data retrieval) use standardized NGSI9 and NGSI10 interfaces.

If this is your first contact with the STH component, it is highly recommended that you visit the “Getting started” guide (https://github.com/telefonicaid/fiware-sth-comet/blob/master/doc/manuals/getting-started.md) where we introduce some basic concepts upon which the STH component leans on all the functionality it offers.

In case you are curious about why we called this component Comet, you can also visit the “Why Comet” (https://github.com/telefonicaid/fiware-sth-comet/blob/master/doc/manuals/why-comet.md) section of the documentation.

29 questions
5
votes
1 answer

Fiware - Orion Context Broker subscription not sent to STH, "conditions was supposed to be an array"

When trying to use STH to be able to store and retrieve data sent to OCB, I have a problem making the subscription. My problem is that the subscription creation goes well. When I create the subscription as following: POST /v1/contextSubscriptions…
lukas
  • 81
  • 6
3
votes
1 answer

FIWARE - Orion and STH duplicated notifications

I have a scenario where two or more subscriptions were made to some entity (with the same notification url). In this case, I have many of the same subscriptions. When the attributes related to subscriptions conditions are updated, I have as many…
2
votes
0 answers

Differences in query logs when read by STH-Comet caused by Cygnus version upgrade

I am investigating Cygnus and STH-Comet and would like to know the impact of the Cygnus version upgrade. I have created an environment with the following docker-compose.yml. And, I have switched the Cygnus version in the commented out section to…
2
votes
1 answer

How to create different record for every update in FIWARE-STH Comet?

I just started using FIWARE and I'm having trouble with the data I want to persist on MongoDB. I want to use STH Comet in minimal mode. I am using a Python script that creates my context data with a specific id and then updates certain attributes of…
2
votes
0 answers

"MongoParseError: No hostname or hostnames provided in connection string" occurred while upgrading Mongodb dependency in STH-Comet

I am trying to upgrade Mongodb dependency in STH-Comet by changing its version from v2.2.35 to v3.6.8 in package.json. Ref: https://github.com/telefonicaid/fiware-sth-comet/blob/master/package.json#L74 I have replace "@" by "%40" in connection…
Gaurav
  • 21
  • 1
2
votes
1 answer

STH Comet - raw insert in mongo database

I want to insert a set of historical data in the MongoDB, and expose it with STH Comet API. I can insert it in the mongoDb, with the correct recvTime. It is unclear if this is allowed. Can I insert data in the raw mongo collection? How will this…
2
votes
2 answers

About the version of each component in release 7.5 of FIWARE

Currently I am going to verify FIWARE. Release 7.5 was announced, but there are components whose version is lower in the core component. cygnus Release7.4 : version2.0.0 Release7.5 : version1.9.0 sth-comet Release7.4 :…
hiro
  • 59
  • 3
2
votes
0 answers

How to fetch data from Fiware Cygnus?

I have setup Cygnus with MySQL agent and now data is storing into MySQL server. As a next step, we need to show reports of historical data (Saved in Cygnus_MySQL) in GUI. It may be based upon some filters like data for today, last week/month, area…
Krishan Babbar
  • 766
  • 1
  • 7
  • 17
2
votes
1 answer

Error get empty value when retriving data from sth-comet

First i register service using this script curl -H "Content-type: application/json" -H "Fiware-Service: cairoUniversity" -H "Fiware-ServicePath: /FCI/ICDL" \ http://X.X.X.X:4041/iot/services -d '{ "services": [ { "apikey": …
ahmad emad
  • 172
  • 1
  • 13
2
votes
1 answer

Fiware Cygnus - Error: collection already exists when Cygnus receives notifications two or more times

I am using Fiware Cygnus configured with STH. When Cygnus receives two or more notifications of changes in any entity it can't send the new value to STH. It logs the error collection already exists and the change is not saved. In the first…
2
votes
1 answer

Fiware STH: row data API not exposing metadata

I am using Cygnus with Mongo and sth sink to retrieve historical data. In the current implementation of cygnus mongo sink the attribute metadata is not stored in the data base. So I updated cygnus to be able to store the attribute metadata. But when…
sabrina2020
  • 2,102
  • 3
  • 25
  • 54
2
votes
1 answer

Error when connecting Cygnus and STH

I am trying to connect Cygnus and STH. I have a Cygnus instance in a container docker and a STH instance in a VM. When I send a notification to Cygnus, available at fiware-cygnus/cygnus-ngsi/resources/ngsi-examples/notification-json-simple.sh it…
1
vote
0 answers

CYGNUS_MONGO_DATA_EXPIRATION doesn't work?

I installed Orion, MongoDB, Cygnus and sth-comet with docker-compose. I set CYGNUS_MONGO_DATA_EXPIRATION=60 for Cygnus. I created a subscription to an Orion entity, but the historical data doesn't expire. I want the old data…
1
vote
1 answer

Problem when querying Raw Data with STH-Comet - Returns empty

I have Orion, Cygnus and STH-Comet(installed and configured in formal mode). Each component is in a container docker. I implemented the infrastructure with docker-compose.yml. The Cygnus container is configured as follows: image:…
Rosiberto
  • 83
  • 9
1
vote
1 answer

How to insert historical data into fiware (with correct dates)?

I have a bunch of historical data (csv) which I want to make accessible through sth-comet. The data is the history of water levels from multiple revers. The data is not provided live, but more or less on a daily basis and contains all the historic…
Christoph S
  • 697
  • 1
  • 6
  • 29
1
2