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

<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 16, 2020, 1:59am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/875 "2020-07-16T01:59:06Z")

</div>

Hi, please ignore my last post. I have it working now. Thanks for all your help.

---

<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 18, 2020, 9:59am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/876 "2020-07-18T09:59:50Z")

</div>

Hi, could you have another look at my post above please, the one I said to ignore. It still applies.  
The VD state did get set, but now I don’t know how. I haven’t been able to set the one for the gate, and I have been unable to reset the one for the garage door.

---

<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:** [July 18, 2020, 12:11pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/877 "2020-07-18T12:11:39Z")

</div>

Can you please show your complete flow, please use [https://flow.homey.app](https://flow.homey.app) with the [css fix](https://community.homey.app/t/homey-flow-for-web-three-column-view-css-customization/9765) so the flows are readable.

What may be wrong is that you are using the wrong card in the When… column, you say you use the Virtual Device there but that makes no sense. In the When… column you will have to use a card from your Fibaro device that gets triggerd when the Fibaro device senses something.

---

<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 20, 2020, 9:32am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/878 "2020-07-20T09:32:07Z")

</div>

OK, I managed to do that. Here it is.

 ![Screen Shot 2020-07-20 at 7.30.34 pm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f2075470b53d12a08ca9d8d588716d39b668c34.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:** [July 20, 2020, 10:24am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/879 "2020-07-20T10:24:29Z")

</div>

Thanks, The _When…_ column looks good to me, I guess you also have a flow triggered by **input 1 opened** , is that the case?

The problem is with the card in the _Then…_ column, it should look like this:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/f/1f8445c48567b9c53c89ea0a4d409d43d9834558.png)

**Important!** The text needs to be _typed_ into the fields, you can not use tags.  
What you are basically doing is giving the device a variable name ( **alarm\_contact** ) and its value ( **true** ).  
(My screenshot is from a contact sensor, if you use a motion sensor, the variable name is **alarm\_motion** )

---

<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 21, 2020, 12:20am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/880 "2020-07-21T00:20:41Z")

</div>

Fantastic, I have now got it working. Thank you.

One more question now it is working.

How can you get Heimdall to send an alert once you have left home to alarm you of any sensors which have been left in a triggered state. i.e. if I leave home and have left the garage door open can Heimdall give an alert to tell me the garage door has been left open?

Once I have done all this I should be able to delete all the flows I have set up to check each sensor and then send me a message if any of them have been left triggered or if they are triggered while i am away. Correct?

---

<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:** [July 21, 2020, 6:04am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/881 "2020-07-21T06:04:36Z")

</div>

Great, you’re welcome.

> [@Peter\_Bittner](#):
>
> How can you get Heimdall to send an alert once you have left home to alarm you of any sensors which have been left in a triggered state.

There is the **Pre Arming check** for that, see the [description](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134#heading--prearming) in the first post.

---

<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 21, 2020, 6:30am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/882 "2020-07-21T06:30:28Z")

</div>

OK, so I need to create a new flow for When Sensor active at arming? what goes in the then card?

What other flows might I need to complete the surveillance? so far I have.

 ![Screen Shot 2020-07-21 at 4.28.10 pm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/0/f067dfb465e727e28c960f13a639580e81b5169a.png) ![Screen Shot 2020-07-21 at 4.28.26 pm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/d/fd9e4d767d3bc14786dd6a27ffbb49a0942dff85.png) ![Screen Shot 2020-07-21 at 4.28.36 pm](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/9/3974452f325e9367aeedbe10f1ecf8e2e3bad3aa.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:** [July 21, 2020, 6:19pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/883 "2020-07-21T18:19:59Z")

</div>

You can use any card you like in the _Then…_ column, that’s up to you. I see you send messages to your mobile on arming and disarming, you can do the same with the **Pre Arming check**.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 21, 2020, 7:07pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/884 "2020-07-21T19:07:47Z")

</div>

I use Heimdall for quite some time now and it is awesome!  
Just one thing that I am (probably doing wrong and) not able to figure out:

My presence detection is sometime a few seconds later up to date than the acual stepping in the front door.  
Of course I have set a delay of 5 seconds and have checked “delay” at this sensor. See below:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/9/e9f3b1dcbe865797715841afd490670905543207.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/5/b5e8a8aaa693b9086c626f776c43978edd813685.jpeg)

Still, when I enter the front door (sensor is triggered) but I am not marked at home by presence detection (which disarms Heimdall of course) I immediately get an alarm…

What am I doing wrong or forgetting to configure?

---

<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:** [July 22, 2020, 6:19am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/885 "2020-07-22T06:19:29Z")

</div>

Hi @Henk_Renting,

