Hi all. I have been using EmonCMS for about 4 years now and love it. Job well done to all developing it. I asked this question about 3 years ago and was told you can not delete old data from the feeds. I hope this has changed by now. So my qyestion is is there a way to delete data older than a certain date using a command line ? I run a lot of Pi’s in remote locations and would love to be able to only have 1 years data on the PI. So if there is a command that I can run on the command line that would be super. I am running the latest version of EMON.
@TinkerMan, the UI has changed. Select the feed(s) you wish to trim, select delete from the menu items at the top and you will get an option to trim as well as delete.
I just tried timing a feed to October 2018 and it worked ok. I wonder if you could update again @TinkerMan and do a full page refresh just in case there is any issues with cached javascript.
Thanks for confirming @TrystanLea, it turned out i didn’t need it as the heatpump app was smart enough to only use the data for kWh Electric and kWh Heat when data for both was available.
I had been logging Electric kWh for some time. Then when i started logging heat kWh i though i best trim the data so the “All time history” in the heatpump app was correct. But it appears it does that for you.