My first post here, I recently discovered that my energy provider have partnered with Samsung to allow me to pair my gas and electricity smart meters with the SmartThings app. I have this working but now want to write some code which obtains this data from the SmartThings API (where I’m assuming it is stored?) so I can push it to my metrics tools (Grafana, InfluxDB etc).
I have been reading some of the SmartThings docs, but they all seem to be geared towards implementing functionality which will integrate with the SmartThings app, whereas I just want to pull data from the API from some code that runs locally.
So I guess my questions are:
- Will my energy data be available in the SmartThings API?
- Is it possible to read data from the SmartThings API in the way I have described above?