Input processing - datestamp problems

 Although I've been sucessful in using the API to send inputs to EmonCMS, the input processing is not working as expected.

The input processor "log to file" works as expected, logging the data with the correct timestamp values.

But the other processors, such as kwhd, or histogram, do their calculations based on the server time, not on the input datestamp.

So for example, I can send a batch of inputs for 1/1/2009, and the kwh/d graph shows a total kwh for 24/8/2012

TrystanLea's picture

Re: Input processing - datestamp problems

 Hello Emdan, thanks for highlighting this, I had not tested with sending the time, or thought it through while writing the input processors. Will see if I can fix it.

TrystanLea's picture

Re: Input processing - datestamp problems

 Ok, I think I have fixed it, could you try the latest dev version: https://github.com/openenergymonitor/emoncms3/tree/dev

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.