With this app, you can restore older versions of your Flows. Open the App Settings page in a web browser, and download the last 5 revisions of your Flows.
This sound like a very useful app!
Thx! nice one.
Nice initiative, Sven, thanks.
Creating & keeping revisions is fully automated as per app description;
Two things are not clear to me yet:
Does a revision get saved after manually saving a flow? (I press âSaveâ as often as possible)
Are the revisions still kept after deleting a flow (by accident)?
Yes, when manually saving the Flow, 1 new revision is created. If there are more than 5 revisions, the oldest one gets deleted. Iâm still working on a manual ânumber of max revisionsâ settings.
Yes, but only when you know their ID (from, for example, your browser history). I want to build a âTrashâ feature where deleted Flows are kept until it will get deleted after f.e. 30 days
I was alr thinking of a script which saves all flow names + their ID somehow.
This can come in handy to both revision viewing and to keep deleted flow IDâs around.
Ah, of course, the flow ID is in the URL.
The app collects a list of Flows already (including their ID), so I only need to add a listener for flow.delete and advancedflow.delete and then set a deleted flag for that Flow. However, building a UI for it in the settings page will take some time.
On initialialization of the app, it obtains all Flows and copies them (/userdata folder on Homey). So it creates 1 revision for each Flow. After this, it listens for the update events (which trigger when you save the Flow) and creates a new revision on each update. If I also add a listener for the delete event, I can add it to a specific âdeletedâ array and show it in the settings page. I hope to add it tomorrow or tonight, but Iâm not sure.
No hurries!
Thanks for this .
I tried deleting a flow I no longer needed. It appeared in the trash section with a download button in my Android app. Pressed download and Amazon_Connection_Test.homeyadvflow appeared in my downloads folder. Iâve copied it across to my Windows PC where I manage my advanced flows.
I canât see what to do next. Using âOpen withâ on Android doesnât show Homey - clicking it opens it with the wrong app. I canât see an option to import a flow in Android or Windows app.
Sorry if Iâm being dense.
Andy
Thank you for the prompt reply. That worked. Puzzled why the option is so obscure. Without help Iâd never have found it.
Andy



