Make a backup of all your insights to your NAS, FTP or WebDAV compliant storage. The insights are zipped and stored in .csv format so you can open them in excel and create all kinds of statistics and charts. The export also includes a JSON version of the data.
Backups can be easily scheduled by using the trigger card in a flow. You can schedule a full backup, or a backup per app.
To setup enter the local share (NAS) information and/or the webDAV information. It is possible to use a local share, FTP and a webDAV storage simultaneously.
Note: making a backup can take a long time (more than 10 minutes), depending on how many insights you have. It is not possible to restore a backup into Homey.
Donate:
If you like the app do not hesitate to donate a cool drink
I just uploaded the new Homey V2 compatible version of the Export Insights app to the appstore. After approval it will be available in the beta stream. The stable release will still be for Homey V1, but will eventually be deprecated.
The new version allows you to store all Insights, or Insights of a specific app, to a network drive (NAS) or webDAV folder. It also includes Insights that you cannot get from Athoms Insights page!
Please give me some feedback, so I can improve it even more before making it stable.
I tried it and it manages to export my āsmallerā apps but gets an error on Fibaro devices. Not sure if itās the specific app or if itās because my vast majority of devices are fibaro.
Edit: It would be awesome to see if it could create a folder with incrementing numbers to put the files in. Say I want to export once every week and it puts it in a folder called 2019 and in a subfolder by week number or month or something
Thx for trying/testing the new app version! Concerning the error, could you please make an issue for that on Github? Since I cannot reproduce this error myself, I have some more questions for you https://github.com/gruijter/com.gruijter.insights2csv/issues
Creating subfolders would make my app rather complex.I would somehow have to keep track of the previously created subfolders (and for each user that would be different). Or do you have another idea? And can you explain how this folder structure would be helpful to you? Maybe you can explain more how you want to use the exported data?
Would it help you if I move the creation date/time of the zips to the beginning of the filename? That way it is easy to sort all the files based on date (actually you can already do that now based on the file creation date).
Iāll try to make an issue on GitHub. Iāve got no user there yet but Iāve been lurking a bit
Regarding the folders, itās no big deal. If itās hard to implement maybe it was just a bad idea. Itās pretty easy to move things myself now and then.
At the moment my plan is to keep statistics on temperature and humidity on the outside and on 2 different places in my house (in the trusses). I will use the info to see if the conditions are good enough to prevent damage to the house at different parts of the year and see if things improve by taking different kinds of measures and comparing the data from the previoud year for example.
There will be a lot of data and automatically sorting the data in folders by date taken for example would help. And I was thinking folders since there were quite some files that got created each time so the folder it gets saved to will look quite busy in a short amount of time.
Like I said though itās not a very big deal and can easily be done manually
The goal of my app is to export the insights as data, not as a graph. But if you have another use case, please share what you need and why. Maybe we can find a solution together
Hi Gruijter, thanks for contributing!
I have installed your app, but I do not have a NAS or something else. I am looking for a way to download to a folder on the computer. Is that also possible? Where can I do the setup?
Yes, you can make a network share on your desktop computer. It then works the same as for a NAS. Just make sure your desktop/laptop is on and on the network when you start an export.
I just finished v2.3.0 with significant stability changes. Can you check if that solves your issue with exporting Fibaro? v2.3.0 is now on Github, and will be released in the appstore as soon as Athom approves it.
V2.3.0 was just released in the appstore. It is now the stable version. Most important change is that I added internal queueing for export jobs. This reduces peak cpu and memory load on Homey.
This version only works on Homey V2. Users that are still on V1 can keep using the old app, but it is not possible to install it anymore from the appstore.
Thank you for trying to fix it. I know that Iām not as helpful as I can be and canāt really expect it to be fixed until I commit myself a bit more to it.
But I tried yesterday and my problem still persists.
Is there any explanation on how to set this up properly anywhere? I have already read the description in the homey App store and on GitHub, but I canāt seem to find any information whatsoever, so I canāt figure out how to do anything with this app.
It wonāt find my NAS, I have no idea why. All I get is a cryptic error message. Error: getaddrinfo ENOTFOUND followed by whatever I put in āNetwork Shareā and the number 445. (I guess it means Port 445?) Iāve already forwarded Port 445 on the machine and my router. (even though this seems like a terrible idea, from a security standpoint, but whatever) but that didnāt change anything.
Is there anything else on the Server side that needs to be set up? What formatting is required for the NETWORK SHARE (which I can only guess is for the serverās network internal address)?
How do I use drive letters in the file path?
What is the use of the DOMAIN field (Iāve never seen this field in the context of a local NAS setup)?
This is, by far, not my first Networking rodeo, but at least some documentation would be helpful here.
I donāt run this app, so I have to go on what the documentation and the first post in this thread states, but:
you need to enable SMB/Samba on your NAS
the network share should be //HOSTNAME/SHARENAME; for instance, my Synology NAS is available as //syno (it says so in the control panel where you enable SMB, āsynoā is the hostname) and I can attach the name of a shared folder: //syno/InsightsBackup
DOMAIN is an SMB setting. On my Synology, the domain is WORKGROUP (again, thatās shown in the control panel)
I donāt know why you would need to add a port number, SMB has a default port
getaddrinfo means that Homey cannot resolve the hostname of your NAS; instead of using a textual hostname, you could try to use an IP-address. In my case, that would be //192.168.23.13/InsightsBackup