The HA documentation and the many YouTube videos on HA are very good at telling us how to start an installation from scratch, but I want to migrate an existing ‘live’ system to HA that currently runs on dozens of Smart Life scenes and Alex routines, and I want to do it step by step without breaking the present system, spending the minimum of time at the installation site (which is not my home). Can anyone advise on the best strategy?
I am a former software engineer, so will program if necessary, but I prefer taking the simplest / quickest approach first, then upgrading later, a step as a time. I have no pressing cloud security or lag concerns. I am adopting HA for more sophisticated logic and as a more flexible Zigbee hub for future projects (door security and smart heating).
-
The existing system, started about three years ago, operates mainly with WiFi devices connected to Smart Life (one or two exceptions under eWeLink, Flic and Gosund). They comprise an IR universal remote with sub-devices for TV, Firestick, Sky+HD box, and a Sony DVD player; ten 1- to 3-gang light switches; four smart plugs; and a curtain rail. There are 6 Alexa Echo devices. I have a couple of Zigbee closure sensors connected via an Echo 4th Generation, but am happy to reconnect those to the new hub and start again.
-
I have already set up a the new HA hub in my own workshop, which is not the house where it is going to be installed. I installed HA native on a Dell Optiplex 3050 MFF, with which I am very happy.
-
I have a Nabu Casa account for the target user (separate from my own), with remote access set up and tested. Nabu Casa Alexa integration is installed but not yet in use.
-
I have the standard Tuya Smart Life cloud integration installed. I can see all the Smart Life scenes in HA, each with an ‘ACTIVATE’ link that I have not yet pressed.
-
I have Tuya Local installed, and would like to migrate to that in the end, but am happy to keep that as a later step.
I DO NOT WANT TO MESS with the current live system until I am on site to catch any errors. Even then I would like to migrate scenes / routines / automations step by step so that the operation of the existing system is not disturbed for more than a few minutes at a time, and can be left in a part-migrated operational state if I run out of time.
MY QUESTIONS – to anyone who has done something similar before – are not so much ‘how’ questions as ‘which is the most appropriate strategy’ questions …
A. Presumably, if I ‘activate’ scenes in HA they will become exposed to Alexa. Will Alexa (a) switch from the old Smart Life scenes to the new ones; (b) stay with the Smart Life versions; or (c) just get confused?
B. Presumably, I will ultimately turn off the Smart Life skill in Alexa, so that Alexa always goes to HA – but I would retain the Smart Life account as a means of onboarding new WiFi devices? That would however be a rash step if Alexa does not automatically recognise them in HA, so should presumably be my last step?
C. Ultimately I will want all the Smart Life scenes inside HA. Can I just write an HA scene with the same name and expose it to Alexa, at the same time deactivating (or deleting) the equivalent Smart Life scene, or will I need to write a scene with a different name and then update the Alexa routines that use it?
D. Ultimately, I will want as many Alexa routines as possible inside HA as automations. Some are scheduled; most are simply to links to scenes anyway. I guess Alexa will have to keep the latter when it involves multiple trigger phrases, but HA could take over scheduled actions, using TTS instead of ‘Alexa says’ for spoken reminders, and those where one device (such as a doorbell) triggers an action.
E. Ultimately, I will want to migrate all the Smart Life devices to Local Tuya, but I am assuming it is best to hold that as a subsequent step until after I have migrated all of Smart Life cloud to HA? If I migrate a device to Local Tuya will scenes and automations using it still work, or will I have to update them all again too? And if that is the case, perhaps I should go straight to local Tuya and not go via the Tuya cloud integration at all??
As you can see there are a number of dilemmas that could be resolved by trial and error, but that could cause me to spend a lot of time and disrupt the existing system. Therefore any advice on how to migrate while minimising both disruption and my time on site would be very much appreciated!