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

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [December 30, 2022, 8:50am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1282 "2022-12-30T08:50:09Z")

</div>

@DaneedeKruyff I have a problem with Heimdall. The app is sometimes crashing all by itself. What can be the reason to this?

---

<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 30, 2022, 8:59am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1283 "2022-12-30T08:59:03Z")

</div>

Hi @Simon_Ojelid,

That’s pretty hard tot tell without additional information. Could you please stop and start Heimdall and send me a diagnostics report a couple of minutes later?  
Next, use Heimdall as You normally would and if it crashes again, send me another diagnostics report.

---

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [December 30, 2022, 9:09am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1284 "2022-12-30T09:09:58Z")

</div>

9a34ba5c-ef72-4ab6-9116-e358b9181ae9

---

<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 30, 2022, 12:10pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1285 "2022-12-30T12:10:48Z")

</div>

Thanks, the apps startup phase looks good, no problematic devices, everything is initialized in 2 seconds and Heimdall is ready for action.

---

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [December 30, 2022, 12:31pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1286 "2022-12-30T12:31:34Z")

</div>

Okay. Last time the app crashed was last week and it seemed like it was shut down for using to much cpu or something

 ![Screenshot_20221230_133055_Samsung Internet](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/3/e3cdbe46cd9f3998b53b919a0f46e0b76e60ce76.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:** [December 30, 2022, 12:40pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1287 "2022-12-30T12:40:22Z")

</div>

Judging from that graph CPU usage is no problem at all, it’s in the 0.0020% region, so that’s next to nothing.  
I must say I haven’t looked at memory usage lately but that also doesn’t look to problematic. One question though, are you running anything on a recurring schedule, like flows every x minutes/hours?

---

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [December 30, 2022, 3:35pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1288 "2022-12-30T15:35:57Z")

</div>

Not every minute, but I do have some shelly plugs that I monitor with logic to see the min/max effect. Only 2 of them though

---

<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:** [January 2, 2023, 8:09pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1289 "2023-01-02T20:09:55Z")

</div>

@DaneedeKruyff Hi, can the devices be rearranged in the device overview? maybe by letters? 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 3, 2023, 6:19am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1290 "2023-01-03T06:19:47Z")

</div>

Hi @bjoern,

No, that’s not possible now nor planned for the future. It will be a fair bit of work and users will start asking for other sorting option as well for an overview which most would hardly use after initially setting the wanted **Surveillance Modes** on their devices.

---

<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:** [January 3, 2023, 8:44am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1291 "2023-01-03T08:44:07Z")

</div>

Hi @DaneedeKruyff ,

Thanks für the answer. Very unhappy. I had to set up some devices again and now everything is mixed up in the overview. ☹

---

<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:** [January 3, 2023, 9:02am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1292 "2023-01-03T09:02:00Z")

</div>

But you only look at the view when configuring?! Am i missing something? How can that be a huge problem?

---

<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:** [January 3, 2023, 9:16am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1293 "2023-01-03T09:16:22Z")

</div>

Of course not. 🙂 It’s also not a big problem, just makes the configuration easier if you have all the window sensors, all the door sensors, etc. under each other instead of mixed up. If it doesn’t work, then unfortunately it doesn’t work.

---

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [January 6, 2023, 1:12pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1294 "2023-01-06T13:12:00Z")

</div>

@DaneedeKruyff For how long is the log in Heimdall being stored? I personally do not need logging for more than 2 weeks back. Or is there any way to clear tthe log manually?

---

<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 6, 2023, 1:19pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1295 "2023-01-06T13:19:05Z")

</div>

Hi Simon,

The log will never exceed 2000 lines. When the 2000 lines limit is reached the oldest 400 lines will be deleted so the amount of lines will always between 1600-2000. The actual age of the oldest line will depend on how many log lines are written.

You can clear the log manually by using the flowcard **Clear Heimdall history**  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/3/13ff856549ac528fe85ff29b1f1f51f2341be476.png)

This will however clear the entire log, there is no manual option to delete the log partially.

---

<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 6, 2023, 5:52pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1296 "2023-01-06T17:52:02Z")

</div>

New test version published.

> ## Version 2.3.12
> 
> - Updated Homey API to 1.10.5
> - Code cleanup
> - Better workaround for homey-api bug

This test version brings the newest `homey-api` to _ **Heimdall** _ and all (remarked) references to SDK2 are completely removed. It also contains a better workaround for a bug in `homey-api`.

Here’s a little background about the last one: SDK3 apps require using the `homey-api` opposed to the `athom-api` which was used when _ **Heimdall** _ was still an SDK2 app.  
There are quite some difference and improvements between `athom-api` and `homey-api` but unfortunately it turned out that not all functionality in `athom-api` is available in the `homey-api`.

To make sure _ **Heimdall** _ would not loose functionality I had to implement a workaround that isn’t ideal in terms of memory- and CPU usage. I’ve reported this to Athom and it is acknowledged the functionality is indeed missing in `homey-api` and it’s being looked into. Luckily I got some tips from @robertklep and @Jero on how to make the needed workaround less costly, so a big thanks to them!

(Versions 2.3.9, 2.3.10 and 2.3.11 were small incremental steps leading to this 2.3.12 and were unannounced)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [January 7, 2023, 11:05am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1297 "2023-01-07T11:05:27Z")

</div>

> [@Rob\_Bruining](#):
>
> a weekly check of my sensors if they give response.

You can give this flow+script a go:

> [@The Flow Exchange(r) - Exchange Your Flows with Others!](https://community.homey.app/t/the-flow-exchange-r-exchange-your-flows-with-others/68981/13):
>
> Sensor (or any device) Connection Check. Sometimes, you’ll discover a sensor or other device doesn’t report it’s status or value anymore, but it does NOT notify you of being offline… Well, this flow checks the, most recent update time of your sensors. You can run the flow every day, twice a day, just add or remove a time triggercard. The ‘inactive time’ can be edited as well (24hrs as default) and you can choose to not send notifications when all sensors did report inside the ‘inactive time…

---

<div class="post-metadata">

**Author:** ![Simon\_Ojelid](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/simon_ojelid/32/66722_2.png) [@Simon\_Ojelid](https://community.homey.app/u/Simon_Ojelid)\
**Post date:** [January 12, 2023, 9:32pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1298 "2023-01-12T21:32:29Z")

</div>

@DaneedeKruyff Is it possible to add an option in heimdall for homey to only speak when arming to fully armed and not when arming to partiallt armed?

---

<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:** [January 12, 2023, 10:01pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1299 "2023-01-12T22:01:27Z")

</div>

Set volume to zero when arming, arm, set volume to normal with a flow.

---

<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 13, 2023, 8:48am UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1300 "2023-01-13T08:48:50Z")

</div>

> [@Ronald\_Otto](#):
>
> Set volume to zero when arming, arm, set volume to normal with a flow.

I think this is a very viable solution.

(Btw @Simon_Ojelid there is no need to tag me in a message in this topic, I get automatically informed when someone makes a new 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:** [January 20, 2023, 9:48pm UTC](https://community.homey.app/t/heimdall-let-homey-watch-over-your-home/134/1301 "2023-01-20T21:48:42Z")

</div>

Heimdall seems to keep stalling. Today it also refused to restart. I created a diagnostic report as per below code.

74d7f0b4-e5ea-4db1-b23e-19b946fb9e39

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

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