huginn/huginn

Monitoring 'acceleration/deceleration' of values

snicker opened this issue · 4 comments

We have the PeakDetectorAgent which monitors frequency of events, but what if I want to monitor the change of a value in an event over time? Say I have an agentthat monitors temperature in my house, and I want to know if it increases or decreases more than X degrees in Y hours. Is there a way to do this?

I can't seem to find something, but a RateOfChangeDetector or ThirdDerivativeAgent... something of the like would be useful (yay, my next commit I guess)

Doesn't exist yet, but it's a great idea and probably not hard to add!

Added to agent suggestions list in #353

Interesting. I just made a PR for something similar, the ChangeOverTimeAgent: #374

In general, I would love to have more general-purpose value-processing filters, like integration, averaging, smoothing, etc.

+1 to this agent idea. Doing it with a change detector right now doesn't seem to be reliable.