[OBSOLETE] Enerwave ZWN-RSM2 (v1 & v2) & RSM2-Plus —Smart Dual Relay Switch Module

Refer to this post and go down to around post #118. You will find the step for changing the parameters.

As for losing connection because of metal gangbox. You can try sticking the little antenna out of the metal box.