Clearing cache or data?

Morning All
I created my heatpump app on local emoncms but had to sink to remote emoncms to publish it on heatpump So before I synced it everything was recording correctly but after syncing my electric usage was showing in the future. Trystan told me what to try by downsampling and re syncing but it did not work but that the affected my local copy of the app where it is not recording as should. Is there somehow of clearing that data back to a point where it worked or clearing it completely and start a new heatpump app.