I have the Bulb Energy integration with SmartThings and can see a very recent history of my energy usage. I would like to be able to query this retrospectively so that I can get 30 min stats on usage, days, weeks, months back and might contemplate writing this out to a DB somewhere. I can manually view recent usage in the Event List but I cannot see anyway to query this data retrospectively via API. I am hoping someone can point me in the right direction.
OK, found this write up - will give it a go.
This is old, but might give you some ideas.