question

oxident avatar image
oxident asked

VRM API: How to get statistics?

Hi!

I'm trying to read out the battery statistics using the VRM API. Especially interesting for me is the daily battery consumption and charged energy in kWh.

Does anyone know, which endpoint supplies these values?

VRMapi
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
Peter avatar image
Peter answered ·
1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

oxident avatar image oxident commented ·

Yes, you're right. It seems that "totals.Pb" is the amount of energy TO the battery and "totals.Gb" FROM the battery. Both in kWh.

Thanks.

0 Likes 0 ·
nickdb avatar image
nickdb answered ·

I don't believe most batteries actually send that data, haven't used any managed batteries that do.

I suspect it is reserved for Victron's own products.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

oxident avatar image
oxident answered ·

Well, the VRM portal actually shows these values. I guess, it's just recording the measurements of the Cerbo.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources