It's a pretty straightforward setup made up of only four components: Raspberry Pi, lightbulb, relay, and switch. To control the light, you can pick from one of two modes. The digital mode is ...