Homey Community Forum

Archive Insights - export all your Insights data to a NAS or web folder

Can you give an example what the folder name would look like? And why would you want to be able to set it per flow card?

For example just the date (yyyymmdd) would be really nice. Maybe it’s even possible to make some kind of settings where it can be more freely configurable like: %y%m%d (for yyyymmdd) or %backupperiod (for last …) or even some free text for maximum freedom.
But in my case just the date would be great.

1 Like

I added it to a feature request on Github so I won’t forget about it. Feel free to add detailed requirements:

2 Likes

Hi, since the last version on August 27 I see no new exports were written to my NAS. In the logs there is this error:
TypeError: Cannot read property ‘replace’ of undefined at Promise (/app.js:532:44) at at process._tickCallback (internal/process/next_tick.js:89.7)

Too bad it’s not working anymore, because I love this app :smiley:

@PieterM . Thx for the compliment! :relaxed: can you please create an issue on github with details of the settings you use and the app log.

Hi @PieterM, I have just updated the app to version 2.5.0. I hope this solves the issue for you.

@Patrick1610, @ArnoP: Version 2.5.0 adds the option to save every export to a seperate folder.

You can get it now on github, or wait for Athom to approve it in the appstore .

Version 2.5.0 was just released in the appstore. It has some bugfixes, and it allows you to do each export in a seperate folder. The folder is named after the date/time when the export started, so you can easily manage / remove old archives.

Let me know if you like it :wink:

2 Likes

I have setup the app and want to use sftp to export the logs. Now if I use the command line either ssh or sftp the address and folders all work fine. Now if I fill these in the settings en test them in the app I get an error. Looking at the logs, it states it is connected to myip:22 but this message is followed by a general Timeout (control socket). Anyone has any ideas what is going on?

edit: I also checked the logs on the server. It also confirms connections has been made, only that it is being dropped (no official disconnect)

edit 12-10: I have configured a Webdav server on the same machine and that one is working just fine. Still no idea what happened with the sFTP. But for me I am happy to be able to use the app now.

1 Like

Hi,

I managed to download the information on my Synology but I am disapointed to have a zip file for every app and inside each zip a .csv for each measure.
Would it be possible to have one big CSV ?

Nope :hugs:

Would it be possbile to have only the CSV files without being into a zip file ?
Named with the date and year of extraction.
Thanks

Mmh. I have too look into that. The zipping is important because during archiving, the data is first stored on Homey itself (and Homey has limited memory/storage), and also because exporting non-compressed data takes a very long time over WiFi.
Why would you want it unzipped?

I want to create a Qlik Dashboard based on this data. Unfortunately Qlik can’t read ‘inside’ a zip file.
If we do a weekly extract (max) it doesn"t take so much space.