Emoncms time-series feed engine documentation

I've been working over the last few days on writing documentation on how the emoncms time-series feed engines work (phpfiwa, phpfina and phptimeseries). The documentation is an early draft at this stage and I would very much welcome comments.

https://github.com/openenergymonitor/documentation/tree/master/BuildingBlocks/TimeSeries

    Emoncms time series database development history
    Variable interval time series
    Fixed interval time series
    Fixed interval with averaging time series

On a related note out of an interest in creating a version of emoncms that will run and log to SD cards without wearing them out so fast I've started to look at how the write load created by the emoncms feed engines can be reduced through in memory buffering and writing in larger blocks to disk, initial testing suggests that it could be reduced by potentially more than a 1000x on systems with 30+ feeds, maybe several 100x on systems with only a few feeds.

pb66's picture

Re: Emoncms time-series feed engine documentation

Excellent! 

I need to swat up on the feed engines and this will make it so much easier.  thanks Trystan.

Paul

TrystanLea's picture

Re: Emoncms time-series feed engine documentation

Thanks Paul.

mircsicz's picture

Re: Emoncms time-series feed engine documentation

Thx Trystan,

I'll overlook it and give some feedback from a beginners point of view...

engeeaitch's picture

Re: Emoncms time-series feed engine documentation

Hi,

One thing I have searched for but not found, is how to convert from a timestore series to PHPFina or PHPFiwa  Have I missed something along the way?  Is it possible?  Many thanks for any help.

Comment viewing options

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