When falling asleep is detected, turn off the Lights

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.
15 triggers, queries, and actions
Active Sleep is a service that uses a sleep sensor. That detects waking up, falling asleep, lying down, and abnormal respiratory rate. It can also determine your daily sleep score and inform you.
Philips Hue connected bulbs and bridge let you to take full control of your lighting. Whatever you want to do with your lighting, Hue can.