I am using the VRM API node in Node Red to download the consumption stats.
The URL it generates is like: https://vrmapi.victronenergy.com/v2/installations/XXX/stats?type=custom&attributeCodes[]=consumption&type=custom&attributeCodes%5B%5D=consumption&...
(Note the type and attributeCodes are sent twice for some reason)
And the return format is not explained by the documentation.
I can see records[0].stats.consumption
is an array of arrays. Each inner array has 4 numbers. I guess the first one is a Unix timestamp, but what do the other three numbers mean?