VRM API Questions

Hello,

I’m trying to use the VRM API to get SOC, PV Watts, and DC Power Watts. I can successfully get this data using the Diagnostics API call, but this data seems cached for several minutes.

I have been unsuccessful trying to use the Widgets endpoints, like Battery Summary, regardless if I pass the instance param or not, I get descriptions of the fields but no actual values. I have tried passing the various instance values I receive in the diagnostics API data.

The documentation on the API is pretty poor. Have you successfully used the widgets to retrieve data? If so, how up to date is that data? What did you have to pass to get actual data?

For the diagnostics call, is there a way to make the cache time lower?

Thanks!

1 Like

Hey,

Yea, I’m getting the same thing. Everything in the widget API section is returning the metadata but the data is blank. Getting response like this:

Data from BatterySummary:
{
“success”: true,
“records”: {
“data”: {
“hasOldData”: false,
“secondsAgo”: {
“value”: 0,
“valueFormattedWithUnit”: “0s”
}
},
“meta”: { …

Have you gotten any further?

Cheers,
Kent

1 Like

I have not figured it out. Sounds like a problem on Victron’s end if you are having the problem as well. For now, I’m using the diagnostic endpoint. Thanks!