I’m not sure what’s happening in which order, can you have a look at the dashboard in the developer tools? ( [https://developer.athom.com/tools/app-settings](https://developer.athom.com/tools/app-settings)) I suggest using this [css fix](https://community.homey.app/t/homey-flow-for-web-three-column-view-css-customization/9765/2) to make the log on the dashboard readable.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 22, 2020, 7:50am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/886 "2020-07-22T07:50:46Z")

</div>

Thx for your reply, @DaneedeKruyff!  
What css fix are you referring to? Sorry, I did not fully understand what you mean.

Will definitely post the log here when I get an alarm again when entering. Good suggestion; should have thought of that earlier… 🙂

Another question:  
Can I exclude sensors/devices someway? I use Aqara sensors for doorbell notifications and because they are actually doorsensors, they show up in Heimdall.  
And I also see other devices being checked, like Ikea light bulbs and Aqara temperature sensors…?

---

<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:** [July 22, 2020, 9:51am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/887 "2020-07-22T09:51:52Z")

</div>

Oops, forgot to include the link to the [css fix,](https://community.homey.app/t/homey-flow-for-web-three-column-view-css-customization/9765/2) included it now (and also here)

It is not possible to exclude devices from the device overview if they have any of the capabilities that are monitored (_alarm\_contact_, _alarm\_motion_, _alarm\_tamper_, _alarm\_vibration_).  
Also, only devices that have any of those capabilities should be shown, I can’t see how light bulbs and/or temperature sensors would show. Can you provide a screenshot where you see them?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 22, 2020, 10:30am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/888 "2020-07-22T10:30:49Z")

</div>

Thx for the link, that really improves the settings site! As does the flow site, etc…!

See below:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/12b6d550dd6e1c60e84efb26d65efa8f1fcfc5eb.png)  
Light bulbs and signal repeater are Ikea  
Climate/weather sensors and WCD (relay) are Aqara

---

<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:** [July 22, 2020, 11:19am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/889 "2020-07-22T11:19:24Z")

</div>

👍 If only Athom would recognize a simple css change would make those sites so much more useful…

But anyway, I’ll have to look into that. I think this is because _ **Heimdall** _ started faster than your Zigbee was available after a reboot, I think that when you scroll down in the log you’ll find some entries showing that the devices mentioned here weren’t available when _ **Heimdall** _ started.

To make sure _ **Heimdall** _ can use these devices after they become available a check is performed at every change of the **Surveillance Mode** where it cycles to previously unavailable devices and rechecks their availability. When they are available they are removed from the unavailable list, added in _ **Heimdalls** _ monitoring and a line is written to the log.

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 22, 2020, 11:34am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/890 "2020-07-22T11:34:10Z")

</div>

> [@DaneedeKruyff](#):
>
> _ **Heimdall** _ started faster than your Zigbee was available after a reboot, I think that when you scroll down in the log you’ll find some entries showing that the devices mentioned here weren’t available when _ **Heimdall** _ started.

Exactly true!

> [@DaneedeKruyff](#):
>
> To make sure _ **Heimdall** _ can use these devices

But Heimdall does not do anything with devices like light bulbs, signal repeaters and climate sensors, so why checking them?

Perhaps I do nog get exactly what you mean… 🙂

---

<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:** [July 22, 2020, 2:43pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/891 "2020-07-22T14:43:45Z")

</div>

> [@Henk\_Renting](#):
>
> But Heimdall does not do anything with devices like light bulbs, signal repeaters and climate sensors, so why checking them?

Well, the thing is, Homey reports the devices at _ **Heimdalls** _ start, but when a devices status is **not ready** it doesn’t report the device type or capabilities.

To not leave _ **Heimdall** _ hanging while Zigbee becomes ready (which can take some time) it moves to the next device after some time. It saves the **not ready** device in a list and when the _Device Ready Check_ is performed it re-checks the devices in that list.  
When the device is ready at that time it is included in monitoring (when it has the right capabilities) and removed from the list. To be complete a line is written to the log the device became available.  
So, that’s all _ **Heimdall** _ does with those devices, I could remove the logging of devices that became ready and are of no use to _ **Heimdall** _ but that could raise other questions.

Hope it makes sense now 🙂

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [July 22, 2020, 2:46pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/892 "2020-07-22T14:46:37Z")

</div>

Yeah, it does!  
Thanks!

---

<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, 1:00pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/893 "2020-07-27T13:00:05Z")

</div>

> [@Hannes85](#):
>
> For anyone that has no geofencing in the house I use “guest mode” virtual device button in HomeKit. This makes sure that the alarm is not enabled when no house members are at home but a guest is. Also, when guests are sleeping downstairs it doesn’t open the curtains in the morning when the button is active or starts vacuuming downstairs at the 2AM Schedule . As soon as the guests leave, I disable the “guests” mode and everything returns to normal.

Interesting. Care to elaborate on how you set this guest mode up? Is it a flow in Homey or something in HK?

---

<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:** [July 27, 2020, 2:20pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/894 "2020-07-27T14:20:20Z")

</div>

It is a virtual button that you can create through either the experimental “virtual devices” option or the App called; “virtual devices” (which I use). I created it as a a simple “on” “off” button that allows me to use the status in other flows;

“If everyone left home” AND; “guest mode is NOT on”  
Then “enable the alarm”.

I published the button through the Homeykit App and so I can enable/disable it with the help of apple HomeKit/Siri

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

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