Repository navigation
Flow Actions get_log_export_url
Use this Advanced Flow action when a later card needs a download address rather than the file contents. It runs on local Homey and requires Better Logic Library (BLL) to be running with log storage and its file-download service available. It exports the whole log, regardless of app settings or widget filters.
Choose CSV, Excel, or JSON. The filename comes from General → Exports.
| Output token | Value |
|---|---|
| Local URL | HTTP download address using Homey's local IP address. |
| Local (SSL) URL | HTTPS download address for the same file. Use it when the consumer needs HTTPS. |
Both tokens are text. Both are temporary local-network addresses; the HTTPS token is not a cloud link. Neither is an Android widget address. The card succeeds only after the file is uploaded to BLL. Generation or upload failures follow the Advanced Flow error path. If unreadable entries were skipped, the app records the count in diagnostics; the URL can still succeed.
Privacy: Anyone who can reach the address may be able to download the file. Do not write either token to the log or post it publicly.
- Make a test log entry and check that BLL is running.
- In an Advanced Flow, connect a manual start to Get log export URL and choose CSV.
- Connect the success output to a private Homey notification action. Insert Local (SSL) URL from the export card into the notification message. Connect the error output to a separate, generic failure notice with no URL.
- Save and run the test Flow. On the home network, open the URL promptly in a browser and confirm the CSV contains your test entry. For a permanent archive, save the file itself, not just its URL.
Illustration: pass the URL token to the next card only after the export succeeds.
For file contents instead, use Get the (whole) log. For a manual download, use App settings.
Support development - If Simple (Sys) Log is useful to you, you can support its
continued development through GitHub Sponsors,
Patreon,
PayPal, or
bunq.
Thank you!