[Modding] Migrating Homey Pro data to Homey SHS

Split from Migration of devices from Homey (Pro) to Homey Self-Hosted Server - #35 by Bram_H

Here is a workaround for migrating all of your data from Homey Pro to Homey SHS. Flows, devices, apps, insights.

The guide is in Danish so use the browsers translate function.

Short version:

* Install Homey SHS and add it to your Homey account

* Shut down the Homey SHS container

* Copy the homey-shs/sqlite folder from Docker to a Windows PC

* Copy all data from the /User partition on Homey Pro to a Windows PC

* Identity and certificate must now be replaced in the Homey Pro backup with the identity from Homey SHS. There is a Homey ID Migration tool for that in the guide.

* Copy the modified Homey Pro backup data to the homey-shs folder in Docker.

* Start the Homey SHS Docker container.

3 Likes

@WebLock That would be great. Could you please share the link?

Nice initiative.

Is windows OS is mandatory? Or is it just the OS you use?

@Frank_Smeets:

You would probably have to use your browser translation, unless you speak Danish… :slight_smile:

The manual is very straightforward though.

I suppose Mac could do as well if you can access ext4 shares from Mac (probably with additional software).

Other OS may be tricky, because you need the Homey USB Tool to boot to Homey’s into a mode where your PC/Mac can access Homey’s filesystem. This tool is only Windows and MacOS. Unless there is another way that I don’t know of…(?)

Yeah the USB-tool on linux works fine as well, Henk. Tested with linux Mint.

1 Like

The Homey ID Migration tool is only compiled for Windows.

If you skip that part and doesn’t turn off Homey Pro you’ll have two identical Homeys online and none will work.

It looks like it’s just a compiled Python program, would have been nice to provide the source for it :cry:

Thx @WebLock. This is a great guide. Unfortunately I’m using a Homey Pro 2019. Would something similar work here too? I see a challenge to copy the data, but maybe the data structure is completely different. Do you have any insights on this?

No, the raw data on the older Homey’s isn’t accessible for the user.

Unfortunately I’m using a Homey Pro 2019. Would something similar work here too

As you may know, the hardware platform in 2019 is different than in 2023/2026. There is not as easy access to the file system in 2019.

My guess is that it would be easier to find a way to download a cloud to local PC and it will hopefully contain a backup of the sqlite folder.

I know that it does not contain the apps, but Homey SHS/2023/2026 downloads the missing apps itself.

I hope Athom will provide a Migration service soon … including Pro 2019 support. Else the only option is to buy a 2026 → migratie the 2019 to 2026 → use the guide to migratie the 2026 to SHS → return the 2026 again :joy:

1 Like

Worked great.
Moved from my Homey 2023 to the HA Homey SHS add-on without any issue.

Thanks for the tool

1 Like

the Raspberry Pi USB Boot Tool doesn’t install on my W11 laptop ???

No need to direct link to an executable, now I have by accidentally ticking an .exe file on my Android phone!

pls refer to the site and version, and more important the ERROR you experience ad that porbably says more than “doesn’t install…“

Removed the deeplink for above reason

1 Like

I suggest you head to the FAQ of the homepage of that tool.
Windos 11: Most probably it’s a permissions issue.
Or it’s a damaged installer, just download that tool another time.

Right mouse click, on the .exe off the pi imager tool

run as administrator

That fix a lot

(post deleted by author)

Please someone share experience on how you revive the Zigbee and ZWAVE devices, after making this copy, naturally after adding Homey Bridge as satellite, could be interesting for some people.