This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
Closed CommunityApp
[App] Flow Backups (v1.1.1)
GeurtDijker
Member
Flow Backups
Backup and restore your flows to and from a file. You can select which flows from your backup you want to restore. You can use the app to copy multiple flows at once as well.The app is intended as a temporary solution, until Athom offers a built-in backup function.
Current Version : 1.1.1
Athom Apps store: https://apps.athom.com/app/nl.regoor.flowbackup
Github repository: https://github.com/Dijker/nl.regoor.flowbackup
Supported Languages:
- English
- Dutch
Latest Update:
- v1.1.1 Minor update to SDK2
Warning: use this app at your own risk.
Special Thanks to the Original Developer Serge Regoor for creating the initial App! He transferred the app to me on request.
(Other old discussions will be merged below here)
Tagged:
This discussion has been closed.
Comments
this is the only reason I have not done it.
https://forum.athom.com/discussion/comment/27284/
https://forum.athom.com/discussion/comment/19969/#Comment_19969
But don't expect it soon™
Anyway, a backup is needed, to import/export flow, also sharing flow from comunity's member could be the next features
There is no rush, as long as I have it by the end of next week.
I wan't to start building a rather huge and complex set of flows to do some "next level shit automation" . But I'm kinda keeping this off for the moment as I did this in the past and lost it all duo an update. Worse is that I'm owning multiple homey's and spent hours copying the flows by hand from one to the other. So I need to do both again, currently running basic flows on one, the others are offline . So I would really like to suggest an easy way for sharing / deploying / keeping-up-to-date of configurations/flows for multiple homey's.
Maybe even a export/import for one or multiple flows for easy sharing? (as is saw requested in other posts already)
Backing up flows shouldn't be a problem, neither should restoring all flows or just a number of flows.
The problem is, since an app cannot communicate with devices, there's no way for such an app to know whether devices are still present. For example if you would restore a flow which contains devices that have been deleted (or re-added), the flow will be broken and the flow cards of the deleted device would not be visible. Not very user friendly.
If you guys think such a flow backup app would still be beneficial even considering this draw back, I'll make the app.
it can't even see entire flow cycles, just the card (and triggers) them selves
let's call it this way, i would never want an app created by another developer be able to see/touch my flows... look at how much damage that could do.. delete all my flows, rearrange all my flows.. i don't even want to think about that
So export/import is alwais unsafe
By supplying the bearer token to an app in the app settings, users automatically grant that app full access to all functionalities. There's at least one app that I know of, that asks for the bearer token to function properly.
Athom has stated that the bearer token based access will be deprecated, as they know it is a security risk.
So yes please @SergeR this would be beneficial
If homey is accessible like any network device, some explorer tool/app could access the folders we need and simply copy them as backup.
I'm probable being too optimistic
After a few tests have been succesful, I'll request publication of the app.
Clicking the "restore" button will not restore all flows automatically. You will see a list of the flows in the backup, with the choice to restore which flows. Perhaps you can start by selecting only a single flow, and select the action "Create a copy", instead of overwriting. If that works well, you can try to change a non-important flow (adding/removing/changing flow cards), and then overwrite the flow from the backup. If that works well too, you can remove the flow, and then restore it.
- I restored a flow without changing the flow that was restored....OK
- I changed a flow and then restored it....OK
- I deleted a flow and then restored it... OK
The device in the flows that I tested was the Sony Bravia device.
[Edit] Is it neccesary to test this also with other devices or do you need me to test something else in specific?
- Create copy to different folder, OK
- Overwrite existing flow, OK
Seems to be working just fine!
I'll submit the app now :-)
But when I try to restore:
I tried to use the zip file, also tried to use the flows.json file.
What am I doing wrong?
How do I contact you on slack ??? I don't use that
Slack is another channel where us Homey users can communicate. To use Slack, you'll need to sign up at https://athomcommunity.slack.com. My username there is "serger".