# \[APP\]\[Pro\] Archive Insights - export all your Insights data to a NAS, FTP or web folder

**URL:** <https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976>\
**Category:** Apps\
**Tags:** app, tools, flow, insights, export\
**Created:** [March 24, 2019, 3:04pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976 "2019-03-24T15:04:32Z")\
**Posts on this page:** 20\
**Page:** 12

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [May 18, 2023, 3:26pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/222 "2023-05-18T15:26:55Z")

</div>

Version 4.0.0 is published as test: [https://homey.app/a/com.gruijter.insights2csv/test/](https://homey.app/a/com.gruijter.insights2csv/test/)

- HP2023 compatibility added.
- Speed optimizations implemented.
- Functionality options extended.
- homey-api@1.10.21

This update is for the largest part the work of @Arie_J_Godschalk Kudos to Arie ❤

---

<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:** [May 25, 2023, 7:41pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/223 "2023-05-25T19:41:54Z")

</div>

Hi @Gruijter @Arie_J_Godschalk , I was just checking how my exports are running and found out there were not running since I have HP23 😉 Using SMB and when I test settings, I get Archive Insights crashed and this is in the logs… not sure if it’s something easy to be fixed.

 ![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/9/59a4238e092d8337f955235ac43853bf73a85d1a.png)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [May 25, 2023, 8:48pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/224 "2023-05-25T20:48:21Z")

</div>

And you are using the test version? The stable version is not compatible with HP2023.

---

<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:** [May 25, 2023, 8:50pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/225 "2023-05-25T20:50:49Z")

</div>

Yep, test version

![obrazek](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f931720a288e163a08d41a6d5c63fad14bbca15.png)

---

<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:** [June 4, 2023, 8:21pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/226 "2023-06-04T20:21:47Z")

</div>

Also this is what I see in the console :

> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.262Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/locale  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.275Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/locale → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.421Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/smbSettings  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.423Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/smbSettings → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.551Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/CPUSettings  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.553Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/CPUSettings → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.595Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/OnlyZipWithLogs  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.596Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/OnlyZipWithLogs → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.630Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/webdavSettings  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.632Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/webdavSettings → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.696Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/FTPSettings  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.697Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/FTPSettings → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.699Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/IncludeLocalDateTime  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.700Z Server HTTP GET /manager/apps/app/com.gruijter.insights2csv/setting/IncludeLocalDateTime → Success 200  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.707Z Server HTTP GET /app/com.gruijter.insights2csv/getResolutions  
> Jun 4 20:18:01 homey-redacted homey-pro[770]: 2023-06-04T20:18:01.759Z Server HTTP GET /app/com.gruijter.insights2csv/getAppList  
> Jun 4 20:18:05 homey-redacted homey-pro[770]: 2023-06-04T20:18:05.504Z Server HTTP POST /app/com.gruijter.insights2csv/testSmb  
> Jun 4 20:18:05 homey-redacted homey-pro[770]: 2023-06-04T20:18:05.717Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] Exited. Code: 0, Signal: null  
> Jun 4 20:18:26 homey-redacted homey-pro[770]: 2023-06-04T20:18:26.514Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] Automatically restarting…  
> Jun 4 20:18:26 homey-redacted homey-pro[770]: 2023-06-04T20:18:26.517Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] Starting…  
> Jun 4 20:18:26 homey-redacted homey-pro[770]: 2023-06-04T20:18:26.518Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] Session ID: com.gruijter.insights2csv-4.0.0-737d2d49  
> Jun 4 20:18:28 homey-redacted homey-pro[770]: 2023-06-04T20:18:28.229Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] Started  
> Jun 4 20:18:38 homey-redacted homey-pro[770]: 2023-06-04T20:18:38.230Z Homey [log][ManagerApps][App:com.gruijter.insights2csv] CPU is 66.66666666666666%. Sending CPU Warning 1/5…

@Arie_J_Godschalk would you have any idea why SMB is not working please ? Is SMB option working for you ?

> [@\[APP\]\[Pro\] Archive Insights - export all your Insights data to a NAS, FTP or web folder](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/223):
>
> Hi @Gruijter @Arie_J_Godschalk , I was just checking how my exports are running and found out there were not running since I have HP23 wink Using SMB and when I test settings, I get Archive Insights crashed and this is in the logs… not sure if it’s something easy to be fixed.

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [June 5, 2023, 6:57am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/227 "2023-06-05T06:57:09Z")

</div>

Not sure, i use ftp. Ill see if i fsn test it later.

---

<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:** [June 5, 2023, 8:12pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/228 "2023-06-05T20:12:20Z")

</div>

Arie thank you - never mind, switched to InfluxDB, seems to be solution I was looking for. Maybe nobody is using SMB nowadays as nobody else reported, so might be nit worth the effort

---

<div class="post-metadata">

