# \[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:** 2

<div class="post-metadata">

**Author:** ![OttoWerse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ottowerse/32/12366_2.png) [@OttoWerse](https://community.homey.app/u/OttoWerse)\
**Post date:** [June 18, 2019, 4:25pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/21 "2019-06-18T16:25:34Z")

</div>

Ah, now I get it. I was a little confused by the naming, since in Windows networking “Domain” mostly refers to work environments, not the common Workgroups. Everything seems to work fine. Now I just need to setup visualization for all that sweet data. Thank you **very** much!

---

<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 18, 2019, 7:52pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/22 "2019-06-18T19:52:59Z")

</div>

Hi @OttoWerse, judging from your 2 star review on the appstore my app is not meeting your expectations. Can you share more of your experience ? What could be improved in your opinion?

---

<div class="post-metadata">

**Author:** ![OttoWerse](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ottowerse/32/12366_2.png) [@OttoWerse](https://community.homey.app/u/OttoWerse)\
**Post date:** [June 20, 2019, 10:53pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/23 "2019-06-20T22:53:20Z")

</div>

Oh, I’m sorry, I must’ve submitted that rating by accident. I’ll change it ASAP!

But speaking of suggestions, it might be better to use some more descriptive texts inside the setup window. For example, the domain field could say something like “The Domain or Working Group of your device”. I’d also change the Network share demo text to something like “network device name/shared folder name”. Or just add some more detailed setup example to the app page, that would probably be enough. I personally found it a little hard to get set up, without consulting the forum (as evidenced by my post in this thread) But maybe it’s just me, coming from and using Windows Servers for my Networking.

My only real “problem” with the actual app, after the one-time setup, is that there is no customization of what data is exported. I know you can choose data by apps etc. but I’d like an option to set up a specific dataset, which you could specify via the settings of the app.  
It would be nice to be able to choose specific data for each sensor, since most sensors report more that one value. For example, I don’t really need a backup of all my sensors battery-alarm data. This could also save a lot of processing time for zipping up all the data.  
I don’t know how difficult it would be to implement this, but a simple list of all currently installed sensors would be great, so one could customize the export for each one of them individually, or maybe just for a class of sensor (e.g. Hue Motion Sensor)  
In the end you could just add the customized dataset as another flow card “export custom dataset” with the same ability to set a time as the export all card.

Of course this filtering could be done server side on the NAS, but I think it’s more about zipping times, not so much storage space on the NAS. I also am not sure if this would require additional resources on the “client” side (homey) as I don’t know if searching for specific graphs/data inside insights is CPU intensive or anything.

---

<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 21, 2019, 5:54pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/24 "2019-06-21T17:54:59Z")

</div>

Cool! Thx 4 the feedback. Ill see what I can include in my next update.

---

<div class="post-metadata">

**Author:** ![Tomas\_Woren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_woren/32/10452_2.png) [@Tomas\_Woren](https://community.homey.app/u/Tomas_Woren)\
**Post date:** [July 2, 2019, 6:02pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/25 "2019-07-02T18:02:33Z")

</div>

which SMB versions are supported. My NAS only supports SMB 1 and I have problems setting up the SMB export. I get message:

Error: getaddrinfo ENOTFOUND [Share] [Share]:445

The first part of the share name (before the first /) is included in the error message two times [share].

---

<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 2, 2019, 6:28pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/26 "2019-07-02T18:28:05Z")

</div>

Hi Tomas, the app supports smb v2.

You can try sharing a windows folder, and try to connect to that. Or maybe your NAS supports webdav (my qnap does), is that an option for you?

---

<div class="post-metadata">

**Author:** ![Tomas\_Woren](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tomas_woren/32/10452_2.png) [@Tomas\_Woren](https://community.homey.app/u/Tomas_Woren)\
**Post date:** [July 5, 2019, 7:13am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/27 "2019-07-05T07:13:39Z")

</div>

Thank you for your quick responce. Realised after some further investigation that its time to get a new NAS.

---

<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 5, 2019, 7:44am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/28 "2019-07-05T07:44:12Z")

</div>

😂

---

<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 15, 2019, 11:24am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/29 "2019-07-15T11:24:01Z")

</div>

Would anyone be interested if I add (S)FTP as export location? Please let me know if I should spend time on developing this.

---

<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 20, 2019, 9:42am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/30 "2019-07-20T09:42:34Z")

</div>

New version 2.4.0 is pending approval in the appstore.

Besides some package/security updates, there are 2 major new functions:

- FTP is now added as possible export location next to SMB(NAS) and WebDAV.
- Auto-purge of old export files is now possible for FTP and SMB.

