Homey Community Forum

Heimdall - Let Homey watch over your home


So I think maybe Heimdall has started working for me again - not sure how/why…

It’s been a while since I’ve looked at my setup and I have a question - how do I trigger things when alarm is armed but AFTER the countdown has ended?

At the moment my cameras come on during the arming delay, but what I’d really like is for them to come on after, once we’re all out the house?




New version published

Version 2.0.10

  • Added new flow card: The arming delay is activated

with a tag duration


1 Like


In the next version the Devices page will be split in a Status and Settings page.
The Status page will show all devices that have an alarm_contact, alarm_motion or alarm_vibration capability. The Status overview will show battery levels, the last time the device communicated with Homey and the actual status of the device. A device that is not ready will show a warning sign. (The rest of the information is simply not available when a device is not ready)

(@TedTolboom no worries about the warnings on the Xiaomi devices, they work perfectly I disabled the app for this screenshots)



Updated the flows and will see how it works when I come home!
Looking good :slight_smile: Thanks!

1 Like


Am I somehow able to use this to answer my question above?



Hi @vaderag

Sorry, I missed some messages here because I was hospitalised some days for unexpected surgery. You mean you want to perform separate actions not related to Heimdall when the Surveillance Mode is actually set after an arming delay?
If so you’d have to use the Surveillance Mode changed card
The tag Surveillance Mode holds the actual mode that it is set to.

(When selecting a new Surveillance Mode with an Arming Delay configured the mode isn’t actually set until the Arming Delay successfully ends)

1 Like


Thanks @DaneedeKruyff - will take a look later :slight_smile:
And hope that all is well after your surgery!!

So just to confirm, that should look something like this:

Edit2: Actually, changed the middle card to “is not Disarmed” - else I’ll turn everything off on partial arm too!

1 Like


Yes, that looks good.



I have problems getting the correct settings for my delays. I want a general delay when arming set to 300s. And when coming home I just want a delay for my front door and motion sensor in the hallway set to 10s, but not for my other sensors. But when I tick the delay-setting under Devices and leave the house the Last door function overrides my 300s setting and turn the alarm state to Armed after 10s. Is it possible to turn Last door function off or can I make it work in another way?



Hi @rindler,
If you’ve set your Arming Delay to 300, Alarm Delay to 10 and have selected Delay on both the Motion Sensor and Door Sensor in the hallway I think you’ve set it up the right way.
That way you can set your desired Surveillance Mode, have enough time to put your coat on and have enough time to leave the house. You could even realise you left your keys on the coffee table and walk back to get them. Next you leave the house, lock it and know that 10 seconds later the Surveillance Mode is set.
I don’t understand why you want it to be 300 seconds when it’s that dynamic as it is now.
(You could however bypass the Last Door functionality by arming when the door is open, it will only be used when a door is opened and closed during an arming countdown.)



Thanks for your reply! My “problem” is not that I’m not fast enough to leave, but that I forget things. That’s why I need the long delay. Hehe. But sure I could put the alarm on with the door open, but then the sensor check would react? Anyhow I now solved it by using different Heimdall cards.



Hehe, so Heimdall can also train you not to forget things :joy:

But kidding aside, yes the Sensor Check would be triggered. But don’t worry, as soon as that sensor goes to its normal state (door closed) it will just work as expected, the next time it opens it will trigger an Alarm state.

1 Like


Is it possible to disable the delayed triggers (in general/or per device) via a flow?

During a normal situation I want to have a 30s delay, but when i’m holiday I want that the alarm goes instantly when triggered. Is there a simple flow that i can built?



Hi @quakerix, this is not something that’s readily available in Heimdall as there is no generic method in Homey which is used for things such as vacation modes.
You have several options however.
First, you could disable the Delay on the sensor in the settings but that is something that can easily forgotten, so I see why you’d want to automate it.
The best option I can think of right now would be to make a flow that gets triggered by the sensor which Delay you want to override and have it evaluate if your Homey is in holiday mode and use the Activate alarm action card. That way when the sensor is tripped and you’re on holiday the alarm is activated immediately.
(I haven’t actually tried that flow, just thought it out and in my mind it should fit your needs)



New version published

Version 2.0.11

  • Split Devices page into status- and settingspage

As announced in an earlier post I’ve split the Devices page into a separate Status and Settings page.

To give you more flexibility in checking your sensors next to the Sensor Status Check you can now see all information on the Status page. The information is (semi*) realtime so if you feel the need to check your sensors you can get your Phone, walk around the house and check the sensors you like and see the result (almost*) immediately.

(* the information on the Status page is refreshed every second)


Smart solution to flows for presence & door sensors?

New version published

Version 2.0.12

  • Updated athom-api (2.1.166)

No functional changes, just an update to the latest athom-api.



Just a (maybe stupid) question. I just started using Heimdall. I added the Heimdall alarm device and the modus. What does the device do? I don’t see any change (stays white) when I press the button. And when i long click I have the option “schakel uit” (in dutch). Does this mean de-arm, or does this mean something else?



Did you read the opening post?



Yes, read it 5 times. Together with the instructions in the Heimdall app configuration on my phone. The Dutch translation makes the confusion I guess. Arming is called “activeren” and resetting is also called “activeren”.



Hi Koen,

The Alarm Button is used to cancel an Alarm State. It will not do anything to the Surveillance Mode.

When the Surveillance Mode is either Armed or Partially Armed and a sensor is tripped the Alarm State will be activated.
When that happens the The alarm is activated flow card will be triggered and the state of the Alarm Button will be set to Alarm*.

When you click the Alarm Button in that state the Alarm State will be cancelled but the Surveillance Mode wil remain.

Can you please show me (screenshot) what part of the instructions is not clear?

(* it is unfortunately not possible for community developers to show a state on a device tile, Athom does not yet provide such functionality: https://github.com/athombv/homey-apps-sdk-issues/issues/17 please ask Athom to add this functionality)

1 Like