Web App ALT + Context Menu: Export/Import Flows

While it works on Android tablets with Chrome & FF, it doesn’t work on my Linux Mint laptop with the same browsers.
Everything is up-to-date.

Does it work on Widows machines (PC/laptop)? Did anyone try it?

I’m an idiot… Didn’t scroll down the thread before trying it on my Mac…
So, like you, tried all the standard stuff first: al key combi’s, refresh, etc… then discovered (by accident) the 1st right click, then option-key solution.
And THEN I scrolled down to make a post for other MacOS-users, just to find I’m 2 days late to post a “solution”.
After all these years, I still do not RTFM?

I am using this on Windows with the Chrome browser. It works both with pressing the ALT key before and after the right click.

I also have an iPad (without external keyboard), but cannot use on there, because there does not seem to be a way to perform a right click with gestures. But that is a more general issue.

1 Like

EDIT: Workaround
Release the ALT button and immediately click to ’ Export JSON’
(does not work on Win11 VM with Chrome/Edge)

It doesn’t work here anylonger :sleepy_face:
When I press ALT and click on ‘Export’ it shows a cross-hair mouse pointer, and all I can do with it is drag the browser screen around.

OS: Linux Mint
Browsers: Chromium & Firefox

With a Windows11 VM + Chrome / Edge, same phenomenon with the cross-hair mouse pointer, but the workaround doesn’t work.

I just checked on Windows + Chrome and the export function still works as before :thinking:.

1 Like

You’ve got me scared for a moment :

But it’s still working…

Damn, how do I get to really scare you :sweat_smile::wink:

Are you & @SunBeech using Windows OS?

Oh, I didn’t try my Android Tablet yet!
BRB!

I am using Windows 11 on a laptop (no VM).

Windows 11 Build 25H2…

Sorry so can this be used to migrate to homey shs?
But all devices need to be moved over beforehand in any case?
Thanks

I haven’t got experience with SHS myself, but yes, you would be able to transfer your flows. Indeed you would first need to add your devices to SHS. As they will then get a different device ID, you would also need to fix the transferred flow (as they refer to the old device IDs).

You can use this script to achieve that. Before you delete devices from your old Homey, make sure to write down the current device IDs. As you need them as input for that script.

Also make sure your SHS instance has all the apps installed required by the flows. And make sure to recreate the same variables. You might need to update the variables in the transferred flows as well, as they also use a unique ID under the hood.

So it is not a plug-and-play method, but saves you the effort from building the flows from scratch. My tip is to try this mehod first with one flow, to check that the transfer actually works.

2 Likes

Where do they store to?
My HP23 is going back and im tempted to get a new mini pc for shs in its place
Yes i know id have to add all the devices back and rebuild all the flows but would this at least bring
Over the flow names/structures and folders?

Saves me some time that way. I have 90 flows!

You can save the exported flows to a locatiom of your choosing on your computer or connected drive/server.

Ah ok. That might work

Start copying over my scripts too then

Thanks