Z-Wave Stick Migration (via Z-Wave "Controller Shift" feature)

Excellent! I’ve looked into a backup file with a hex editor, but never had the nerve to save any changes! I hope you have a great Easter weekend too!

I was able following the Aeotec support instruction ot migrate the Z-Wave network from my old Veralite to an S2 stick, using their backup tool, so I think the backup tool is now compatible with the S2 stick.

1 Like

So for those of us with Linux systems (can’t use Zensys tools), is the following procedure still the only one available to us?

  1. Capture thing configuration information
  2. Exclude all devices
  3. Include all devices with Gen5 Zstick
  4. Plug in Gen5 Zstick to USB and assign to Node 1 (not sure how to do that)
  5. Re-enter configuration information for each thing (and item?)

I’ve seen Rule for deleting and rediscovering Things , though with only 13 devices, I’d rather not take the chance of really munging things up due to my limited OpenHab skills.

Domoticz and Open Zwave have controller shift functionality. OH currently does not.

That rule is totally different. It is for updating the Thing definitions after upgrading the zwave binding. Deleting Things is not the same as exclusion.

It is best to do the inclusion of devices using OH, while they are in their final location.

You can’t assign nodes on an Aeon gen5 zstick. The controller manages that all on its own.

With 13 devices, I suggest resetting the stick and starting fresh.

1 Like

I have built OpenZwave in the past, though it took a bit of tweaking at the code level for it to compile and build correctly, and I’d rather not have to go through that again. I’m running Deb 9 (Ubuntu 16.04) and there currently isn’t a package for anything above Deb 8 (which won’t load correctly). Don’t currently know Domoticz, and would rather not go through a learning curve for yet one more thing.

So to manually go from my S2 to a Gen5 Zstick, if I understand you correctly;

  1. Screenshot or in some other way (e.g., copy JSON file) capture all of the configuration information for the current set of things
  2. Take the S2 stick around and exclude all of the devices
  3. Plug the S2 stick back in, and then (?) to remove all devices/things from the JSON file
  4. Unplug the S2 and then plug the Gen5 Zstick in.
  5. Use Habmin or PaperUI to discover all of the devices
  6. Reconfig each thing per the information captured in step 1.

I’m not sure what you mean by resetting the stick and starting fresh, since the Gen5 Zstick is new.

Or the Gen5. Exclude is exclude.

No need to plug in the S2. The controller does not need to be in to delete Things. In Habmin> Configuration> Things, select a zwave Thing and press the Delete button. When done, you could also double check userdata//etc/zwave to make sure all of the zwave XMLs are deleted. Just delete anyXMLs that are left in there. Make sure to shut down OH when unplugging or plugging in a controller. The Gen5 could also come up on a new serial port, which you will need to configure it in OH.

I still like to reset the zstick when starting new, just in case. Hold the button for 20-30 seconds while unplugged.

Microsoft decided to force Fall Creators Update to my laptop and completely corrupted my Windows10. I’ve been using Fedora28 for a while now. I haven’t tried it yet, but it’s possible Zensys Tools would run under Wine. I’ll need it eventually, so will give it a shot later tonight.

1 Like

I have Zensys Tools running in Wine, but it is not finding the zstick. I’ve fiddled with the Wine registry for long enough that I don’t think it is possible, but maybe someone else could make it work.

That’s very similar to Wine experiences I’ve had in the past, as apps that required hardware control more often than not wouldn’t completely work as intended.

(For reference purposes, the manual procedure towards the end of this thread has been updated per Scott’s help)

To manually migrate from my older controller (AEON S2) to the newer one (AEON Gen5 Zstick);

  1. Take screenshots or in some other way (e.g., copy JSON files) capture all of the configuration information for the current set of things
  2. Take the (old or new) controller around and exclude all of the devices
  3. For each thing in Habmin> Configuration> Things, select the respective zwave Thing and press the Delete button
  4. Plug the Gen5 Zstick in, add it in PaperUI, and ensure it is set to the desired TTY port Z-Wave Serial Adapter setup
  5. Use Habmin or PaperUI to discover all of the devices
  6. Restore the configuration information captured in step 1
  7. Reconfig each thing per the information captured in step 1.

@chris669 I am trying to migrate from a S2 to S5 stick myself, but when I do a “Read Eeprom” on the S2 stick, it always fails with “Read Eeprom Error”.
You are referring to the backup software from Aeotec, right?

@higgers First off, thanks for posting the detailed instructions of your migration steps. I am also trying to migrate from an S2 to Gen 5 and are following them. All went well up until step 6. The shift button is disabled for me in the window showing the S2. Any idea what I should do to enable it?

Thanks in advance
Dave

Also worth noting that, on my Windows 10 laptop, the Zensys Tools application could not see my S2 stick. Windows device manager would show it as “CP2102 USB to UART Bridge Controller” and that it could not find a driver.

I had to manually install the driver from silabs.com. After that, quit Zensys Tools, unplugged/replugged the S2, restarted Zensys Tools and it could be seen.

hi, no, used z-wave PC controller, if you need the link and instructions can give you later

I would appreciate that, thanks!

Ok, I had a very good support from Aeotec, here’s the email they sent me. I followed all the steps and it worked for me.

There are 2 parts that you need to perform in this case:

First Pair Z-Stick as Secondary Controller to Vera gateway.

First, you will need to download the Zensys tool which can be found here: http://www.axialcontrol.com/zensys-tools.zip, in other cases you can use your current software to put the Z-Stick Gen5/S2/Lite into Learn mode. But for this case, we will be using the Zensys tool to do this:

1) Make sure that your Z-Stick has been factory reset. In the Zensys Tool

  • Highlight NodeID 1 which should be the Z-Stick
  • Click on the X under the “Controllers” tab

  1. Now put the Z-Stick into Learn Mode, and your Z-Stick should now be waiting to be included into a network
  • Highlight NodeID 1 (Static controller)
  • Click on the Thunderbolt

  1. Now go to your gateway and put it into inclusion mode. As an example, the Vera gateway was used to pair the Z-Stick Gen5.

Your Z-Stick should now be included into your network as a secondary controller, and will populate all of the devices in your network.

Perform a network shift using Vera gateway:

This part i have just tried and was not able to make it work for some reason, but these would be the steps (I assume Vera Shift was previously Controller Shift so you may need to contact Vera if there is another method if this does not work for you).

  1. Now put the Z-Stick into Learn Mode, and your Z-Stick should now be waiting for a “Controller Shift” command to be primary.
  • Highlight NodeID 1 (Static controller)
  • Click on the Thunderbolt

  1. (In Vera interface) Go to Settings -> Z-Wave Settings -> Advanced

  2. Click on Vera Shift (previously Controller Shift) which should move forward with changing Z-Stick to primary controller.

If this doesn’t work, I can only suggest reaching out to Vera support to see if there is another method or button available for the “Vera Shift” function.

2 Likes