# Homeyscript lose varibles after reboot

**URL:** https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812
**Category:** Questions & Help
**Created:** [July 20, 2019, 1:23pm UTC](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812 "2019-07-20T13:23:15Z")
**Posts on this page:** 4
**Page:** 2

<div class="post-metadata">

### Author: ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)
#### Post date: [August 8, 2019, 8:46am UTC](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812/21 "2019-08-08T08:46:38Z")

</div>

Sorry, after updating and rebooting homey all my variables is gone…  
I run the script above manually then the variables come back.  
So it seems like it didnt run it as supposed after reboot

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/815e63eed56fe8f599b64b8d46a9ef2e9cae2982.jpeg)

---

<div class="post-metadata">

### Author: ![Osorkon](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/osorkon/32/43026_2.png) [@Osorkon](https://community.homey.app/u/Osorkon)
#### Post date: [August 8, 2019, 8:56am UTC](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812/22 "2019-08-08T08:56:43Z")

</div>

Did you try a delay in the action part!  
Maybe it’s take a time after reboot until everything is up.

---

<div class="post-metadata">

### Author: ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)
#### Post date: [August 8, 2019, 9:09am UTC](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812/23 "2019-08-08T09:09:50Z")

</div>

No I didnt. What can be a normal delay ? 30 seconds ?

---

<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: [August 8, 2019, 9:25am UTC](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812/24 "2019-08-08T09:25:13Z")

</div>

Also try adding a notification action card. If that notification is shown, you know that the flow ran but for some reason the script didn’t work. If the notification isn’t shown, it means the flow hasn’t run at all.

[Previous page](https://community.homey.app/t/homeyscript-lose-varibles-after-reboot/15812.md?page=1)
