How to calculate the difference in KWH values received every 5 min from modbus data and save it as a new values in csv

Can anyone guide me and help to find solution

Appreciate , your effort in notifying the issue

thank you ! :smiley: :smiley:

Energycharges