**Author:** ![Jeroen\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_w/32/9803_2.png) [@Jeroen\_W](https://community.homey.app/u/Jeroen_W)\
**Post date:** [June 23, 2023, 8:22am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/229 "2023-06-23T08:22:53Z")

</div>

I have the same problem. ☹

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [June 23, 2023, 8:26am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/230 "2023-06-23T08:26:50Z")

</div>

@Arie_J_Godschalk do you have time to dig into this?

---

<div class="post-metadata">

**Author:** ![Arie\_J\_Godschalk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arie_j_godschalk/32/63027_2.png) [@Arie\_J\_Godschalk](https://community.homey.app/u/Arie_J_Godschalk)\
**Post date:** [June 23, 2023, 9:48am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/231 "2023-06-23T09:48:01Z")

</div>

Wel, not right now i’m afraid, it’ll be next week in the earliest.

---

<div class="post-metadata">

**Author:** ![Jeroen\_W](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jeroen_w/32/9803_2.png) [@Jeroen\_W](https://community.homey.app/u/Jeroen_W)\
**Post date:** [June 23, 2023, 6:51pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/232 "2023-06-23T18:51:58Z")

</div>

No problem, i’ll do it manual or maybe switch to FTP

---

<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:** [June 23, 2023, 8:17pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/233 "2023-06-23T20:17:51Z")

</div>

> [@Jeroen\_W](#):
>
> i’ll do it manual or maybe switch to FTP

InfluxDB is the way ! 😉

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [June 24, 2023, 8:55am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/234 "2023-06-24T08:55:26Z")

</div>

> [@Sharkys](#):
>
> InfluxDB is the way !

For you it probably is. But not everybody is capable or willing to setup a database. Some people just want a simple excel compatible output, and that is what Archive Insights is for.

I’m happy you solved it for your case, but I hope Arie has time to dig into it. I have a lot going on at the moment, so I have to prioritize my Homey activities 😉

---

<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:** [June 24, 2023, 9:39am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/235 "2023-06-24T09:39:52Z")

</div>

> [@Gruijter](#):
>
> but I hope Arie has time to dig into

Yep, thats why, 30d ago, I have submitted first report on this issue, so in case someone would like to have alternative, I’m sharing - could be solution for many while actually I’m astonished how much, better and faster it is to work with visualisation compared to Insights. For sure there are some drawbacks but this was rather to let others knows on the options - nothing more, nothing less but thanks for your comments 😀

---

<div class="post-metadata">

**Author:** ![Torsten\_Sturm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torsten_sturm/32/77900_2.png) [@Torsten\_Sturm](https://community.homey.app/u/Torsten_Sturm)\
**Post date:** [July 24, 2023, 3:42pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/236 "2023-07-24T15:42:19Z")

</div>

Hello, does SMB connection work against an internet file share, like Azure Storage with SMB file share?  
In Windows, you would connect with “\xxxxxhomeyinsights.file.core.windows.net\homeyinsights”. How shall I write the connection string in archiveinsights app?  
Best, Torsten

---

<div class="post-metadata">

**Author:** ![Torsten\_Sturm](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/torsten_sturm/32/77900_2.png) [@Torsten\_Sturm](https://community.homey.app/u/Torsten_Sturm)\
**Post date:** [July 24, 2023, 4:28pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/237 "2023-07-24T16:28:02Z")

</div>

and which compatibility settings shall I use?

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fd17b9fe5989fb6c0a1ee423eb186191b3d5d30d.png)

---

<div class="post-metadata">

**Author:** ![Gruijter](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gruijter/32/1973_2.png) [@Gruijter](https://community.homey.app/u/Gruijter)\
**Post date:** [July 24, 2023, 4:47pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/238 "2023-07-24T16:47:16Z")

</div>

Mmh. I dont know. Guess you can try all combinations and let us know if/which settings work 😉

---

<div class="post-metadata">

**Author:** ![Fred\_ckx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_ckx/32/86217_2.png) [@Fred\_ckx](https://community.homey.app/u/Fred_ckx)\
**Post date:** [July 14, 2024, 8:29am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/239 "2024-07-14T08:29:35Z")

</div>

I am pretty new in using my Homey Pro 2023 and learning…  
Archived Insight this is a great app! I managed to use it to export data to my NAS.

I created some Advanced Flows that to receive data from some ESP32 and ESP8266 based sensors over MQTT. So far, so good. The defined variables are showing up in graphs under insights.

Among the exported data by Archive Insight is a file logic\_20240714T001504Z\_yesterday.zip. I expected that my self-defined variables would be reported in there. But the zip file is empty.

What do I have to do to make that self defined variables appear in exported Insights?

---

<div class="post-metadata">

**Author:** ![M\_a\_r\_c\_o](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/m_a_r_c_o/32/146_2.png) [@M\_a\_r\_c\_o](https://community.homey.app/u/M_a_r_c_o)\
**Post date:** [July 14, 2024, 8:49am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/240 "2024-07-14T08:49:38Z")

</div>

Are the variables from/with Homey, or Better logic and are they numeric?  
Have the variable names strange characters (space, comma, point, …)?

---

<div class="post-metadata">

**Author:** ![Fred\_ckx](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fred_ckx/32/86217_2.png) [@Fred\_ckx](https://community.homey.app/u/Fred_ckx)\
**Post date:** [July 14, 2024, 9:01am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/241 "2024-07-14T09:01:12Z")

</div>

Hi M\_a\_r\_c\_o,

I used the Variables button while creating an Advanced Flow. They are all numeric. I assign values to them using the Convert Text to Number Tag card (Logic) and then assign a value with a Logic card (set variable name to #Result, of do a calculation with the Logic card calculate variable name as text.) Some of the names contain an underscore, but all of them can be selected to show a graph!

From your answer I understand that in principle variables should appear in exported Insights. Is that correct?

(I do not quite understand “from/with Homey” ans “Better logic”)

UPDATE: the first archiving action acted on yesterday’s insights. Today I did an hourly backup. This resulted in a number of files with data! I will await the results of the next “yesterday” backup.

[Previous page](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976.md?page=11)

[Next page](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976.md?page=13)
