need a help in my project

I’m working on a smart energy meter project using ESP32, SCT-013-030, and ZMPT101B. I’m sending real power readings to the Blynk app successfully, but I want to know how to store real power data over time so I can calculate total energy (kWh) and estimate the electricity cost.

Is there a way to log these values within the Blynk app (maybe using SuperChart or Datastreams)? Or do I need to calculate and store the energy on the ESP32 side?
Any tips or examples would be appreciated.

Blynk logs and stores the data that you upload.
If you add a SuperChart widget you’ll see this data history.

How long the data is retained for depends on your subscription type. With the Free subscription this is 1 week, with the Pro subscription it’s 6 months.

If you want to calculate the cost automatically then you’ll need to do this in the ESP32 device and upload the calculated values to Blynk.

Pete.