Highest value + time solar forecast

Hi,
I use forecast.solar to estimate my solar production. I use a node-red flow that gives me the full forecast for today and tomorrow in a sensor as attributes.

I want to list the five hours when the production is the highest for the day and how many kw i will get for that five hours.

I want to use the value to

  1. Write it out like this: Highest solar production is between 7-12 ( approximately x kw)

  2. Trigger my ev charger if the solar production is high enough.

Is this possible?