# Default state for lights after power down

**URL:** <https://community.homey.app/t/default-state-for-lights-after-power-down/59279>\
**Category:** Tutorials\
**Created:** [January 27, 2022, 9:02pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279 "2022-01-27T21:02:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafal100](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rafal100/32/33964_2.png) [@rafal100](https://community.homey.app/u/rafal100)\
**Post date:** [January 27, 2022, 9:02pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/1 "2022-01-27T21:02:51Z")

</div>

Hi,  
Is it possible to set a default state for lights in Homey after power down? Everytime I have an outage, all my lights turn on when the power is back. Is it possible to somehowe define the default state as off?

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 27, 2022, 9:51pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/2 "2022-01-27T21:51:36Z")

</div>

Often it’s default behaviour of the lamps.  
I use this flow after power outages.  
It switches all lights off (twice, to be sure) when I’m not present / awake at that moment.

---

<div class="post-metadata">

**Author:** ![Cuprum](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuprum/32/41409_2.png) [@Cuprum](https://community.homey.app/u/Cuprum)\
**Post date:** [January 28, 2022, 6:51am UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/3 "2022-01-28T06:51:42Z")

</div>

> [@rafal100](#):
>
> default state for lights in Homey after power down?

Hmm, if there is no power - the lamps are off anyway 😉

But yeah - the “Homey has started” is good thing to use for some uncontrollable lamps. But initially i’d look into advanced parameters (_if_ there is any - You do not specified device type). In some cases there is possible to set parameter “how to act after power failure”.  
But yes - depends. For some stand alone connected lightbulbs the power on is the signale to switch on.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 28, 2022, 1:27pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/4 "2022-01-28T13:27:26Z")

</div>

> [@Cuprum](#):
>
> In some cases there is possible to set parameter “how to act after power failure”.

For smart plugs that ususally is possible.  
I think, the idea for lights to always turn on after power on, is you can operate lamps manually with their switches, in case the smart things are unavailable.  
It would be kind of strange if a lamp stays off when you power it on. At least, that’s imho.

---

<div class="post-metadata">

**Author:** ![Cuprum](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuprum/32/41409_2.png) [@Cuprum](https://community.homey.app/u/Cuprum)\
**Post date:** [January 28, 2022, 1:45pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/5 "2022-01-28T13:45:26Z")

</div>

> [@Peter\_Kawa](#):
>
> At least, that’s imho

Yes, actually i think on exactly same way 😉  
But, as in the initial question was not told, which kind of “lights” there are, and asked about how to “define default state” - then there may-be possibility or may not (and logically).

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [January 28, 2022, 2:31pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/6 "2022-01-28T14:31:55Z")

</div>

With Philips Hue lamps in combination with the “Philips Hue, without the bridge” app it is possible to set the behavior after a power failure. With Innr lamps e.g. it’s not possible.

So as @Cuprum already mentioned, it depends on the the lamps and probably also the app.

---

<div class="post-metadata">

**Author:** ![Mike1233](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mike1233/32/20991_2.png) [@Mike1233](https://community.homey.app/u/Mike1233)\
**Post date:** [January 28, 2022, 9:21pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/7 "2022-01-28T21:21:42Z")

</div>

Maybe you can try this app.  
[Zone Memory](https://homey.app/nl-nl/app/com.sdn.zone-memory/Zone-Memory/)  
Only Homey Pro.

---

<div class="post-metadata">

**Author:** ![Gabriel\_Pedrosa\_Mach](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gabriel_pedrosa_mach/32/176567_2.png) [@Gabriel\_Pedrosa\_Mach](https://community.homey.app/u/Gabriel_Pedrosa_Mach)\
**Post date:** [March 23, 2025, 8:11pm UTC](https://community.homey.app/t/default-state-for-lights-after-power-down/59279/8 "2025-03-23T20:11:02Z")

</div>

Switches that are previously configured in Tuya keep the PowerOnState status memorized.  
I have GLEDOPTO drivers running at 24v and I used a switch previously configured for powerOff. When activating the switch, it checks if this switch is off and turns it on if it is. This switch is connected to the power supply (127V).
