How to track PV / Watt daily peak?

Hey there,

another new member :slight_smile: I am delighted that there is such a great community.

Hope that I have found the right category for my question: I have a plug-in solar system in the garden, tracked with via a “MyStrom” socket. Everything works great. I would just like to be able to track the value of the highest daily output (W) over time and display it later. This is already possible on the energy dashboard with the statistics card + “Maximum” setting - but only as a daily value. How would you implement this? I’ve already done some research, but I have no idea what the helper/sensor would have to look like? (Actually, I dont want a graph. I just looking for a fix value (e.g. 723 W) each day.)

Setup: RaspPi 4 (4Gb), HA with Influx DB, Grafana, Tasmota bitshake IR on the smartmeter, PV inverter directly in the socket.