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

<div class="post-metadata">

**Author:** ![Eternity](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eternity/32/102113_2.png) [@Eternity](https://community.homey.app/u/Eternity)\
**Post date:** [January 16, 2019, 12:03pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/245 "2019-01-16T12:03:41Z")

</div>

@mistaoutlaw

Thanks for clearing that!

---

<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 17, 2019, 8:24pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/247 "2019-01-17T20:24:45Z")

</div>

With the release of _ **Heimdall** _ for Homey 2.0 a new functionality is added to the app: **Writing to the Timeline**.

You can decide which events should be written to the Timeline in the apps settings:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/26bbca06c2fd76e99d2a390dbb8ea4076cfa4de9.png)

And you can even write anything you like by using the **Send information to Timeline** action card in your own flows.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/0/00d68cde339364c1d68d41fde505db98e761b646.jpeg)

The result will look like this:

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

There’s another functionality added to **Heimdall** 2.0: **Check Last Communication**. Read about it [here](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/261).

---

<div class="post-metadata">

**Author:** ![CasB](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CasB](https://community.homey.app/u/CasB)\
**Post date:** [January 18, 2019, 10:36am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/248 "2019-01-18T10:36:48Z")

</div>

Hello,  
I’m trying to use Heimdal with Homey 2.0 but ran into some problems.  
The sensor changes do not show up un the log.  
Also when the surveillance is activated and a sensor is triggered the alarm is not activated.  
Btw, I did check the settings of Heimdall and had it working in Homey 1.x  
Also notifications to test do not seem to work.

 ![PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/f/ffe20d74c8fd8e5c3c0f66ccd68bbaab5feec344.jpeg)

---

<div class="post-metadata">

**Author:** ![CasB](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CasB](https://community.homey.app/u/CasB)\
**Post date:** [January 18, 2019, 12:37pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/249 "2019-01-18T12:37:22Z")

</div>

![PNG](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/bdd45d711d349abc322895e08e60d497945e029e.jpeg)

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [January 18, 2019, 12:40pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/250 "2019-01-18T12:40:14Z")

</div>

I seem to be having the same problems.  
But to be honest, I have never used Heimdall before and only configured it yesterday, so I’m going to do some more testing before yelling it’s not working! 😄

[edit]  
A real problem I do have on the other hand is that the Homey-app crashes when I’m in the Dashboard-tab of Heimdall.  
After about a minute the Homey-app just suddenly closes.

---

<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:** [January 18, 2019, 1:03pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/251 "2019-01-18T13:03:35Z")

</div>

You updated with the correct version? Out of the box, updating to v2.0 of homey breaks heimdall and you need to update heimdall to v2.0.0.

---

<div class="post-metadata">

**Author:** ![CasB](https://avatars.discourse-cdn.com/v4/letter/c/a6a055/32.png) [@CasB](https://community.homey.app/u/CasB)\
**Post date:** [January 18, 2019, 1:07pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/252 "2019-01-18T13:07:16Z")

</div>

I am running Heimdall v2.0.0.

---

<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 18, 2019, 4:11pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/253 "2019-01-18T16:11:37Z")

</div>

> [@CasB](#):
>
> Hello,  
> I’m trying to use Heimdal with Homey 2.0 but ran into some problems.  
> The sensor changes do not show up un the log.  
> Also when the surveillance is activated and a sensor is triggered the alarm is not activated.

Hello Cas,  
Can you post a screenshot of the devices- and Settings page in _ **Heimdall** _ settings, specifically the `Logging` part.  
Have you rebooted Homey after the upgrade to 2.0?  
Have you tried restarting _ **Heimdall** _?  
Do your devices show up in the devices page in _ **Heimdall** _ settings?  
Do you see actual detection of movement or opened doors/windows on the devices themselves?

> [@](#):
>
> Btw, I did check the settings of Heimdall and had it working in Homey 1.x  
> Also notifications to test do not seem to work.

Just to be sure, the screenshot you posted will trigger when the **Surveillance Mode** is changed, not when the Alarm state is activated. How do you change the **Surveillance Mode** for that flow to test?

If needed, are you able to run the app from the CLI?

---

<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 18, 2019, 4:24pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/254 "2019-01-18T16:24:43Z")

</div>

> [@Fire69](#):
>
> A real problem I do have on the other hand is that the Homey-app crashes when I’m in the Dashboard-tab of Heimdall.  
> After about a minute the Homey-app just suddenly closes.

Hi Jeremy,

I’ve not seen that happen before, Does this also happen on other tabs?  
When you disable _Auto refresh_ does it also crash?  
Can you got to [https://developer.athom.com/tools/app-settings](https://developer.athom.com/tools/app-settings), open the console\* and then select _ **Heimdall** _. I’m interested what the output.  
The dashboard is basically just a webpage, I don’t understand how it can crash the Homey app.

(Open the console by right clicking and selecting Inspect and then select the console tab)

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [January 18, 2019, 5:29pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/255 "2019-01-18T17:29:15Z")

</div>

I’m on my phone right now so I’ll do the console later, but I did some testing and it’s definitely the auto-refresh. Crashes on all tabs after a minute. When I disable it, no crash on any tab 🙂

[edit]  
I just get a constant stream of these:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/4/4ae58d3d8f295ca2eca9a573835dadd6e4190e6e.png)  
(blacked out that line because I don’t know if that data is ‘secret’ 🙂 )

---

<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 18, 2019, 7:34pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/256 "2019-01-18T19:34:03Z")

</div>

I have no idea where that is coming from to be honest, there is no content-script.js file in _ **Heimdall** _.  
When does this stream start? Does it stop when you disable _Auto refresh_?

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [January 18, 2019, 7:46pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/257 "2019-01-18T19:46:53Z")

</div>

Ok, found where it was coming from, apparently it was caused by the Belgian eID-extension (probably a good thing I blacked out that data-line 😋 )  
I reloaded the page after disabling the extension (and auto refresh), then I get this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/15c9708b5b5f354df837fb29715294b588186f10.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:** [January 18, 2019, 7:56pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/258 "2019-01-18T19:56:38Z")

</div>

Ok, I’m glad you found that cause I was lost 😉  
The result looks exactly as it should, guess you have 89 devices and 29 zones configured.

Does it still crash after disabling that extension?  
If so, does it show anything extra in the console?

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [January 18, 2019, 8:05pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/259 "2019-01-18T20:05:47Z")

</div>

> [@DaneedeKruyff](#):
>
> 89 devices and 29 zones

Are that what those numbers are!? I haven’t got anything near that number of devices or zones! 🤔

> [@DaneedeKruyff](#):
>
> Does it still crash after disabling that extension?

I might seem like an idiot here, but checking the console, that’s on my pc, right? So disabling that extension isn’t going to solve the app crashing on my phone.

---

<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 18, 2019, 8:17pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/260 "2019-01-18T20:17:43Z")

</div>

The numbers are the item counts from the returned objects, for me they match my devices and Zones. Perhaps removed devices and zones are still in the configuration but no longer shown (and used) If you open the objects you can see what’s in it.

No, it’s not gonna solve a crash of the app on your phone, but I hope to get an indication what the settings page does. I would not expect an app to crash because of on error in a webpage it displays but somehow that does happen.

---

<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 19, 2019, 3:31pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/261 "2019-01-19T15:31:18Z")

</div>

Next to the new functionality **[Writing to the Timeline](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/247)** another new function is added to the app in the rewrite to make _ **Heimdall** _ compatible with Homey 2.0: **Check Last Communication**

This function checks when _Motion-_ and _Door/Window sensors_ that are included in the **Armed** and **Partially Armed**  **Surveillance Mode** have communicated with Homey last.

When the last communication has been longer than 24 hours ago _ **Heimdall** _ will do 3 things:

A line will be written to the **History** telling you that the sensors last communication was longer than 24 hours ago and when the last communication was received.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/a174fbefc3d9bcde2ca646a794c28f0ccd9f17f1.png)

A line will be written to the Timeline:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d8658ff2408522edadf9a65e5405366667a35e35.jpeg)  
Only when **A motion device hasn’t communicated** and/or **A contact device hasn’t communicated** in the **[WRITE TO TIMELINE](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/247)** settings are enabled

The **No Information Received** flowcard will be triggered. This card has 4 tags: _Hours no information_, _Last update_, _Device_ and _Zone_. With these tags you can compose your own message to for example send a push notification.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/7bc6a52877d42c5d3fb78661cc0a415251513789.png)

