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

<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:** [December 5, 2020, 11:19pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/975 "2020-12-05T23:19:43Z")

</div>

Shouldn’t there be an easier way?  
Perhaps @DaneedeKruyff knows a way?

---

<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:** [December 9, 2020, 2:51pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/976 "2020-12-09T14:51:34Z")

</div>

Hi Henk, I just noticed this message, somehow I missed it earlier.

This is indeed the way it works, Homey will always send a push message when Send push is enabled for _ **Heimdall** _, if you want a more granular control you will have to disable that setting and create flows for the type of event you want to receive a push message for.

---

<div class="post-metadata">

**Author:** ![Jolink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jolink/32/3559_2.png) [@Jolink](https://community.homey.app/u/Jolink)\
**Post date:** [December 26, 2020, 7:09pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/977 "2020-12-26T19:09:47Z")

</div>

I was wondering if any of you encouterd the same need I have and how you solved it with _ **Heimdall** _ or in another way.  
When I enter my house when the alarm in _ **Heimdall** _ is armed, the alarm goes off (as desired). I get a push message stating which sensor tripped the alarm and an alarm sound is played via soundboard over my 4 sonos units. All othere sensors that are tripped after that do not deliver a new message or start the mp3 on soundboard again. Now I only know where the alarm ‘started’, but not if the person walked away or went through the entire house.

I would like to know if it is possible:

1. to get a push message every time an additional sensor is tripped (e.g. someone enters the garage-\>sensor in the garage is tripped-\>alarm goes off-\> the persons walks through to the living and trips the motion sensor in the living. I would like an additional message that the sensor in the living is tripped. Is that possible?
2. slightly off topic - soundboard has a limitation in KB per MP3. My current mp3 is 30s long - so after 30 seconds it is done, no alarm sound anymore, although the alarm in _ **Heimdall** _ has not been deactivated. I would like the mp3 to be played until I deactivate the alarm, is that possible?

Hope to hear your thoughts!

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [December 27, 2020, 2:31pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/978 "2020-12-27T14:31:33Z")

</div>

> [@Jolink](#):
>
> 1. to get a push message every time an additional sensor is tripped

You have to make flows for every sensor you want.  
Something like:  
“when” the (sensor you want) turns on  
“And” Alarm state is active  
“Then” Write to timeline or send a push notification…or both…  
You’ve got to do this for every sensor you want to be reported.

> [@Jolink](#):
>
> 1. slightly off topic - soundboard has a limitation in KB per MP3. My current mp3 is 30s long - so after 30 seconds it is done, no alarm sound anymore, although the alarm in _ **Heimdall** _ has not been deactivated. I would like the mp3 to be played until I deactivate the alarm, is that possible?

For this, make a flow.

“When” the alarm is activated  
“And” whatever conditions you need  
“Then” play the sound, add it again and put a delay of 30 seconds, add it again and add a delay of 1 minute, do this for as long as you want and it will play for ages if you need it to

Hope I made me understand.

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [December 27, 2020, 3:20pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/979 "2020-12-27T15:20:33Z")

</div>

> [@Ricardo\_Nunes](#):
>
> You have to make flows for every sensor you want

Or use 1 flow for every motion sensor in ur building:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/7/a70395e96a355a5b11489f35586800154738cc1a.jpeg)

U can send a push message with the name of the sensor that activated in the THEN part using the tags provided.

---

<div class="post-metadata">

**Author:** ![Ricardo\_Nunes](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ricardo_nunes/32/30598_2.png) [@Ricardo\_Nunes](https://community.homey.app/u/Ricardo_Nunes)\
**Post date:** [December 27, 2020, 3:41pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/980 "2020-12-27T15:41:17Z")

</div>

That’s a better way actually, didn’t come to my mind, learning something everyday! 🍻

---

<div class="post-metadata">

**Author:** ![Jolink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jolink/32/3559_2.png) [@Jolink](https://community.homey.app/u/Jolink)\
**Post date:** [December 27, 2020, 7:51pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/981 "2020-12-27T19:51:34Z")

</div>

> [@Ricardo\_Nunes](#):
>
> “When” the alarm is activated  
> “And” whatever conditions you need  
> “Then” play the sound, add it again and put a delay of 30 seconds, add it again and add a delay of 1 minute, do this for as long as you want and it will play for ages if you need it to

@Ricardo_Nunes - thnx for the input!

> [@Rocodamelshekima](#):
>
> Or use 1 flow for every motion sensor in ur building:

@Rocodamelshekima - thnx, that’s an efficient option 👌. Maybe I can add this to playing the ‘Alarm’ sound again when an additional alarm is turned on

---

<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:** [December 28, 2020, 7:37am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/982 "2020-12-28T07:37:22Z")

</div>

> [@Jolink](#):
>
> I would like to know if it is possible:
> 
> 1. to get a push message every time an additional sensor is tripped (e.g. someone enters the garage-\>sensor in the garage is tripped-\>alarm goes off-\> the persons walks through to the living and trips the motion sensor in the living. I would like an additional message that the sensor in the living is tripped. Is that possible?

Yes that’s possible, you can use the resolutions provided by @Ricardo_Nunes and @Rocodamelshekima but you could also use _ **Heimdalls** _ builtin trigger card for that purpose:

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

That card has 3 tags, the **Device** , it’s **Zone** and the devices **State** (motion or open)

---

<div class="post-metadata">

**Author:** ![Jolink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jolink/32/3559_2.png) [@Jolink](https://community.homey.app/u/Jolink)\
**Post date:** [December 28, 2020, 4:49pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/983 "2020-12-28T16:49:46Z")

</div>

> [@DaneedeKruyff](#):
>
> _ **Heimdalls** _ builtin trigger card for that purpose

thnx, overlooked that option 👌, implemented it directly and works like a charm!

---

<div class="post-metadata">

**Author:** ![Phil\_Shotton](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_shotton/32/12622_2.png) [@Phil\_Shotton](https://community.homey.app/u/Phil_Shotton)\
**Post date:** [January 1, 2021, 10:19am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/984 "2021-01-01T10:19:29Z")

</div>

Hi, I have Heimdall working well with most of my sensors, but I have an Aqara zigbee door sensor that appears in Heimdall’s device list, is set for ‘full’, but Heimdall doesn’t seem to notice state changes. Nothing appears in the log when the door is opened or closed. How can I debug this? 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:** [January 4, 2021, 12:17pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/985 "2021-01-04T12:17:21Z")

</div>

There is no easy way for regular users to debug what is happening on their Homey unfortunately. The thing that comes closest would be to run an App from the CLI.  
This particular problem you’re experiencing is most likely caused by the fact that the sensor wasn’t in ready state when _ **Heimdall** _ started. When _ **Heimdall** _ starts it checks all sensors to see which should be monitored. When a sensor is not yet in ready state (when the app for that devices isn’t fully started yet for example) _ **Heimdall** _ will pause for a while and check the sensor again. This happens a max of 10 times to not stress out your Homey.  
Can you try to reboot your Homey and after checking that the **Aqara & Xiaomi ZigBee** app is started restart the _ **Heimdall** _ app. After _ **Heimdall** _ is started, please go into the apps configuration and click **Create Diagnostics Report** and send me with the **Unique code**.

---

<div class="post-metadata">

**Author:** ![Phil\_Shotton](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_shotton/32/12622_2.png) [@Phil\_Shotton](https://community.homey.app/u/Phil_Shotton)\
**Post date:** [January 4, 2021, 5:07pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/986 "2021-01-04T17:07:20Z")

</div>

Hi, thanks for the help. Diagnostic report sent, key is: 8929f869-dcde-4a2f-82e8-df9a6d28ceab

The door sensor (Lobby Door contact) was not reported after Homey restart but was after Heimdall restart.  
Regards  
Phil

---

<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:** [January 5, 2021, 7:13am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/987 "2021-01-05T07:13:12Z")

</div>

Thanks, I can see that the Lobby Door is found after the _ **Heimdall** _ restart, is it working ok now?

---

<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:** [January 5, 2021, 9:52am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/988 "2021-01-05T09:52:33Z")

</div>

I’ve a flow for the same use case as @Jolink.

> [@Ricardo\_Nunes](#):
>
> > [@Jolink](#):
> >
> > 1. slightly off topic - soundboard has a limitation in KB per MP3. My current mp3 is 30s long - so after 30 seconds it is done, no alarm sound anymore, although the alarm in _ **Heimdall** _ has not been deactivated. I would like the mp3 to be played until I deactivate the alarm, is that possible?
> 
> For this, make a flow.
> 
> “When” the alarm is activated  
> “And” whatever conditions you need  
> “Then” play the sound, add it again and put a delay of 30 seconds, add it again and add a delay of 1 minute, do this for as long as you want and it will play for ages if you need it to

Instead of adding multiple actions (play sound with increasing delays) I use the ‘Start Flow’ action and self-reference the flow with a delay:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/0/60ac90eddcb0cedb66780ad67fb5a0d35f0e6be7.png)  
_The “And” part is important to have it stop whenever the alarm is no longer active (or any other condition you want to stop the sounds)._

---

<div class="post-metadata">

**Author:** ![Phil\_Shotton](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/phil_shotton/32/12622_2.png) [@Phil\_Shotton](https://community.homey.app/u/Phil_Shotton)\
**Post date:** [January 5, 2021, 10:26am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/989 "2021-01-05T10:26:06Z")

</div>

Yes it’s working fine after the Heimdall restart. Thanks for your help.

---

<div class="post-metadata">

**Author:** ![I\_am\_who](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/i_am_who/32/19571_2.png) [@I\_am\_who](https://community.homey.app/u/I_am_who)\
**Post date:** [January 5, 2021, 1:51pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/990 "2021-01-05T13:51:34Z")

</div>

Or do not use soundboard but cast directly to your chromecast devices at max volume below sound. It’s 1 hour and 15 minutes of pure burgle alarm pleasure:

[Inbraak-alarm-geluid.mp3](https://www.homeycornelisse.nl/wp-content/uploads/2020/04/Inbraak-alarm-geluid.mp3)

With thanks to mr. Cornelisse 👍

---

<div class="post-metadata">

**Author:** ![Jolink](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jolink/32/3559_2.png) [@Jolink](https://community.homey.app/u/Jolink)\
**Post date:** [January 5, 2021, 8:45pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/991 "2021-01-05T20:45:01Z")

</div>

> [@I\_am\_who](#):
>
> cast directly to your chromecast devices

how does that work with Sonos? 1h15m seems long enough 😉

---

<div class="post-metadata">

**Author:** ![I\_am\_who](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/i_am_who/32/19571_2.png) [@I\_am\_who](https://community.homey.app/u/I_am_who)\
**Post date:** [January 6, 2021, 7:45am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/992 "2021-01-06T07:45:21Z")

</div>

Do not own a sonos. So can’t help in that respect.

---

<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:** [January 12, 2021, 6:12am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/993 "2021-01-12T06:12:40Z")

</div>

Hi,

I have Heimdall set up to monitor my smart implant using a virtual device and the “alarm\_contact” variable. The smart implant however has two inputs so it has two inputs that can be set. Is there anyway to set up a flow that can set different values depending on whether input 1 or input 2 is set? At the moment “alarm contact” is set and I cannot tell if that is due to the Tilt Door opening, or the side door opening.

---

<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:** [January 12, 2021, 7:26am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/995 "2021-01-12T07:26:20Z")

</div>

Hi Peter,

You would have to make two Virtual Devices, 1 for each input. When the first input (connected to the tilt door) on the smart implant is triggered set the _alarm\_contact_ from the first Virtual Device and when the second input (connected to the side door) is triggered set the _alarm\_contact_ from the second Virtual device. While a Virtual Device van have multiple sensors it can only have one unique one per sensor type.

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

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