Reputation: 45
I have found a STH-Comet wirecloud operator(https://github.com/wirecloud-fiware/sth-source-operator). Now how can i use this operator in my mashup and which operator/widget i have to use to provide it data.Also, in which widget i can use sth-comet output. I also have no idea of it's wiring.for e.g: it have a input endpoint i.e. Entity, how this Entity endpoint get data from my orion i mean which widget/operator i have to connect with it,s input endpoint to get input.Same with the output endpoint for e.g. it have 2 o/p endpoints i.e. Values,Timestamp in which widget/operator i can use these endpoint output.Is there any GUI wirecloud widget which can show my sth-comet output.Any help will be appreciated.
Upvotes: 1
Views: 220
Reputation: 47
In general you need a operator to extract data from STH-Comet (that operator have the query to obtain the data), then connect this operator with a widget to show the data obtained. In this case, I think that you can fill the operator's preferences, and keep empty the inputendpoint. In the preferences, "Entity" can be empty, only fill it if you want obtain data from a particular dispositive. The outputs of this operator are the data obtained from STH, so you can connect these outputs with a widget for show the data (for example in a table), if you don't found the appropiate widget, you can make it.
You can see the config.xml of sth-source-operator in https://github.com/wirecloud-fiware/sth-source-operator/blob/develop/src/config.xml
I hope this help you!
Upvotes: 0