At the moment I've set some motions sensors connected to switches. When I walk in the room the lights gos on and after a certain time with no motions detected the light gos off. But at day time I want it to be disabled. The sun give's me plenty of light. I tried with IFTTT but that can't connect to the motions sensors.
If you know another way to do this please tell me.