# Ikea Lights - How to turn off in Homey when they are powered down

**URL:** <https://community.homey.app/t/ikea-lights-how-to-turn-off-in-homey-when-they-are-powered-down/62312>\
**Category:** Questions & Help\
**Tags:** zigbee, ikea\
**Created:** [April 4, 2022, 7:55am UTC](https://community.homey.app/t/ikea-lights-how-to-turn-off-in-homey-when-they-are-powered-down/62312 "2022-04-04T07:55:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marco\_Bannink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marco_bannink/32/33852_2.png) [@Marco\_Bannink](https://community.homey.app/u/Marco_Bannink)\
**Post date:** [April 4, 2022, 7:55am UTC](https://community.homey.app/t/ikea-lights-how-to-turn-off-in-homey-when-they-are-powered-down/62312/1 "2022-04-04T07:55:55Z")

</div>

I’ve replaced the light in our toilet with an Ikea bulb.

I thought to use this lamp as a trigger for our mechanical ventilation to turn temporary on a higher throughput. After X minutes the mechanical ventilation is returning to normal and the bulb is switched off.

There is only 1 obvious flaw in this plan 🙂 Homey doesn’t register when the power is cut to the lamp and it is not switching the lamp to off in the flow because it isn’t reachable.

Is there a way to turn off lights in homey which aren’t reachable?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 4, 2022, 8:07am UTC](https://community.homey.app/t/ikea-lights-how-to-turn-off-in-homey-when-they-are-powered-down/62312/2 "2022-04-04T08:07:06Z")

</div>

> [@Marco\_Bannink](#):
>
> Is there a way to turn off lights in homey which aren’t reachable?

You can’t really use a smart bulb as a switch like that (not only are smart bulbs not meant to be cut from power, it may also take quite some time before Homey actually knows that it’s unavailable _and_ it will mess up your Zigbee network).

If you want to detect if someone is using the toilet, use a regular light bulb and either a motion sensor or a light sensor (which will be triggered by someone turning on the light). Or keep the smart bulb and make sure the power can’t be cut (in which case you’d use a motion sensor to switch on the light automatically).

---

<div class="post-metadata">

**Author:** ![Marco\_Bannink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marco_bannink/32/33852_2.png) [@Marco\_Bannink](https://community.homey.app/u/Marco_Bannink)\
**Post date:** [April 13, 2022, 7:29pm UTC](https://community.homey.app/t/ikea-lights-how-to-turn-off-in-homey-when-they-are-powered-down/62312/3 "2022-04-13T19:29:53Z")

</div>

I knew it wasn’t ideal, but didn’t have a discrete motion/light sensor lying around.

Now a sensor is in place and the logic based on the light bulb is skipped 🙂
