# 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:** 29

<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:** [September 27, 2019, 2:17pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/569 "2019-09-27T14:17:47Z")

</div>

It looks ok to me but if it isn’t working there are some steps to try where is goes wrong.  
First make the flow as simple as possible; remove the condition (And…) and replace the Telegram card with a inbuild notification card and test that. If that test is succesfull try adding the other cards to see where it goes wrong.

---

<div class="post-metadata">

**Author:** ![Dave\_Meijer1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dave_meijer1/32/12661_2.png) [@Dave\_Meijer1](https://community.homey.app/u/Dave_Meijer1)\
**Post date:** [September 29, 2019, 10:26am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/570 "2019-09-29T10:26:21Z")

</div>

I tried what you suggested. The logical card is not working. Its a local tag… its not getting the word Geopend. What tag can i use

---

<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:** [September 29, 2019, 10:46am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/571 "2019-09-29T10:46:03Z")

</div>

The local tag is the one to use. What message does it show in the notification? With what type of sensor are you testing this?

---

<div class="post-metadata">

**Author:** ![Dave\_Meijer1](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dave_meijer1/32/12661_2.png) [@Dave\_Meijer1](https://community.homey.app/u/Dave_Meijer1)\
**Post date:** [September 29, 2019, 12:26pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/572 "2019-09-29T12:26:05Z")

</div>

Now I have I like this.

 ![02](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6f0d0a66061db30ebfeb8e2bede67c0474c10323.png)

I want to check my window/door sensor (Neo Coolcam)

In de Heimdall app I also checked this option ![48](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/1529f0eb1de3e8d28b2614a1b23021c0fe947c86.png)

It checks on partial alarm and full alarm right ?

---

<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:** [September 29, 2019, 1:38pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/573 "2019-09-29T13:38:37Z")

</div>

What does the notification say when you use this flow

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/622078bddf8c746d7980532de961a0ba4fa69783.jpeg)

The **Pre-Arming Check** (Inschakelcontrole) setting is ok, the check will be performed when selecting either the **Armed** or **Partially Armed**  **Surveillance Mode**

---

<div class="post-metadata">

**Author:** ![Cuflee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuflee/32/12515_2.png) [@Cuflee](https://community.homey.app/u/Cuflee)\
**Post date:** [October 9, 2019, 7:31am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/574 "2019-10-09T07:31:03Z")

</div>

@DaneedeKruyff, sorry if this has been asked before, this topic is getting large 🙂. My Galaxy alarm had a “Looptest” feature and I was wondering if that could also be added to Heimdall. Upon activating this looptest mode it should simply fire an event with preferably the zone and sensor tag that activated.

That way we could set Heimdall to looptest mode, walk around the house, open and close door, windows, wave at motion detectors etc. and have Homey / Chromecast devices say “Sensor active in …” so you would have an easy way to test all sensors, without it triggering the alarm or needing to rewire the flows for this purpose.

Another question I have is about the 24 hour check for sensors. I have lots of sensors that don’t open, close or detect motion within 24 hours and they now all raise those alerts, but I actually want to use this to see if the sensors still function. I enabled the “wake up” interval on these sensors to wake up at least every 12 hours. I was hoping this would signal a “I’m still here” to Heimdall, indicating that the sensor is still “present”, but this does not seem to work. Would it be possible to take those wakeup events into account?

---

<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:** [October 9, 2019, 8:35am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/575 "2019-10-09T08:35:43Z")

</div>

Hi Arjan,

If I understand it correctly you’d like to arm the system to check all sensors without triggering the alarm? I think I can make that work, have to think how to implement that as the **Surveilance Mode** only has three possibilities. Think it has to be an additional switch in the settings to be able to use this. Will have to make sure _ **Heimdall** _ doesn’t remain in this mode for ever so it should revert to normal operation after some time…

**Heimdall** takes the last communication timestamp from the devices for that, however, when a device wakes up at its wake-up interval it will check it’s sensors but will only send a report to Homey when a value has crosses a threshold.  
This works well for temperatures and humidity, but will do nothing for a contact sensor or motion sensor, it will simple not send a report (to save battery) so the last communication timestamp will not change.

---

<div class="post-metadata">

**Author:** ![Cuflee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuflee/32/12515_2.png) [@Cuflee](https://community.homey.app/u/Cuflee)\
**Post date:** [October 9, 2019, 9:05am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/576 "2019-10-09T09:05:03Z")

</div>

Thanks, and yes, it is a separate test mode and it would make sense to have this “Testloop” added to the surveillance as you will not be testing sensors while the alarm is (partially) armed. It’s a bit like the event you already have that can trigger on sensors while the alarm is active. It simply raises each time a sensor is triggered. A new flow that is only active within this test mode would be great.

We could quickly test all sensors with that and I could also use it when I’m at home alone to be alerted as soon as anyone enters the house, without all the alarms firing.

Too bad that there is no better way to check the sensors. If they don’t notify Homey it will indeed be hard for Heimdall. That would make the looptest even more wanted, so we can do a periodic test our self 🙂

---

<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:** [October 9, 2019, 3:41pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/577 "2019-10-09T15:41:28Z")

</div>

Just realised _ **Heimdall** _ already offers functionality to check your sensors in realtime. Go to the apps settings, open the **Devices** tab and the **State** sub tab. Walk around the house, wave at the sensors and open the doors/windows and you’ll see their state change in realtime, even for sensors that are not included in any of the **Surveillance Modes**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/1/21fafbf5ece1a1f83ed41ca52cc43aabd93a627f.png)

---

<div class="post-metadata">

**Author:** ![Cuflee](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/cuflee/32/12515_2.png) [@Cuflee](https://community.homey.app/u/Cuflee)\
**Post date:** [October 9, 2019, 6:34pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/578 "2019-10-09T18:34:42Z")

</div>

Tnx, I knew of that and it is great, but it is not capable of triggering a flow. On a flow I could Google tts it to all of the speakers and that would be nice. But you are right, I could just as well walk around with my mobile and check the app while testing.

---

<div class="post-metadata">

**Author:** ![hluhr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hluhr/32/15371_2.png) [@hluhr](https://community.homey.app/u/hluhr)\
**Post date:** [October 9, 2019, 7:24pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/579 "2019-10-09T19:24:35Z")

</div>

@DaneedeKruyff, I have a problem with the Heimdall app that happens randomly. I hope that this is the right place to bring up this issue…  
I use a Popp keypad to arm and disarm and it works fine most of the times. However, sometimes (maybe once a week) this problem happens:

- The alarm countdown starts when a motion sensor is triggered when entering the main entrance
- I enter the correct code on the keypad
- The alarm is not disarmed and the countdown is still active
- The alarm is activated and the siren starts
- About 20 seconds later the alarm is disarmed - by the flow that I triggered 20 seconds earlier!

Dashboard:

 ![Screenshot_20191009-211308_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/a/9aa2d28f6359c95fe9004a74eb22839b7cfd856a.jpeg)

Seems like the disarm flow is delayed.  
Have you seen or heard about this problem before?  
If not, how can I troubleshoot this issue?  
Can the problem be the Heimdall app or the actual Homey?

---

<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:** [October 9, 2019, 7:50pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/580 "2019-10-09T19:50:43Z")

</div>

Hello Harald, This is the right place to discuss _ **Heimdall** _ 🙂

I have not seen any reports that the changing of the **Surveillance Mode** was delayed, it happens instantly on using the **Surveillance Mode Switch** or the flow card.

Can you post a screenshot of the flow you use to set the **Surveillance Mode** to **Disarmed**?  
How did you determine the flow actually fired 20 seconds earlier?  
How is the CPU usage on your Homey?  
How is the Memory usage on your Homey?

---

<div class="post-metadata">

**Author:** ![hluhr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hluhr/32/15371_2.png) [@hluhr](https://community.homey.app/u/hluhr)\
**Post date:** [October 9, 2019, 9:09pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/581 "2019-10-09T21:09:03Z")

</div>

Many thanks for the quick reply! 🙂

This my flow to set the Surveillance Mode to Disarmed:

 ![deactivate-alarm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/e/7ee3b0e70bb1359df7712ef60b3c905d3c11f281.png)

In the screenshot from my original post (I could not get the whole line in the screenshot) you can see:  
12:44:19.006 Armed Heimdall Alarm is activated.  
12:44:41.055 Disarmed Flowcard Surveillance mode is disarmed

So, about 22 seconds after the alarm is activated, it is disarmed. I entered the correct pincode during countdown of the alarm.

The CPU looks good. I didn’t check the CPU when the problem happended (will do that if the problem occurs again). At the moment the CPU is:  
Last minute: 37%  
Last 5 minutes: 23%  
Last 15 minutes: 14%

This is my current memory usage:

 ![20191009_230641%5B1%5D](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/c/1cc92832877e5a7391f7b5ff6ffd8814a1ff4b31.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:** [October 10, 2019, 7:04am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/582 "2019-10-10T07:04:39Z")

</div>

The flow looks ok. I don’t think the cause of the delay is in _ **Heimdall** _ or your flows, but somehow the disarming on the keypad is not processed in realtime in Homey. This can be because either the CPU is overloaded, too much memory in use or a delay in the Z-wave network.  
You can add a notification card to the flow to get a notification on when the flow is actually executed, I suggest using [Pushover](https://community.homey.app/t/pushover-notifications/15645) for that.

---

<div class="post-metadata">

**Author:** ![molensky](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/molensky/32/13037_2.png) [@molensky](https://community.homey.app/u/molensky)\
**Post date:** [October 10, 2019, 8:09am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/583 "2019-10-10T08:09:52Z")

</div>

> [@hluhr](#):
>
> I use a Popp keypad to arm and disarm … sometimes (maybe once a week) this problem happens …

I have the same keypad and experience the same behavior once in a while. I shrugged it of as Z-Wave (my keypad is at the edge of range). I’m considering replacing some KaKu devices between Homey & Popp to extend the reach. In the mean time I will also monitor CPU and memory when I see the same problem again. And add some additional logging.

FYI, I have a backup-flow, when I notice the countdown is still running (I have Heimdall call-out the delay timer), I can accept the push notification on my device.

 ![Heimdall_surveillance_disarm_backup](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/6/e6227273db5018ac62633ec56b873fffd91914ac.png)

---

<div class="post-metadata">

**Author:** ![hluhr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hluhr/32/15371_2.png) [@hluhr](https://community.homey.app/u/hluhr)\
**Post date:** [October 10, 2019, 2:25pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/584 "2019-10-10T14:25:06Z")

</div>

I was afraid that the problem was not related to the Heimdall app, thanks for confirming this.  
Also, many thanks for a great app and support!  
I will try out the Pushover app to see if I can find the cause of the problem.

---

<div class="post-metadata">

**Author:** ![hluhr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/hluhr/32/15371_2.png) [@hluhr](https://community.homey.app/u/hluhr)\
**Post date:** [October 10, 2019, 2:48pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/585 "2019-10-10T14:48:58Z")

</div>

It is always nice to hear that someone else has the same problem, even if it not solved yet. 🙂  
I just realized that the Popp keypad communicates directly to the Homey (5-6 metres between). Last time I checked, the Z-Wave path was “Popp keypad” -\> “Aeotec Siren” -\> “Homey”.  
I have about 2 metres between the Popp keypad and the Aeotec siren and less then 4 metres between the siren and Homey.  
Strange that it changed…???  
Can you please explain more in detail how you plan to monitor CPU and memory? I can not find these statistics in Insight. Also, how do you plan to get additional logging?  
Thanks for sharing you backup-flow. I guess I need to do something simular.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [October 13, 2019, 4:24pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/586 "2019-10-13T16:24:26Z")

</div>

How can I add the built in deactivate alarm button in a flow of the alarm goes on ?

Can find the button in the if colom ?

---

<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:** [October 13, 2019, 5:27pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/587 "2019-10-13T17:27:21Z")

</div>

Can you explain what you’re trying to do, I don’t understand your question.  
Most actions are done on _ **Heimdall** _ itself, so the flowcards can be found searching for _ **Heimdall** _. The **Surveillance Mode Switch** and **Alarm Off Button** have less functionality in flows and are primarily for use in the app.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [October 13, 2019, 5:43pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/588 "2019-10-13T17:43:00Z")

</div>

if the alarm goes off and I press the heimdall alarm button then the alarm does not go off. that’s not right. I use Chromecast for the siren

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

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