The other day I had the following query regarding the Mains Switch Widget. "I am looking into a project involving my Raspberry Pi I wish to complete
which will allow me to automate the habitat of my Bearded Dragon's
vivarium including temperature control and lighting. I am in need of
some way to control the ON/OFF status of a few 240v devices which would
usually plug into a standard, UK power outlet." Well - below are a couple of ways of doing this.