We will see here how to migrate an installation with Jeedom in slave mode to a Jeedom with the plugin “Jeedom Link”. Jeedom slave mode being abandoned at the transition from Jeedom to version 3.0, it is necessary to proceed before the migration to the new operating mode.
Warning
It is important to read all of this documentation before embarking on the migration. Important information concerning the prerequisites for updating, saving and recovering information is essential for the proper understanding of the operation to be carried out. Failure to read this documentation can lead to destructive operations on your installation. If you do not understand a point, do not hesitate to ask questions on the forum before starting the procedure !
IMPORTANT
Be careful not to loop equipment by configuring the “Jeedom Link” plugin”. For example, do not do an Equipment-X in a Jeedom1 which goes back up in a Jeedom2 and then goes up again in Jeedom1. It could drop your Jeedoms !
NOTE
For a better reading and understanding of this tutorial, here are the terms used :
Jeedom Target : Server (your old Jeedom Master) which centralizes the equipment of the Jeedom (s) Source (s)) The screenshots on a black background correspond to the Jeedom Target.
Jeedom Source : Server (your / your old Jeedom Slave (s)) which reassembles your equipment on the Jeedom Target.
The notions of Jeedom Master and Jeedom Slave no longer relevant. The new operating mode of equipment synchronization between several Jeedoms can be bidirectional. A Jeedom server can now be Source and Target whereas the old mode only allowed the ascent of the equipment of the Slave to the master. With the new mode it is also possible to have several Jeedom Targets for the same Jeedom Source. Communication between Jeedoms can now also be done remotely via the internet (Jeedom DNS or other).
Depending on the plugins installed on your Jeedom Slave, it is necessary to retrieve the following information :
NOTE
A non-exhaustive sheet of information to note for migration is available here
NOTE
Do not delete old equipment from the Slave sure the master.
On your Jeedom Target, Plugins ⇒ Management of plugins :
NOTE
if you have an additional Raspberry Pi and another SD card, you can migrate one protocol after another by installing a new one Jeedom Source in parallel without having to touch your Jeedom Slave existing. Obviously by moving possible controllers from one to the other.
Warning
If you are using your existing RaspberryPi, please be sure to follow the backup chapter of this documentation.
NOTE
if you are using the existing Raspberry Pi which is currently a Jeedom Slave, we advise you to use a new SD / microSD card. This will allow you to easily backtrack if necessary.
To send equipment present on the Jeedom Source to the Jeedom Target via the “Jeedom Link” plugin, it must be already operational on your new Jeedom Source.
NOTE
Remember to deactivate the logging of info commands for each piece of equipment on the Jeedom Source in order to save the SD card of it (Historization will be done on the Jeedom Target).
NOTE
You can also gradually assign the equipment to the objects recreated on the Jeedom Source so that they are later automatically put in the correct object on the Jeedom Target when declaring in the Jeedom Link plugin”. In case of duplicate name with equipment already present in the objects of the Jeedom Target, the plugin will add “remote XXXX” to the name of the equipment.
The “Jeedom Link” plugin installed on the Jeedom Source will allow equipment to be brought up to the Jeedom Target (Your old Master).
NOTE
Reminder, for a better reading and understanding of this tutorial :
- The screenshots on a black background correspond to the Jeedom Target.
- The screenshots on a white background correspond to Jeedom Source.
On the Jeedom Source, Configuring the “Jeedom Link” plugin by specifying :
And save the configuration.
In the tab Assignment, add the equipment you want to go back to the Jeedom Target.
Click on Add equipment Select the object and equipment to add :
After refreshing the page My jeelinks from Jeedom Target, you should see the automatic creation of the equipment :
Like all Jeedom equipment, you can activate / deactivate and display or not the equipment, its controls,… or change the category :
In the tab Commands, you access all the parameters of the equipment controls :
NOTE
To do on Jeedom Target (Former Master) for each info command of the equipment of the former Slave whose history we want to recover.
NOTE
To do on Jeedom Target (Former Master) for each info / action command of the equipment of the former Slave whose occurrences we want to replace in scenarios / virtual /…
NOTE
To do on Jeedom Target (Former Master) for each info / action command of the equipment of the former Slave which we want to retrieve advanced display settings.
NOTE
To do on Jeedom Target (Former Master) for each info / action command of the equipment of the former Slave which we want to recover the advanced configuration.
NOTE
In order to avoid repeating the same command several times, operations 2.6 → 2.9 can be carried out in sequence on the same order before proceeding to the following.
Warning
Interactions on the Jeedom Target cannot be launched using equipment from a Jeedom Source transferred via the Jeedom Link plugin”.
NOTE
After validating with certainty that your equipment / scenarios / interactions / virtual /…. work well with the new jeelink system, you can do the cleaning.