# Homey restart and power loss switches off z wave switch

**URL:** <https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330>\
**Category:** Questions & Help\
**Created:** [July 11, 2021, 3:08pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330 "2021-07-11T15:08:43Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [July 11, 2021, 3:08pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/1 "2021-07-11T15:08:43Z")

</div>

Hi,

When Homey restarts, either nightly from a flow, or when power is lost, my Aeotec Smart Switch turns off and does not power on again. Is there any way to not trigger this behaviour?

I have the always on configuration set to yes.

---

<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:** [July 11, 2021, 5:24pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/2 "2021-07-11T17:24:16Z")

</div>

Can you discover _what_ switches it off, at the device timeline?

Maybe you alr know, but as workaround you could switch it on after Homey started.  
Something like this:

---

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [July 11, 2021, 6:18pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/3 "2021-07-11T18:18:02Z")

</div>

Hi,

Yes, as mentioned it is the restart of Homey that triggers it. A restart is not really a good solution since it powers a computer 🙂

---

<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:** [July 11, 2021, 6:38pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/4 "2021-07-11T18:38:17Z")

</div>

I did not say you should restart Homey.  
You said the plug switches off when Homey restarts.  
So my flow starts at that exact point, and switches the plug back on.

I’ve no solution why the plug gets switched off.  
Did you check out the devices’ timeline alr?  
Maybe it shows what switches the plug off.  
This I mean:

 ![Screenshot_20210711-203617_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/3/b37841dfd39d0c1d3e56208ae3c6ce9f615ea39a.jpeg)

---

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [July 11, 2021, 6:52pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/5 "2021-07-11T18:52:19Z")

</div>

Aha, cool. I meant that switching it on again will still result in a restart (of the computer).

It seems like it is the Aeotec app that turns it off. It does happen whenever Homey is restarted though.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/0/e0ec42e878f1376bf2e89b9b44b08868a3cec9a2.jpeg)

---

<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:** [July 12, 2021, 1:29am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/6 "2021-07-12T01:29:52Z")

</div>

Then I think Aeotec only can help you out.  
The app page refers to:

> **[Aeotec support](https://aeotec.com/support/)**
>
> Support for Aeotec Zigbee and Z-Wave products.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 12, 2021, 10:09am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/7 "2021-07-12T10:09:21Z")

</div>

> [@bMi](#):
>
> , or when power is lost

In advanced settings, you also can set Status Restore after power down.

---

<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:** [July 12, 2021, 10:34am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/8 "2021-07-12T10:34:42Z")

</div>

I thought he did so, but isn’t this the same?

> [@bMi](#):
>
> I have the always on configuration set to yes.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [July 12, 2021, 10:42am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/9 "2021-07-12T10:42:06Z")

</div>

That is not the same, there are two different settings, see the first and the last row.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/3/834a656cca822caf75d92d6d2582b1ddd1362779.png)

Sorry for the Dutch language in the picture.

---

<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:** [July 12, 2021, 10:48am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/10 "2021-07-12T10:48:21Z")

</div>

Well, that setting should be the solution, Jan!

---

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [July 12, 2021, 11:05am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/11 "2021-07-12T11:05:07Z")

</div>

Thanks for the input. Somehow I fail to find the parameter (30) in the advanced settings. I do have the parameter (20) that controls the state of the switch after power comes back, but I believe that configuration is for a power outage of the switch itself.

My issue is that the switch powers off whenever Homey restarts. The switch itself never loses power, yet it turns off.

I have submitted a ticket to Aeotec, thanks for your help.

---

<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:** [July 12, 2021, 11:18am UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/12 "2021-07-12T11:18:03Z")

</div>

Nevermind. Btw, not a solution, but, why do you restart Homey at night? That shouldn’t be necessary. Most of the time only restarting ‘suspicious’ apps is enough.

---

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [July 12, 2021, 12:40pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/13 "2021-07-12T12:40:30Z")

</div>

I started to do a nightly restart from a tip on this forum. I cannot remember why though, so I have disabled that flow now.

I will post the solution if Aeotec support comes up with one.

---

<div class="post-metadata">

**Author:** ![tokreutz](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/tokreutz/32/35333_2.png) [@tokreutz](https://community.homey.app/u/tokreutz)\
**Post date:** [October 27, 2022, 1:02pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/14 "2022-10-27T13:02:27Z")

</div>

Any update on this? I have the exact same problem.

---

<div class="post-metadata">

**Author:** ![bMi](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bmi/32/16417_2.png) [@bMi](https://community.homey.app/u/bMi)\
**Post date:** [October 27, 2022, 5:48pm UTC](https://community.homey.app/t/homey-restart-and-power-loss-switches-off-z-wave-switch/49330/15 "2022-10-27T17:48:07Z")

</div>

Hi,

I think this behavior stopped once I removed and re-added the switch. Haven’t had the issue for quite a while.
