I am sorry if this question has been answered before, but I can not find anything.
I wonder if there is a way, either via the API or MQTT to get historical data. I don't mind if it is just yesterdays data.
Specifically I want to extract Solar generated and consumption from the day before, so I can build predicted solar from forecast.solar and what actually happened.
I am aware that it is available to download from VRM, but I would like to automate it.
Thank you in advance