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

<div class="post-metadata">

**Author:** ![a\_hog](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/a_hog/32/16439_2.png) [@a\_hog](https://community.homey.app/u/a_hog)\
**Post date:** [July 27, 2020, 3:18pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/895 "2020-07-27T15:18:26Z")

</div>

Thanks! Simple and elegant.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 29, 2020, 4:26am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/896 "2020-07-29T04:26:21Z")

</div>

I had the monitoring of the garage door and gates all working with the pre-arming check. However I had set up the VD’s as motion sensors rather than door sensors so I decided to change that. Now the state of the “alarm\_contact” is still getting set properly, and Heimdall can see that it has been triggered but I get no pre arming alert when left triggered when I leave home. Here are what I think are the relevant screen shots to demonstrate.

 ![Screen Shot 2020-07-29 at 2.14.51 pm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/6/0651473d2f6054bbd541333235780b0facc85007.png) ![IMG_2198](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/2/72b4e42f4a88621e366c48163a0646f8d76d32de.png) ![IMG_2199](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/c/8c36019bac0b1996bba5bab69546f567445cafc5.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [July 31, 2020, 11:49pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/897 "2020-07-31T23:49:11Z")

</div>

@DaneedeKruyff could you have a look at this for me please. I have tried re-doing it but it still doesnt report. It’s weird, Heimdall can see the device is triggered (see pic 3) yet it still wont report when surveillance is set. Other devices, such as the front door still report.

---

<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:** [August 1, 2020, 6:07am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/898 "2020-08-01T06:07:17Z")

</div>

Hi @Peter_Bittner, I completely missed your previous post, sorry.  
In fact, the check for open motion and contact sensors is one and the same so there should be no difference there.  
Could you disable the **Only when a Surveillance mode is active** setting and do some testing: Have motion sensors active and doors/windows open when changing the **Surveillance Mode**.  
After that, have a look in the log on the **Dashboard** and post a screenshot here.  
(On a computer at the [developer pages](https://developer.athom.com/tools/app-settings) after using the [css](https://community.homey.app/t/homey-flow-for-web-three-column-view-css-customization/9765/2) fix.)

---

<div class="post-metadata">

**Author:** ![Peter\_de\_Vos](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_de_vos/32/151925_2.png) [@Peter\_de\_Vos](https://community.homey.app/u/Peter_de_Vos)\
**Post date:** [August 1, 2020, 7:11am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/899 "2020-08-01T07:11:45Z")

</div>

For switching the alarm off i use the life 360 app with a circle round my house for about 350 meters.

---

<div class="post-metadata">

**Author:** ![Peter\_Bittner](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_bittner/32/16698_2.png) [@Peter\_Bittner](https://community.homey.app/u/Peter_Bittner)\
**Post date:** [August 2, 2020, 5:00am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/900 "2020-08-02T05:00:13Z")

</div>

Hi, I found the issue. I was only looking at “Devices/State”. I then noticed “Devices/Settings” and when I looked at the sensors in question they didn’t have “full” set. I assume that with “log” set they write to the log but don’t send a message. Anyway, have changed them to full and they now work as before.  
Thanks.

---

<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:** [August 2, 2020, 7:02am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/901 "2020-08-02T07:02:08Z")

</div>

Great, thanks for reporting.

---

<div class="post-metadata">

**Author:** ![RobvandeGoor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robvandegoor/32/20328_2.png) [@RobvandeGoor](https://community.homey.app/u/RobvandeGoor)\
**Post date:** [August 5, 2020, 8:21am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/902 "2020-08-05T08:21:59Z")

</div>

Hi @DaneedeKruyff,

Before I want to arm the alarm, I want to check if all doors and windows are closed.  
Therefore I made 2 flows and are activated by pressing a button.

 ![flow1](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/0/409f384e4acc7078d759be735cf351f46071df3d.png)

 ![flow2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/2/c29817ae2ffada3d96651d48f1adc500d8cf8650.png)

The flow works fine when a door or window is open. But when everything is closed, the tag Status is empty. In that case the else in the flow is not working. Any idea what variable is used in the tag status when everything is closed?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [August 5, 2020, 9:39am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/903 "2020-08-05T09:39:41Z")

</div>

Why not remove the “status” tag in the ELSE part ?

---

<div class="post-metadata">

**Author:** ![RobvandeGoor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robvandegoor/32/20328_2.png) [@RobvandeGoor](https://community.homey.app/u/RobvandeGoor)\
**Post date:** [August 5, 2020, 10:03am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/904 "2020-08-05T10:03:26Z")

</div>

The tag in the else part should not be there. The reason to put it in was to listen of a different name was uses then “Open”.  
As far as I understand the status tag is “Open” or " " (blanc).

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [August 5, 2020, 10:33am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/905 "2020-08-05T10:33:00Z")

</div>

Strange… When the tag “status” is empty it does not has “open” in it so the ELSE part get executed… But that does not happen?

---

<div class="post-metadata">

**Author:** ![RobvandeGoor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robvandegoor/32/20328_2.png) [@RobvandeGoor](https://community.homey.app/u/RobvandeGoor)\
**Post date:** [August 5, 2020, 10:38am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/906 "2020-08-05T10:38:48Z")

</div>

That is correct. When I test the flow and add “Closed” as variable to the status, the flow works. But Heimdall is not adding this to the status then sensors are closed. It is Open or … ?

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [August 5, 2020, 10:48am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/907 "2020-08-05T10:48:55Z")

</div>

When you invert the AND cart en switch the THEN and ELSE part, is that work?

---

<div class="post-metadata">

**Author:** ![RobvandeGoor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robvandegoor/32/20328_2.png) [@RobvandeGoor](https://community.homey.app/u/RobvandeGoor)\
**Post date:** [August 5, 2020, 10:59am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/908 "2020-08-05T10:59:01Z")

</div>

I did. No difference. To make a section, you need 2 variables. A blanc one is not allowed. I hope somebody has an answer how to check te status of the sensors before I arm the alarm.

---

<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:** [August 5, 2020, 11:50am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/909 "2020-08-05T11:50:47Z")

</div>

The reason the else part of your flow isn’t executed when the **Status** tag is empty is because the entire flow is never executed when there are no sensors active when checking.

The **Sensor active at Status Check.** (Sensor actief bij status controle.) flow card is only triggered when there is a sensor actually active.  
There is no card that triggers when no sensors are active at the **Sensor Check**.

---

<div class="post-metadata">

**Author:** ![RobvandeGoor](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robvandegoor/32/20328_2.png) [@RobvandeGoor](https://community.homey.app/u/RobvandeGoor)\
**Post date:** [August 5, 2020, 12:45pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/910 "2020-08-05T12:45:22Z")

</div>

ok, clear. Thanks for the answer. In that case I have to find a different solution how to get a notification that all sensors are closed before I arm the alarm.  
I hoped there was also a status (closed) but this is not the case. Maybe in next updates of the app. 🙂

---

<div class="post-metadata">

**Author:** ![Rob\_Bruining](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rob_bruining/32/16757_2.png) [@Rob\_Bruining](https://community.homey.app/u/Rob_Bruining)\
**Post date:** [August 5, 2020, 1:45pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/911 "2020-08-05T13:45:23Z")

</div>

If you use the group app and create one device that has the open state if one device is open. Then you can check that device when arming.

---

<div class="post-metadata">

**Author:** ![Jan\_Willem\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jan_willem_visser/32/10747_2.png) [@Jan\_Willem\_Visser](https://community.homey.app/u/Jan_Willem_Visser)\
**Post date:** [August 5, 2020, 1:52pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/912 "2020-08-05T13:52:21Z")

</div>

I have a question, when i’m from home the alarmstatus is armed. When the vacuumcleaner starts i get alarms from the motion sensors in the livingroom and kitchen. Is it posible to deactivate these sensors with a flow and activate them again when the vacuumcleaner is back on his dock?

I have tried the card “remove device from armed mode” (in dutch “verwijder apparaat uit volledige toezichtmode”) Sadly this won’t work when the status is armed

---

<div class="post-metadata">

**Author:** ![Sondre](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sondre/32/16491_2.png) [@Sondre](https://community.homey.app/u/Sondre)\
**Post date:** [August 5, 2020, 2:54pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/913 "2020-08-05T14:54:17Z")

</div>

Does anyone else have issues with Heimdall suddenly not triggering alarms anymore? Most of the sensors still included are still showing activity in Homey but I just noticed that the last alarm triggered per Heimdall logs was half a month ago even though there have been people moving around in alarmed zones several time the last weeks.

---

<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:** [August 5, 2020, 5:47pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/914 "2020-08-05T17:47:12Z")

</div>

Hi @Jan_Willem_Visser,

It should work as you want it to, that use case is exactly the reason I added cards to remove and add devices from **Surveillance Modes**

I just did a test, this is the log:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/1/41706d274171c7e9d0908af4868416c9dc769965.png)

At first the **Alarm State** is activated by opening the _Front Door Sensor_, after canceling the **Alarm State** (I did not change the **Surveillance Mode** ) I ran a flow to remove the _Front Door Sensor_ and opened it again, see the log line 19:36:47.740

This is the flow I use to remove the sensor from the **Full Surveillance Mode**

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

Can you check your flow(s) and the log?  
Can you post a screenshot of your flow(s)  
Can you check the device is no longer part of a particular mode after running the flow (you will need to reload _ **Heimdalls** _ settings after removing a device).

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

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