I’ve been trying to use the card ‘Get the (whole) log as’ in an advanced flow. When running this flow I can’t figure out where the file is saved? I have Better Logic Library installed.
I have tried using the FTP Client but am not able to access my Homey. Perhaps that is the problem? I get the following error:
Do I need to install the FTP/Web server application or do I need to search elsewhere?
Well yeah, you can install a FTP server on Homey if you want, like the Micro Web Server or HTTP/FTP server app.
Than connect the FTP Client app with that FTP server.
Now you can write the Excel file (it’s given as a token) on the FTP server through a flowcard in the FTP Client app (which accepts Base64 files)
I think I understand now, the card doesn’t really download a file, it simply fills the token. In the next step I can use a card from FTP Client to save the file using this token. Right?
Well, the token contains the whole file, encoded as Base64 (binary file converted into a string/text).
Once the Get Log is done, the file is actually already “downloaded”. You just need to save it in a way you yourself can download it
Thanks! Managed to download the log as an Excel-file now to my Homey using a device created from the Ftp Client app.
Opening the file, Excel claims there’s a problem with the /xl/sharedStrings.xml-file, so maybe there’s an incorrect or missing tag in that file (it can be edited renaming the Excel-file to zip).
However Excel manages to repair the file, so I can live with that :-).
@Arie_J_Godschalk: Since approximately one week, the Simple (Sys) Log app (v3.0.25) is crashing every day on my Homey Pro (Early 2019, v8.1.4). I now found out it crashes every time Homey makes a back-up. Do you have any suggestions what I can do to prevent the app from crashing?
Thanks in advance for your help!
Thanks for your reply and I appreciate your help!
In settings, it shows that both storage and memory are not full. Do you have any advice or suggestions?
Well, you are using a lot of space for SimpleLog, perhaps automaticly delete old logs?
And then see if it still crashes during a backup?
Because i don’t really have control over what happends during a backup, but if you reduced the size of SimpeLog and it stops crashing, then there might be a limit on how large a app-size may be during backup?!
Just deleted the entire log and made a back-up. The app didn’t crash!
I also found that I had accidentally enabled a test flow which created a log item every time a sensor value has been changed. This caused about 20-50 log items to be written in 5 minutes time which explaines why Simple (Sys) Log was using so much space. Of course, I now deleted this flow
And yeah, be carefull: The old SImpleLog allowed for just 2000 loglines, however, the new version allowes many many more log-records!
I have just tested writing 250.000 records into the log on my HP2023:
It used “just 12.9MB”.
So, since you were using more that 400MB, i think you literally had millions of records