[APP][Pro] Simple (Sys) LOG - Use this app for Simple (Sys) Logging

Correct.

You can use the earlier mentioned FTP Client app and create an FTP client device (two examples below) that links to the FTP server on your Homey (use your Homey’s IP, the FTP servers port and credentials in the settings screen).

When connected, you can

  • Use it in your flow to save the log to your FTP server;
  • Browse the FTP server via the FTP client’s device Repair option (in settings).

Example flow cards to save log (use the FTP client’s save flow card):

To browse the FTP server to download the log, go to the FTP client device’s setting and tap the Maintenance > Repair option. A pop-up screen appears. The pop-up screen shows you the folder structure and files on your FTP server, e.g.:

Long-press a file to download/share it.

1 Like

@SunBeech I really love how you use my apps in combinations hahaha

1 Like

Haha, well you made some very useful apps that also integrate well with each other :blush: !

I then have the file on my homey, I still can’t access it from outside my home.

Inside only when I open my VPN to my iot network where Homey sits. I don’t want smart devices to be able to access my own LAN with all my secrets :laughing: :innocent:

Isn’t there a way to upload the file to my Google drive ?

Im not sure you can get it uploaded anywhere online, unless it receives files encoded to base64.
You could, possible at least, have an external ftp client connect with your homey (it has internet, so you could map your ip address to homey and only allow the ftp connection from external to your homey.

You already have a ftp server on homey right? So you can have it downloaded. I guess it should be possible that you connect from tour private home network, to the smarthome/home network through the internet. Do you have a NAS/synology on your private network?

Yes, but it’s behind NAT also. Yeah, made it pretty impossible :
-My internet router does NAT

  • behind that there’s a NAT router with my LAN
  • next to it is a NAT router with the Homey network…
    On Homey I have a http/ftp app for some mp3’a for firealarm.

I might be able to put up a http/ftp server on a NUC or Raspberry just behind the internet router. It would be accessable from the Homey (outgoing connection) and with a port-forward from the internet…

Arie,
I know Johan lives in Fort Knox :grimacing:, but,
Wasn’t part of the fun you don’t need to be on your LAN to download the saved files with the FTP Client app?

So, in theory, this howto should work for you, @Johanp, from anywhere, for as long as you are able to reach Homey with the mobile or web app;
It shouldn’t matter whether the files are saved to an FTP server on Homey, or to a local NAS.

I can acces my NAS with it, using the internet data connection:

1 Like

Yeah, you can download the log files on your homey app. And you can do that from anywhere yeah.
But i am guessing @JohanP wants the files on his NAS to automate some logging, right?

1 Like

The way he describes it, is that he has no access via the mobile or web app from outside his home, and in his home only if he connects via an (internal) VPN:

If I can automatically upload a daily log to the Homey and later on download that from Homey to my computer anywhere i’ll be fine.

So if this will work that way it’s wonderfull..

Seems I misunderstood you solution then…

1 Like

I can of course login to Homey through the cloud…

Yeah that should work fine.

Ah thanks for clarifying.
Then my suggested option should work.

On iOS, when you download it via de FTP Client’s pop-up window, you have the standard share controls available, so you can also save/share it to other destinations.

I am not a Google Drive user, but assume it would also be part of those destinations.

Errm, that’s still a long route to get it downloaded…

If I understand you correctly then you are planning to generate a daily log. So the manual download steps are limited to once a day. I don’t think there is a quicker manual download option in this case.

I did came across another app (Easy Logger) that allows you to write rows or a Google Sheet. So the Google Sheet would become your log, to which you add rows/log entries. I have no experience with this app. But if you want Homey to make a log available in your Google cloud environment, then it may an alternative to consider.

Just installed the Virtual FTP Client, it will suit me well.
The no of clicks to download the log is much better.

Now just need to get the thing to accept the set default directory :laughing:

I mostly use send to timeline and log card, and most of the time I get duplicate entries on the timeline, they have the exact date and time on both entries, so that suggests they are doubled up and not different, is it just me or does anyone else have this happen.

Are you sure the respective flow is not being executed multiple times after each other?

E.g. when you have a flow with:

  • Multiple triggers, that become true at (almost) the same time, or
  • A triggering sensor value that changes multiple times per second?

Such cases can result in a flow being executed multiple times a second. You will not see that level of detail (on the millisecond level) in your timeline.

Mine works right now…

This morning automaticly at 8:00

1 Like