How to estimate the average value of the solar energy I produced?

I track energy consumption and production since I have solar panels.
I always had entities tracking the energy price over time (even if the entities names changed over time).

In particular, since a year and a half I have a dynamic tariff, so that the energy at midday is worth less than the energy in the evening: I don’t have an easy way to get the overall savings.

Is there a way to estimate how much I gained from the solar panels?

I have all data on InfluxDB, if that can be of use

Would https://github.com/martinarva/dynamic_energy_cost work ?

Look like what I was looking for!

Actually no, it’s not sufficient to track revenue with dynamic contracts.

I had to prepare my own integration:

It works very well.