In this post I’m going to describe the way I have configured my setup to automate my bedroom-lights. In this particular setup I use the following components,
The goal of the setup is to automate the lights so that they can be turned on in the morning, I imagine that if I wake up to a light instead of a buzzer I will be in a better mood and it will be easier for me to get up. The other goal is to be able to control the lights from my phone.