Hello Home Assistant community,
I couldn’t find any pretty solution when I was looking for some ways how to get from HA historical data of sensors in any shape or a form without directly working with the SQL database. And also found out that I’m not the only one who would appreciate such feature.
So I created this really small pseudo integration which should help anybody who wants to export basically any historical data of any sensor and does not want to play with the SQL. Integration exposes its functionality through the services.
Registered are two services. First one is really simple and just returns simple dump of a sensor’s history. Then there is the other, more extended service, which aims at ‘device_tracker’ entities and its output is already in KML format.
It’s still in very early stage of any development so whoever decide to give it a try should also expect bugs.
Feel free to suggest any enhancements, etc. as current state of the concept is very basic and thus limited in features.
Also… I’m mainly C# guy and touching Python only when I have to. So please excuse my c*appy code as I’m sure it’s bad.