I had a little time to myself this afternoon to try the migration and took some notes on my adventures so far. To recap, my goal was to migrate all config from an Aeotec USB S2 to an Aeotec USB Gen5 and have the new Gen5 as primary controller on node 1. It needs to be node 1 for my Aeotec minimotes to work. The story so far:
- Plugged one of the new Gen 5s (I bought two, one to use as the main controller and one as a backup) into a USB port on my laptop, started Zensys Tools (henceforth referred to as ZT), went to menu option Categories->Settings, detected the USB device and clicked apply. Node 1 appeared in top left window.
- Plugged S2 into second USB port, started ZT, went to menu option Categories->Settings, detected USB device (both ZSticks appeared in list), selected it and clicked on apply.
- With both copies of ZT running tiled side by side on screen I clicked on the NW Inclusion button (the first menu option on the left) on the ZT controlling the S2.
- On the copy of ZT controlling the Gen 5 I selected node 1 (the only node) and on the top right window I clicked on the learn button (looks like a lightning bolt/spark) to put the Gen 5 into learn mode. A few seconds later a new node appeared at the bottom of the list of nodes on the S2. Also, all the nodes that were stored on the S2 (i.e. my entire existing network) appeared in the list of nodes on the ZT for the Gen5.
- I then quit both copies of ZT and unplugged both the S2 and Gen5 for no other reason than I wanted to quit while I was ahead at that point.
- I then plugged both sticks back in and started ZT for both. On the S2 ZT I clicked on the shift button in the top right window, on the Gen5 ZT I clicked on the learn button. After a few seconds a popup appeared stating that “No random data received, maybe radio was blocked.” I’ve no idea if this was a problem. At this point the S2 network role in the top right window was now “Secondary, OtherNetwork” and in the Gen 5 ZT it was listed as “RealPrimary, OtherNetwork”
At this point I had the new Gen 5 as the primary controller on the network with a node id of 42. My goal was to have a Gen 5 as node 1.
- In the Gen 5 ZT I selected the Gen 5 node in the top window (in my case node 42) and set it as SIS using the Set SUC/SIS button (looks a bit like a trident, a yellow blob at the bottom with three smaller blue blobs radiating upward), this resulted in the Network Role being set to “SUC, RealPrimary, SIS, NodeIDServerPresent, OtherNetwork”.
At this point I wanted to plug the Gen 5 into my ESXi box and see if it worked (knowing that the minimotes wouldn’t work because the Gen5 wasn’t node 1), I plugged it into the USB3 hub connected to the ESXi box, the same hub that the S2 was plugged into and… it didn’t appear as a device that could be added to the OpenHAB VM. After much unplugging and plugging, rebooting and headscratching I plugged it into the USB2 hub and it appeared straight away! Bizarre!
I’ve run out of time tonight. If I get time tomorrow I’m going to attempt the final steps which will be to flag node 1 (the old S2) as failed and do a replace failed with the second Gen5, then shift from the first Gen5 to the second Gen5 as Scott described above.
(Then all I’ve got to do is somehow configure the Ubuntu VM that’s running OpenHAB to give persistent names to my USB devices. Some times the Gen5 is ttyACM0, sometimes it’s ttyACM1, but that’s another story…)