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.
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
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
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?
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.
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