Load you data into a csv file and run this: Custom Integration to import long term statistics from a file like csv or tsv