Monoprice Dual Relay Module

This is the definitive way to get these things working, thanks to the original poster: