Nice Relay.
This is probably what the IOT uses.
Would be a safe bet as far as keeping the Arduino safe as its opto isolated.
Thanks for posting this. I want to build something someday that looks like the X-Controller to control the dust collection and Dewalt.
Just remember that you need to use the correct parts.
mains power is no joke It not only can kill but it can cause fires and do a lot of damage.
I did some research and posted my findings here: