Script to store data Homey Energy Dongle to NAS

I want to have a script to store/export my data of the Energy Dongle to my NAS. I have done this for the Shelly EM3 Pro and now I want to compare the devices. Is there a library where I can find examples?

Remco

or more sophisticated


With the help of ChatGPT I have now a Javascript running with Node to gather the data and HTML script to create the graphics in my browser.