How about using AI as your battery?

When your PV panels are producing excess power during the day, spin up a GPU and rent it out through a cloud provider. Spend the money on the power your home consumes at night.