# Script to store data Homey Energy Dongle to NAS

**URL:** <https://community.homey.app/t/script-to-store-data-homey-energy-dongle-to-nas/134872>\
**Category:** Questions & Help\
**Created:** [April 17, 2025, 10:07am UTC](https://community.homey.app/t/script-to-store-data-homey-energy-dongle-to-nas/134872 "2025-04-17T10:07:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Remco\_Schuringa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/remco_schuringa/32/120735_2.png) [@Remco\_Schuringa](https://community.homey.app/u/Remco_Schuringa)\
**Post date:** [April 17, 2025, 10:07am UTC](https://community.homey.app/t/script-to-store-data-homey-energy-dongle-to-nas/134872/1 "2025-04-17T10:07:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [April 17, 2025, 10:09am UTC](https://community.homey.app/t/script-to-store-data-homey-energy-dongle-to-nas/134872/2 "2025-04-17T10:09:18Z")

</div>

> **[Archive Insights](https://homey.app/en-us/app/com.gruijter.insights2csv/Archive-Insights/)**
>
> Make backups of all insights

or more sophisticated

> **[InfluxDb](https://homey.app/en-us/app/homey.influxdb/InfluxDb/)**
>
> Metrics exporter for InfluxDb

---

<div class="post-metadata">

**Author:** ![Remco\_Schuringa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/remco_schuringa/32/120735_2.png) [@Remco\_Schuringa](https://community.homey.app/u/Remco_Schuringa)\
**Post date:** [April 18, 2025, 1:18pm UTC](https://community.homey.app/t/script-to-store-data-homey-energy-dongle-to-nas/134872/3 "2025-04-18T13:18:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/5/75d122cfd6135d84362608bdefef2324a2861313.png)  
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.