Auto-purge means you can make a flow (e.g. every day at midnight) to delete all files that are more then X days old.

 ![2019-07-20](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/bcbb1baafecb88629d7f8123bbb9035cd6f4ae40.png)

## BE CAREFUL WHEN USING THE AUTO PURGE

(it will delete files and folders in your archive folder 🙂 )

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [July 28, 2019, 7:53am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/31 "2019-07-28T07:53:53Z")

</div>

I cannot save the SMB/NAS settings. Testing works but it does not save, it did put the testing file on the right spot. I run latest beta atm of homey.  
I hit the button for saving multiple times and sometimes it looks it did save. But it exports nothing. When i go back to the settings, its all gone. Even after leaving the page for a second and go back, its back to default.

Any suggestions?

---

<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 28, 2019, 8:07am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/32 "2019-07-28T08:07:57Z")

</div>

[https://developer.athom.com/tools/app-settings](https://developer.athom.com/tools/app-settings)

Does it work when you set it up using a PC?

If not, please create an issue on github @Edgar

---

<div class="post-metadata">

**Author:** ![Edgar](https://avatars.discourse-cdn.com/v4/letter/e/b487fb/32.png) [@Edgar](https://community.homey.app/u/Edgar)\
**Post date:** [July 28, 2019, 8:10pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/33 "2019-07-28T20:10:07Z")

</div>

Thnx for reply, no, even that doesnt work. Testing works, but saving doesnt work

Met vriendelijke groet,

Edgar de Groot

---

<div class="post-metadata">

**Author:** ![Josh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/josh/32/12445_2.png) [@Josh](https://community.homey.app/u/Josh)\
**Post date:** [July 29, 2019, 6:43am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/34 "2019-07-29T06:43:39Z")

</div>

Same problem here: both in Android app as on PC settings do not save. When I click “test the SMB settings” returns “OK…”, however when I click “save” nothing appears to happen. If I then go to another tab and return to the NAS tab the settings are still there but “Use SMB when exporting” is disabled. When I leave “Archive Insights” settings and return everything is gone. The “insights2csv.txt” is created on the NAS.

---

<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 29, 2019, 10:35am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/35 "2019-07-29T10:35:33Z")

</div>

I made an issue on Github: [https://github.com/gruijter/com.gruijter.insights2csv/issues/4](https://github.com/gruijter/com.gruijter.insights2csv/issues/4)

---

<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 29, 2019, 11:06am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/36 "2019-07-29T11:06:28Z")

</div>

Save settings bug is fixed in v2.4.1 🙂

Packages update. athom-api@2.1.194. basic-ftp@3.8.0. Fix for save SMB settings.

---

<div class="post-metadata">

**Author:** ![Crashy](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crashy/32/7688_2.png) [@Crashy](https://community.homey.app/u/Crashy)\
**Post date:** [August 9, 2019, 7:45am UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/37 "2019-08-09T07:45:39Z")

</div>

Maybe not really topic-related… but does anyone have or use (and willing to share :-)) a script to load all insights in an Excell file for graphs etc?

---

<div class="post-metadata">

**Author:** ![Henk\_Bartels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_bartels/32/12762_2.png) [@Henk\_Bartels](https://community.homey.app/u/Henk_Bartels)\
**Post date:** [August 17, 2019, 1:12pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/38 "2019-08-17T13:12:34Z")

</div>

Hello,  
I have a simple question.  
When i try to save the insights in a subdir that does not work.  
Only the main directory is accepted.  
I use //ip address/diskname and this works  
When i add a /subdir than i got a network error…  
Is this correct??

---

<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:** [August 17, 2019, 2:42pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/39 "2019-08-17T14:42:44Z")

</div>

What service are you using? Ftp, webdav or smb? And what is the full folder name you are trying to use ?

---

<div class="post-metadata">

**Author:** ![Henk\_Bartels](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_bartels/32/12762_2.png) [@Henk\_Bartels](https://community.homey.app/u/Henk_Bartels)\
**Post date:** [August 17, 2019, 3:27pm UTC](https://community.homey.app/t/app-pro-archive-insights-export-all-your-insights-data-to-a-nas-ftp-or-web-folder/10976/40 "2019-08-17T15:27:28Z")

</div>

Hallo Robin,

I first tried only NAS (SMB)

There i found that i only have access to te root dir of my share. Not to the subdirs.

The user has admin rights so that is not the problem.

The full path is //ip address/Drivename/subdir name

When using that i got an error that he can not find the share.

I then switched to FTP. That is allowing subdirs.

But when executing a flow, nothing is going to the dir…

Then i used both (NAS and FTP)

Then the FTP is working en storing it in the subdir i wanted.

The NAS is stil only storing it in the root…

Henk

[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=1)

[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=3)
