akbooer / DataYours

Pure Lua implementation of the Graphite / Carbon Whisper database system
Apache License 2.0
5 stars 0 forks source link

Data manipulation? #1

Closed sle118 closed 8 years ago

sle118 commented 8 years ago

Hello and thanks for this super plugin!

I am using a home energy monitor from aeon labs and one of the parameters I am interested in is voltage. The problem with this is that the value is reported as kWh in the vets config. This means we see a value change event for each report going from 117.88 to 2765 then back to 117.76 then 2766... You get the point.

I was thinking about intercepting the value and based on a simple regex (or limit), redirect the value to a new whisper dB variable. Is this any possible, and if so, how?

akbooer commented 8 years ago

Yes, I've heard this is a problem with that device.

Yes, Graphite / DataYours is exactly designed to be able to insert other processing into the data acquisition chain. Let's continue the discussion here: http://forum.micasaverde.com/index.php/topic,37119.0.html, which is a very relevant and recent thread.

akbooer commented 8 years ago

Now fixed with the release of User Defined Processing in DataWatcher.