How to store PV power at 15mins interval in own computer

Dear Altruists

Can anyone guide or recommend how to get and store Modbus registers data w.r to time to my computer?

I am using SunnyBoy 2.5. ethernet is available with IP and port 502.

I wish to use python script.

Thanks in advance

There is a modbus integration.