Parse CSV to sensor data


I have a Shelly EM installed and would like to parse the CSV it exposes.

The CSV contains data about the consumed/produced power, with a timespan of 5 minutes for each line. Now I want to parse that CSV so that I can show consumption per day/week/month/total.

How can I achieve this? I use Node-RED for all my automations, so a Node-RED solutions is preferred, but not mandatory.

Thanks in advance!


There is node(multiple of them) in Node RED that support csv parse but don’t espect that someone would give you code for your need.

Hi @Erates,

Did you find a solution of your issue ?
If yes, could you please share it here.

Thanks a lot.