How to automate second relay on ZWN-RSM2S

You should really go to this post and scroll down to around thread #180 for the step to config. The parameters of the relay for instant status update between the physical switch and ST app. Also the device handler and smartapp are in there as well.