I can see the resulting energy data reported on the Home -> Devices -> some-device, and then on Device Details
I see information like:
- Current Load
Total Usage
Last Reset
Reset Date
Last Update
I would like to write some sort of script or program that queries Indigo to retrieve this data
From the REST API, I see typeSupportsEnergyMeter, but AFAICT this is not maintained, and doesn't provide the info I need.
Is there a way to get this from the API?
If not, what other methods might I use to retrieve this data, must I write a Python script using IOM?
Looks like this data is available from a connected Postgres database (I use the SQL Logger),
any reason I can't get the data there? (I have extensive experience writing programs that interact with Postgres databases....)