Automation of lights and roller blinds