DIY Smart Switch - Part 1 how to use a relay