And if I’m following what you were trying to do, you don’t want to manually include it back to smartthings: That would cause exactly the result that you saw, which is that it would be given an entirely new device ID.
Instead, once you’re finished working with the device on the other network, you should only use the “replace” utility to bring it back. Not add a device.
Here’s how the Z wave replace works.
Say you have device 10 which is the sensor. Don’t do anything with it on smartthings.
Use a different Z wave controller which is not on your smartthings network. This is very important. If you have added the other Z wave controller to smartthings as a secondary, you are not going to get the results you want. It has to be acting as a standalone separate zwave network.
-
Take the sensor over next to the other Z wave controller and issue a general exclude from that controller And do whatever physical manipulation is required on the sensor to get it to accept it.
-
Then add it to the other controller, update the firmware, and exclude it again from that controller.
Now from a network point of view it’s the same as if the sensor had broken and you bought a new one to replace it.
We do not want the new sensor to get its own ID. Instead, we want smartthings to reuse the old device ID for this “new” device. That’s what “replace” means in this context.
-
So now, issue the “replace” command from smartthings Using the old device ID.
-
Smartthings will first attempt to contact the “old” device. It won’t get a response, because you cleared the ID information out of the sensor when you had it on the other network.
So it will then automatically use that old ID for whatever the next zwave device is that gets added to the network. So the hub will automatically issue its own include command at this point. Note that you never use the “add a device” option yourself to get it back to smartthings – – that would give it the wrong ID. You just wait for the hub to issue it on its own as part of the replace utility.
- Do whatever physical manipulation is required on the end device to get it to accept the include that the hub has issued as part of the replace.
At the end of all of that you will have a new device with the same device ID as the old device. Or in your case, you will have replaced the device with itself.
Unfortunately, if at anytime you excluded the device yourself from smartthings then smartthings will remove the device information from your account and the replace will not work.
This is also why there can be a problem if you try to exclude it from a device which is a secondary on your smartthings network.
You want to exclude it from a device on an entirely different zwave network precisely because that other controller will not tell smartthings that anything has been done.
Unfortunately, it sounds like it’s too late for this particular device, but at least you’ll know what happened.