Vrankela
Vrankela

Reputation: 1202

Can cygnus be used to trigger a change in Context Broker?

I am developing a service agent where I want to know when the values of sensor are changed. Instead of developing an automatic http request in my service to query context broker (each 15 mins or so) I want to know if I can configure cygnus to notify me of these changes?

Im doing this because I want to put the data coming from my sensors in an algorithm that detects certain trends.

Thank you, I hope my question is clear enough.

If you are not an experienced user of fiware technologies please ignore this question.

Upvotes: 2

Views: 80

Answers (1)

Alvaro del Castillo
Alvaro del Castillo

Reputation: 151

Probably it is better that you subscribe and end point (integrated with your service) to orion so your service is notified when the sensor value change.

https://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_User_and_Programmers_Guide#Context_subscriptions

Do you really need to use Cygnus?

Upvotes: 4

Related Questions