Hi All,
I've been trying to get accurate consumption data from the VRM portal using the https://vrmapi.victronenergy.com/v2/installations/<site-id>/overallstats query.
However if I look at stats for "Today",
The API returns
"today": { "totals": { "bs": 2411.940723632184, "bv": 1341.206989048789, "total_solar_yield": 0, "total_consumption": 8.829152643680573, "total_genset": 0, "grid_history_to": 0, "grid_history_from": 10.977277040481567, "Pdc": false, "iOI1": false }, "percentages": { "bs": 64, "bv": 36, "total_solar_yield": 0, "total_consumption": 0, "total_genset": 0, "grid_history_to": 0, "grid_history_from": 0, "Pdc": 0, "iOI1": 0 } }
VRM portal states a lower usage than the API
- From Grid: 2.6kWh
- Consumption: 2.4kWh
Now what I found, is that if I select VRM Portal data of the "Last 24 Hours" it seems to match the API call
- From Grid: 11kWh
- Consumption: 8.8kWh
I've tried doing the same for Month, but I could find any link just yet.
Question?
1. Is this intended to work like this, or is this a timezone issue or possibly a bug?
This makes it very difficult to actually accurately track consumption in the system.
It would be greatly appreciated if assistance on this can be provided.
Thanks in advance