Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-9063

[fiware-stackoverflow] How to detect sudden increase or decrease in value for an event using proton run time?

    Details

    • Type: Monitor
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:

      Description

      Created question in FIWARE Q/A platform on 11-01-2016 at 07:01
      Please, ANSWER this question AT https://stackoverflow.com/questions/34715787/how-to-detect-sudden-increase-or-decrease-in-value-for-an-event-using-proton-run

      Question:
      How to detect sudden increase or decrease in value for an event using proton run time?

      Description:
      I am developing an application using proton CEP and Orion Context Broker. I have sensor that updates the temperature and CEP gets the temperature update as an event. I want the CEP to produce an alert if there is a difference of 10 in two consecutive updates.

      For example:
      Last update from sensor is 35. If the next update is less than 26 or greater than 44 I need CEP to produce an alert.

      How can I write a rule to achieve this?

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 15:17|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:17|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 18:11|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 18:11|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 21:11|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 21:11|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            backlogmanager Backlog Manager
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: