[HOW-TO][Pro][Cloud] - Tool to FIX (advanced) flows after removing and re-adding devices

I am trying to run this HomeyScript:

I have installed HomeyScript and I have added a script file and pasted in the javascript from the link in the thread and saved the file.

At the top of the screen there are two buttons: Save and Test.

When I run the script in "softRun’ mode so that it doesn’t make any changes, I see the output and the script is run. But when I change softRun to true and press the test button, or click on the three dot icon beside the script name and select “Start”, the script appears to run, but nothing happens.

I am wondering if I am in some sort of “safe mode” that doesn’t let a HomeyScript modify the config and that’s why the “run” button is labelled “Test”.

Am I missing something?

@Greg_Veres follow the instructions. It’s not a homey script

Hello. Friends, could you please help me? I have two Homeу Pro 2023. On one Homey, I have a lot of flow control with the Gledopto GL-C-008P RGB-CCT LED Controller Mix Pro Zigbee controller. I bought a new Homey and new Gledopto controllers of the same model with the same settings, and I want to transfer all the flow control to the new Homey. I made backups from the old Homey and transferred everything to the new one, but I can't seem to replace the devices in the flow control.Can anyone help me with this? I need to duplicate everything I have on my old Homey and transfer it to a new Homey with identical hardware. Thanks
I follow the instructions through tools.developer.homey.app, the script works, but there is no result ((  I changed the softRun to true and false... it didn't help... don't judge me too harshly, I'm just learning)

@Pyrohov_Dmytro what is the log in the console?

1 Like

Hi Martin, thanks for the quick response. Did I understand you correctly? Homescreen displays a list of all flows associated with the device I’m trying to replace.


If you run it like this “softrun” is set to true. I think in order to actually have effect you need to set that to false

2 Likes

@Pyrohov_Dmytro as far as i see there’s nothing to replace. Otherwise you would see Would update advanced flow xxx with new cards:

are both ids on the same Homey ? As you mentioned you have 2 homeys.

1 Like

Hi. I tried changing both the false and the true, to no avail.

Absolutely right. Both IDs are on two Homeys

Guys, thank you so much to everyone who responded. Everything works, and I really did need to change softrun false. I guess I’m just confused, although it turned out to be very simple. Special thanks to you, Martin, for the awesome development. All the best to everyone.

1 Like

@Pyrohov_Dmytro glad it works!

1 Like

@martijnpoppen This is a life saver!!! I had to remove my Whatsapp device (tried to repair a broken device due to the AWS outage and failed :frowning: ) and all my flows failed due to have a new device id. This script jut fixed everything!

:heart_eyes: :heart_eyes: :heart_eyes: :heart_eyes: :heart_eyes: :heart_eyes:

1 Like

@Frekel Thanks! :smiley:

Best WhatsApp repair option @martijnpoppen :100::100::100:

1 Like

UPDATE:

  • Some flow couldn’t be fixed due to some changes in the API. This has been resolved.
3 Likes

worked perfect.
I use it in case of token loss at NUKI.
Joe

1 Like

ABSOLUTELY a life-saver! I had a super-complicated advanced flow for my Sonos speaker and a IKEA remote control and it worked flawlessly! THANKS! You saved me probably a day of work and a lot of agony!!

1 Like

@MrWedel Glad to hear! :smiley:

1 Like

What do you like that crazy one? :slight_smile:

@MrWedel oh wow, really nice! Can imagine you didn’t want to build that from scratch again :stuck_out_tongue:

1 Like