The **Check Last Communication** function is automaticaly run when you set the **Surveillance Mode** to either **Armed** or **Partially Armed**. Do you want to make a flow so you can schedule the check to run at a specific time? You can do so by using the **Check Last Communication** action flowcard in a flow that you run at your desired time.

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

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [January 20, 2019, 9:49am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/262 "2019-01-20T09:49:49Z")

</div>

Hello everyone. I got my new homey on friday.  
I have added some sensors and so on. But if I add a flow to react on an alarm nothing happens. It looks like the alarm is never triggered. I can not find information in the log.

---

<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 20, 2019, 10:44am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/263 "2019-01-20T10:44:43Z")

</div>

@Baschtl  
Can you post a screenshot of the _Dashboard_ and _Devices_ page in _ **Heimdalls** _ settings pages?  
Can you also show screenshots of the flow you created?  
Can you please go to _More_ - _Apps_ in the Homey app and select _ **Heimdall** _. Now click on the _cogwheel_ in the upper right corner and click on _ **Create Diagnostics Report** _.

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [January 20, 2019, 11:02am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/264 "2019-01-20T11:02:12Z")

</div>

Hey,

I have created the report.

![37%20AM](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8651a95420af3ba6cf270d39728826e1f0563abd.png)

---

<div class="post-metadata">

**Author:** ![Baschtl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/baschtl/32/9565_2.png) [@Baschtl](https://community.homey.app/u/Baschtl)\
**Post date:** [January 20, 2019, 11:03am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/265 "2019-01-20T11:03:12Z")

</div>

And here the second image

 ![23%20AM](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/7/779e6adfb00dc34c148cb9fe1d33aa74ccce95eb.png)

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

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