-
-
Notifications
You must be signed in to change notification settings - Fork 53
Migrating to New Setup
crxporter edited this page Jul 16, 2021
·
1 revision
There are some cases when you may want to move your HomeKit devices to a new Node-RED instance while not changing your Home App pairings. This could be when you are migrating to a new computer, flashing a new SD card for your pi, or restoring from a backup. While not guaranteed, this process should allow migration without needing to remove your bridge or stand alone devices from the Home app.
Moving to a new server is fairly simple, and only takes a few of steps,
- Install Node-RED on your new server
- Shut down Node-RED on the old server
- Changed to the
.node-red
directory on the new server and runnpm install node-red-contrib-homekit-bridged
(and any other node modules you use in your flows) - Copy over
homekit-persist
from the.node-red
directory on the old server to the.node-red
directory on the new server - Copy over
flows_<old machine's hostname>.json
from the.node-red
directory on the old server to the.node-red
directory on the new server - Rename the
flows_<old machine's hostname>.json
toflows.json
on the new server. - Edit the
settings.js
file on the new server, and uncomment the line `flowFile: 'flows.json' - (Re)Start Node-RED on your new server.