Start w/section 3 of the Ghost Removal post, focused on using HE built-in ghost removal steps, which work rather well on Z-WaveJS: