# Heimdall - Let Homey watch over your home

**URL:** <https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134>\
**Category:** Apps\
**Tags:** app, official, security, homey-pro:mini:shs, heimdall\
**Created:** [August 22, 2018, 1:41pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134 "2018-08-22T13:41:20Z")\
**Posts on this page:** 20\
**Page:** 38

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 6, 2020, 6:05pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/754 "2020-03-06T18:05:39Z")

</div>

I can’t comment on why a flow trigger cards isn’t triggered (as it seems) that’s something only Athom would be able to answer.  
A work around could be to use the **Start a Flow** in the _Then…_ column of the first flow and the **This Flow is started** in the _When…_ column of the second flow. (Standard Homey cards)

---

<div class="post-metadata">

**Author:** ![Hannes85](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@Hannes85](https://community.homey.app/u/Hannes85)\
**Post date:** [March 6, 2020, 6:12pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/755 "2020-03-06T18:12:16Z")

</div>

Thank you Danee, I’ll see what Athom can do here.

---

<div class="post-metadata">

**Author:** ![phil01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil01/32/14658_2.png) [@phil01](https://community.homey.app/u/phil01)\
**Post date:** [March 9, 2020, 10:13am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/756 "2020-03-09T10:13:09Z")

</div>

Hi DaneedeKruyff

Yes I use flows, please seen the screenshots.  
[  
 ](https://community.homey.app/u/daneedekruyff)

 ![Capture 1.JPG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/1/e10f659a86b0c7cce618b077967da00f3172abd9.jpeg)

 ![Capture 2 bis.JPG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/efe2223168dee81651929e1e11b2f1271d219303.jpeg)

![Capture 2.JPG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/e/6e100c1fbbc091e5f40707328d7564a33e375997.jpeg)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 9, 2020, 2:38pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/757 "2020-03-09T14:38:52Z")

</div>

Ok, I can’t really make out 100% what you are doing, (I would also like to see how you set the **Surveillance Mode** ) but I would suggest to stop using the Virtual Devices. _ **Heimdall** _ has all the flow cards you need builtin, adding more cards just overcomplicates it.

The card you are looking for is **The alarm is activated** (L’alarme est activée.)

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/4/e4fbf09214934c6fbb86eba82c93a8083a9c31fa.jpeg)  
This is the most basic form.

You can off course add a condition on what **Surveillance Mode** is active:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2ac8b349a6a4b30454e1266453192239e2412ccb.jpeg)  
(The **The alarm is activated** card will only by triggered when the **Surveillance Mode** is **Armed** or **Partially Armed** so when the condition is false the mode will have to be **Partially Armed** )

Why did you add the Virtual Devices? Was there something missing in _ **Heimdall** _ or did you run into a problem you wanted to fix?

---

<div class="post-metadata">

**Author:** ![phil01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil01/32/14658_2.png) [@phil01](https://community.homey.app/u/phil01)\
**Post date:** [March 9, 2020, 4:15pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/758 "2020-03-09T16:15:04Z")

</div>

Please seen new flow, it’s OK?

 ![image.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed3a5a0c0ee24db7fa6e0fbe79b17b42e989bb05.png)

---

<div class="post-metadata">

**Author:** ![Hannes85](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@Hannes85](https://community.homey.app/u/Hannes85)\
**Post date:** [March 10, 2020, 10:01am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/759 "2020-03-10T10:01:26Z")

</div>

Any chance we can disable the pre-arm check for door/window sensors? I cannot seem to change that specific slider…

It keeps on saying that the devices haven’t responded in 24 hours on arming but the devices are actually responding and update every X minutes;

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

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

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 10, 2020, 1:28pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/760 "2020-03-10T13:28:59Z")

</div>

Yes, that should do. When also using **Partially Armed** as **Surveillance Mode** you would also need a flow for that one situation too. There is no need have the **Surveillance Mode** as a condition unless you want specific actions per **Surveillance Modes**.

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 10, 2020, 1:37pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/761 "2020-03-10T13:37:27Z")

</div>

No, the **Pre-Arming check** is for detecting if, for example, a door or window is open when setting the **Surveillance Mode** , it has nothing to do with the reporting of sensors that haven’t communicated recently.  
The check for the last communication is a different check and will always write to the log in the **Dashboard**. Unfortunately the last communication time is not always right when retrieved from you Homey, I’ve filled a bug report for this at Athom but it hasn’t been resolved yet. Most of the time stopping and restarting _ **Heimdall** _ will fix it. (Unfortunately until the bug surface again.)

---

<div class="post-metadata">

**Author:** ![phil01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil01/32/14658_2.png) [@phil01](https://community.homey.app/u/phil01)\
**Post date:** [March 12, 2020, 12:26pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/762 "2020-03-12T12:26:25Z")

</div>

Hi,

I did a test yesterday with this flow and it does not work, because I do not have an on / off button for the alarm. I am sorry but I am really lost with Heimdall

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 12, 2020, 2:22pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/763 "2020-03-12T14:22:54Z")

</div>

Ah, ok, I think that’s the problem. _You_ do not set the **Alarm (State)** On or Off, that is something _ **Heimdall** _ will do.  
You have to set the **Surveillance Mode** to either **Armed** or **Disarmed**. If in any **(Partially) Armed**  **Surveillance Mode** a sensor (door/window or motion) is activated _ **Heimdall** _ will activate the **Alarm State**.

It is essential to follow the instructions in the opening post of this topic:

