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

<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:** [April 2, 2022, 3:52pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1159 "2022-04-02T15:52:10Z")

</div>

Does that sensor have multiple capabilities?  
Can you provide the full device info from the developer page?

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bjoern/32/49709_2.png) [@bjoern](https://community.homey.app/u/bjoern)\
**Post date:** [April 2, 2022, 5:34pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1160 "2022-04-02T17:34:25Z")

</div>

@DaneedeKruyff

yes…

```auto
"capabilities":[

5 items

0

:

string"onoff"

1

:

string"alarm_smoke"

2

:

string"alarm_tamper"

3

:

string"measure_battery"

4

:

string"alarm_battery"

]

"capabilitiesObj":{

5 items

"onoff":{

10 items

"value":

boolfalse

"lastUpdated":

string"2022-03-03T19:17:47.189Z"

"type":

string"boolean"

"getable":

booltrue

"setable":

booltrue

"title":

string"Eingeschaltet"

"desc":

NULL

"units":

NULL

"id":

string"onoff"

"options":{}

0 items

}

```

or another:

```auto
"capabilities":[

5 items

0

:

string"alarm_contact"

1

:

string"alarm_tamper"

2

:

string"measure_temperature"

3

:

string"measure_luminance"

4

:

string"measure_battery"

]

"capabilitiesObj":{

5 items

"alarm_contact":{

10 items

"value":

boolfalse

"lastUpdated":

string"2022-04-02T13:08:33.936Z"

"type":

string"boolean"

"getable":

booltrue

"setable":

boolfalse

"title":

string"Kontakt-Alarm"

"desc":

string"Kontaktsensor, z.B. für Windows (true/false)"

"units":

NULL

"id":

string"alarm_contact"

"options":{}

0 items

}

```

---

<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:** [April 2, 2022, 7:38pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1161 "2022-04-02T19:38:14Z")

</div>

Thanks, can you post the “lastupdated” from the last sensor, that one has two capabilities _ **Heimdall** _ can look at.

---

<div class="post-metadata">

**Author:** ![Crisis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crisis/32/48753_2.png) [@Crisis](https://community.homey.app/u/Crisis)\
**Post date:** [April 3, 2022, 8:01pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1162 "2022-04-03T20:01:39Z")

</div>

Hi @bjoern FYI my question initially concerns the Fibaro Door Sensor 2 but I spotted similar behavior for some other brands. Seems Danee is on to something with his question “capabilitiesObj”; I’ll further reply on his post.

---

<div class="post-metadata">

**Author:** ![Crisis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crisis/32/48753_2.png) [@Crisis](https://community.homey.app/u/Crisis)\
**Post date:** [April 3, 2022, 8:37pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1163 "2022-04-03T20:37:22Z")

</div>

Hi @DaneedeKruyff , as per your guidance I’ve checked the Heimdall app (v2.1.5) and the info for concerning devices via the API and noticed the following:

1. the ‘Fibaro Door Sensor 2’ using Athom’s Fibaro app v3.2.2 comes with 4x “capabilities”: [  
“measure\_battery”,  
“alarm\_contact”,  
“alarm\_tamper”,  
“measure\_temperature”  
]  
and in all my cases Heimdall takes the “alarm\_tamper” value where I would expect at least the “alarm\_contact” value. Though my vote would go to the “measure\_temperature” value as this is regularly updated and does not depend on actually opening/closing of doors and windows 🙂 Best solution in my opinion would be most recent value of either of the two values.

2. similar for the Fibaro Motion sensor which comes with 5x “capabilities”: [  
“measure\_battery”,  
“measure\_luminance”,  
“measure\_temperature”,  
“alarm\_motion”,  
“alarm\_tamper”  
]  
Also here Heimdall takes the “alarm\_tamper” value where “alarm\_motion” (or “measure\_temperature”) is more logical.

3. where the ‘Ring Motion Detector 1st gen’ and ‘Ring Contact Sensor 1st gen’ are correctly taking the “alarm\_motion” value over the “measure\_battery” using your (experimental) Ring app v0.2.3, for my ‘Ring Keypad v2’ Heimdall appears to prefer the “alarm\_tamper” over the more logical (and desired) “measure\_battery” value. I would recommend to change this as well for the Keypad v2.

On a final note: while testing tonight I noticed that upon opening of the Heimdall app (via the Homey app) and selecting Devices (i.e. “Apparaten”) the “Last seen” value initially very briefly seem to show the correct “lastUpdated” before returning above mentioned “incorrect” values. Perhaps that helps narrowing down the root cause.

Thanks for your help! Pls let me know if you need more info.

Regards  
Chris

---

<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:** [April 4, 2022, 5:05am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1164 "2022-04-04T05:05:50Z")

</div>

The thing is, the shown value should always be the most recent one, regardless of the capability.  
Could you please post the information with the actual values?

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bjoern/32/49709_2.png) [@bjoern](https://community.homey.app/u/bjoern)\
**Post date:** [April 4, 2022, 7:15am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1165 "2022-04-04T07:15:08Z")

</div>

> [@Crisis](#):
>
> On a final note: while testing tonight I noticed that upon opening of the Heimdall app (via the Homey app) and selecting Devices (i.e. “Apparaten”) the “Last seen” value initially very briefly seem to show the correct “lastUpdated” before returning above mentioned “incorrect” values. Perhaps that helps narrowing down the root cause.

That’s exactly what i can see. with almost all 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:** [April 4, 2022, 6:04pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1166 "2022-04-04T18:04:40Z")

</div>

@bjoern @Crisis I found it and fixed it. New version will be available shortly.

---

<div class="post-metadata">

**Author:** ![Crisis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crisis/32/48753_2.png) [@Crisis](https://community.homey.app/u/Crisis)\
**Post date:** [April 4, 2022, 7:13pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1167 "2022-04-04T19:13:33Z")

</div>

Thanks @DaneedeKruyff ! I can confirm that above mentioned issue has been resolved with v2.1.6 ! Both Fibaro sensors and Ring Keypad v2 now show most recent “lastupdated” regardless the capability it is generated against.

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bjoern/32/49709_2.png) [@bjoern](https://community.homey.app/u/bjoern)\
**Post date:** [April 4, 2022, 7:39pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1168 "2022-04-04T19:39:25Z")

</div>

@DaneedeKruyff looks great now too. Thanks! what was it exactly?

---

<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:** [April 5, 2022, 5:09pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1169 "2022-04-05T17:09:45Z")

</div>

New version published.

> ## Version 2.1.6
> 
> - Fixed Last seen in devicesettings

This version fixes a bug where devices reporting an unknown Last updated value resulted in a **Last seen** date of 1-1-1970 in the device settingspage.

---

<div class="post-metadata">

**Author:** ![Stig\_Kolbaek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stig_kolbaek/32/51393_2.png) [@Stig\_Kolbaek](https://community.homey.app/u/Stig_Kolbaek)\
**Post date:** [April 10, 2022, 9:19pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1170 "2022-04-10T21:19:53Z")

</div>

Hi All … I am using the Heimdall App for my Security System - LOVE the App, Thanks for your great work @DaneedeKruyff with this!

At my front door I have a Tablet with a Home Assistant Lovelace Dashboard with Live cam from my G4 Doorbell and other Homey devices, and I have tried to integrate the Alarm Panel card in Home Assistant with Heimdall trying both the Alarm´s and Surveilance Entity sent to HA using MQTT from Homey, but has not had any luck getting this to work, and I am not able to find any documentation/videos with this.

My Question : Is it somehow possible to use the HA Lovelace Alarm Panel Card to control Heimdall? … and if so, anybody who will share there configuration?

Best Regards  
Stig 🙂

---

<div class="post-metadata">

**Author:** ![Crisis](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/crisis/32/48753_2.png) [@Crisis](https://community.homey.app/u/Crisis)\
**Post date:** [April 11, 2022, 7:05am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1171 "2022-04-11T07:05:30Z")

</div>

@DaneedeKruyff as a token of appreciation for the swift reply and fix, a small donation coming your 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:** [April 11, 2022, 7:54am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1172 "2022-04-11T07:54:11Z")

</div>

Thank ypu @Crisis it’s much appreciated!

@Stig_Kolbaek I’m not using HA nor the dashboard you mention so I can’t really tell you how to set it up, maybe someone else can help you out, @robertklep perhaps?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [April 11, 2022, 7:58am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1173 "2022-04-11T07:58:36Z")

</div>

Sorry, no idea ☹ (I do use HA but don’t use the MQTT Hub app at all, so I have no idea what its capabilities are)

---

<div class="post-metadata">

**Author:** ![Stig\_Kolbaek](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/stig_kolbaek/32/51393_2.png) [@Stig\_Kolbaek](https://community.homey.app/u/Stig_Kolbaek)\
**Post date:** [April 11, 2022, 9:35am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1174 "2022-04-11T09:35:23Z")

</div>

Thank you @DaneedeKruyff and @robertklep for your answers/help though 😃 … no, not much documentation regarding this out there, it just would be so awsome to use the Alarm Panel for the Brilliant Heimdall … hopefully I find someone that can help 🤞🏼

---

<div class="post-metadata">

**Author:** ![Viking42](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/viking42/32/12687_2.png) [@Viking42](https://community.homey.app/u/Viking42)\
**Post date:** [May 15, 2022, 6:54am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1175 "2022-05-15T06:54:37Z")

</div>

Hi,

Heimdall makes me crazy and paranoid since a while,  
It does arm itself, and makes me trigger the alarm  
and i’m not able to identify why this happens as the log is too simplified, doesnt tell which flow or action did put the alarm to armed

The total lack accessible logs of flows in homey doesnt help

Here’s the heimdall dump number e93dc3fd-1917-4f43-9926-edf72006ce81

 ![Screenshot_20220515-085053_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/3/33e2b59789efe84e62a6ba28a109b7335d037632.jpeg)

thanks for the help!

---

<div class="post-metadata">

**Author:** ![bjoern](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/bjoern/32/49709_2.png) [@bjoern](https://community.homey.app/u/bjoern)\
**Post date:** [May 15, 2022, 7:12am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1176 "2022-05-15T07:12:52Z")

</div>

Please review your flows. You arm automatically via Flow. Please search your flows for Heimdall. What are your sensor states when heimdall armed? which devices are under devices?

---

<div class="post-metadata">

**Author:** ![Ronald\_Otto](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronald_otto/32/51743_2.png) [@Ronald\_Otto](https://community.homey.app/u/Ronald_Otto)\
**Post date:** [May 15, 2022, 8:40am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1177 "2022-05-15T08:40:24Z")

</div>

Let each flow write a line on your dash. Then you know wst triggered it.

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

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/6/d6fe04bf499c96fa0d4b1c444e275a79188af9b3.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:** [May 15, 2022, 8:45am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1178 "2022-05-15T08:45:50Z")

</div>

Hi,  
Let’s see what’s happening here, this shouldn’t be to hard to find.  
First off, _ **Heimdall** _ _can not_ arm itself, it will always be caused by of either a flow or a person performing an action. Since your log shows the **Surveillance Mode** is changed by a flow, let’s focus on that.

Easiest would be to go to Apps (in the Homey Mobile app) and select _ **Heimdall** _.  
This will show you all flows that are somehow connected to _ **Heimdall** _

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/5/453c4fb2bf5e1bd13d1ab0f6b9e4c18ea5f73b73.jpeg)  
Please review all your flows shown here.

Another method would be to disable the _ **Heimdall** _ app and go through your flows, all flows somehow connected to _ **Heimdall** _ wil show a warning

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/1/f1d9d64b402d1711db277966d611b58954727956.jpeg)  
Please review all flows showing a warning.

Hope that helps!

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

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