1. [Select the devices to monitor on the settings page.](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--step1)
2. [Add a Surveillance Mode Switch.](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--step2)
3. [Add flows to activate and deactivate the desired Surveillance Mode.](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--step3)
4. [Add a flow with the desired actions when the alarm is triggered.](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--step4)
5. [Add a flow to deactivate the alarm.](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--step5)

Did you perform these steps? If not, which step do you need help with?

---

<div class="post-metadata">

**Author:** ![phil01](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil01/32/14658_2.png) [@phil01](https://community.homey.app/u/phil01)\
**Post date:** [March 12, 2020, 3:25pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/764 "2020-03-12T15:25:13Z")

</div>

I have alarm and surveillance switch  
this flow without And…

 ![image.png](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/d/ed3a5a0c0ee24db7fa6e0fbe79b17b42e989bb05.png)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 12, 2020, 4:04pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/765 "2020-03-12T16:04:56Z")

</div>

And did you configure the devices to monitor in the apps settings pages?

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [March 12, 2020, 8:52pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/766 "2020-03-12T20:52:47Z")

</div>

Hi Danee,

Since March 10 and 11, I no longer see 3 sensors in my dashboard. Before that they worked perfectly. The utility room, room sensor and toilet are no longer seen in Heimdall and no logs are made in the dashboard. They are recognized in Homey with devices, but no longer in the log with Heimdall. However, they are in heimdall devices (see example) What is wrong or what am I doing wrong. I have not changed anything at all in these settings.

 ![Screenshot_20200312-213036_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/4/249e4cfed60a0471c61f28825ff0e67304a163d5.jpeg) ![Screenshot_20200312-213117_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/8/a8c0e0de6096e47fede5b84a924df4c65e75ca15.jpeg) ![Screenshot_20200312-214542_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/ae69cd6d87f8009c6b5bf8125b22619aab9645c4.jpeg)

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [March 12, 2020, 10:19pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/767 "2020-03-12T22:19:38Z")

</div>

Hi Danee,

I have found the problem. I restart the heimdall app and now it’s working again.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [March 13, 2020, 9:52am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/768 "2020-03-13T09:52:34Z")

</div>

Hi Danee,

I thought that this was the problem but i have noticed that when my Homey night’s restart then i have this problem and when i restart heimdall after this then is everything normal.

---

<div class="post-metadata">

**Author:** ![Arvlux](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvlux/32/16390_2.png) [@Arvlux](https://community.homey.app/u/Arvlux)\
**Post date:** [March 13, 2020, 11:40am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/769 "2020-03-13T11:40:20Z")

</div>

> [@Ben](#):
>
> en i restart heimdall after this then is

@Ben,  
I noticed similar issues after Homey automatic updates, the sensor measurements being not updated accurately in Heimdall anymore, same when you power off/power on Homey. I would recommend restarting Heimdall systematically or find a way to restart Heimdall automatically after updates after a quite long delay, the time for Homey to reconnect all its zigbee sensors (could take 10 mn…)

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 13, 2020, 3:18pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/770 "2020-03-13T15:18:56Z")

</div>

Devices not ready at _ **Heimdall** _ startup can indeed be a problem.  
In Homey v2.0 the way devices behave changed and me and other developers have asked Athom for an event to be emitted when a device comes in ready state so we can act on that but Athom decided to not add such event.  
So now we have to poll devices that are not (yet) ready when an app starts. As this puts a load on your Homey I’ve initially limited this to 5 seconds (max) per device and that worked out well at that time. Unfortunately with Homey firmware updates after that the initialisation of devices became slower and slower and I made _ **Heimdall** _ now wait for every device that is not ready for 12 seconds (max).  
Some time ago Athom introduced a firmware update that introduce huge delays in Zigbee getting initialised, with waiting times up to 20 minutes(!)  
I’m sorry, but I can’t delay _ **Heimdall** _ that long at startup without causing other problems.

Please address this at Athom, firstly daily reboots for a Home Automation system should not be needed, secondly initialising a core functionality of a Home Automation system should not take longer that a couple of seconds!

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [March 13, 2020, 4:05pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/771 "2020-03-13T16:05:37Z")

</div>

Hi Danee,

I also reported this to Boaz from support desk and got this back in response.

_I suspect this is a Heimdall thing, so I can’t help you with this._

_You could possibly create a flow that restarts the Heimdall app itself a second time about half an hour after the overnight reboot, that should be able to fix the problem, but I think for a permanent solution you should contact the developer of this app to be._

_If the developer has a good foundation for why the problem is on our side, I would like to hear it!_

---

<div class="post-metadata">

**Author:** ![DaneedeKruyff](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/daneedekruyff/32/964_2.png) [@DaneedeKruyff](https://community.homey.app/u/DaneedeKruyff)\
**Post date:** [March 14, 2020, 9:33am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/772 "2020-03-14T09:33:07Z")

</div>

Well, I admire Boaz’s eagerness, I applaud him for it, but this has already been discussed extensively with @Emile by more knowledgable developers and me but he didn’t wan’t to listen to our concern and told us to just poll the devices until devices become ready.  
And as it is now with how Athom and specificaly @Emile is treating me and other community developers I will not put any more time in it.

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ben/32/12538_2.png) [@Ben](https://community.homey.app/u/Ben)\
**Post date:** [March 14, 2020, 10:16am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/773 "2020-03-14T10:16:31Z")

</div>

Thanks for your answer it’s clearly for me now and know where i put the question and i will send your message to Boaz.Thanks again.

[Previous page](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134.md?page=37)

[Next page](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134.md?page=39)
