Heimdall - Let Homey watch over your home

Yes, we definitely need supervision :rofl:

Heimdall keeps reporting a delayed trigger – where is it coming from?

Hi Danee,

I’m setting up Heimdall on my Homey Pro (2023) with Aqara T1 door and window sensors.

Since the very beginning, while trying to get Heimdall up and running, I’ve been receiving notifications stating that no alarm is triggered because a delayed trigger is active.

I’ve checked the sensor and delay settings several times, but I can’t find any sensor with “Delayed Trigger” enabled. Both the arming delay and the alarm delay are set to 0 seconds.

I’ve now enabled “Allow Alarm while in alarm delay”, and this does make a difference: I’m now receiving alarm notifications. However, I still don’t understand why Heimdall thinks a delayed trigger is active in the first place.

Could someone explain how I can identify where this delay is coming from and how I can safely reset it if necessary, without having to rebuild my entire alarm setup?

I’d really appreciate any help or suggestions, as I’m still setting everything up and would like to get it working correctly.

Thanks in advance for your help!

kind regards,

Katinka

Welcome here Katinka.

Can you please revert the Allow Alarm while in alarm delay setting and next stop and restart Heimdall, wait a bit and trigger the alarm. When the notification is there again, please send in a Diagnostics Report and post the ID here.

Hi Danee,

Here’s the diagnostic report ID: 036c0c02-23c9-4274-bbc0-9c6039647d09

Thanks for your quick response! I followed your recommendations, and the issue with the delay trigger notification seems to be resolved. However, the flows I created are no longer working as intended, even though they worked correctly when the “Allow Alarm while in alarm delay” setting was enabled.

I’m not entirely sure what’s causing this or whether I might be missing something in my configuration, so I’d really appreciate your help in figuring it out.

If I’m not mistaken, you’re Dutch as well. If you have some time, perhaps we could arrange a quick call or virtual meeting so I can walk you through my settings and show you what’s happening.

Just let me know what would work best for you.

Thanks again for your time and help. I really appreciate it!

Best regards,
Katinka

Hi Katinka,

There’s no trace of a delayed trigger in the log, so that looks good. But, it looks like you have a flow that changes the Surveillance Mode when the Alarm is triggered, but I can’t be 100% sure.
You also say you have a flow that behaves differently after changing the Allow Alarm while in Alarm Delay, can you post a screenshot of that flow?

If there are more flows, what happens when you disable all but that one and test again?

Hi Danny,

Thanks for your help!

I’m new to Heimdall and have created six flows. As a new user, I can only share five pictures, so I’ll send screenshots of five flows for you to review and help me identify any issues.

The sixth flow is:

ALS: Heimdall: het alarm is geactiveerd
Dan: pushmelding: “Het alarm is geactiveerd” naar iedereen sturen als kritieke waarschuwing

I’m currently trying to get the basic alarm notifications working:

  • Confirmation when the alarm is armed
  • Confirmation when the alarm is deactivated
  • A warning if a door or window is already open when I arm the alarm
  • A notification when a sensor triggers the alarm

At the moment, I only receive a notification about an open door or window if I open it after the alarm is already armed. However, I want to receive a specific warning during the arming process when a door or window is already open, rather than only when it is opened afterward.

I also don’t receive a warning when something is already open while arming the alarm, including the notification with the sensor tags. In addition, I don’t receive confirmation that the alarm has been armed.

Please let me know what I need to change. I’m also happy to disable some flows while testing if that would help.

Thanks again!

I don’t think the flows you made will get you where you want.

Please go through the opening posts of this topic, most is explained there. And I realise it’s a pretty long topic, but go through the changeling, and if you see anything useful follow to the link to the post announcing the functionality to get more information.

To get a status update on changes in the Surveillance Mode, use the Surveillance Mode changed card and use a condition card to check which mode is set and take the action you want to take based on the selected mode

The Alarm State has it’s own trigger cards, those speak for themselves

To get a warning if a door or window is open at arming, use the Sensor active at arming card, this is explained in the opening post.

When the Alarm State is triggered, the card for that has a tag that holds the device that caused the alarm, this is also in the opening post.

The flow Het alarm is gedeactiveerd, Stel toezicht Modus in op Uitgeschakeld and Het alarm is geactiveerd, Stel Toezicht Modus in op Ingeschakeld make no sense to me, I have not idea what you’re trying to achieve there.

And some practical suggestions on flows, regardless where or what you use them for. I suggest using Advanced Flows, that’s a lot easier to configure and visualize what you’re doing.
Also, I see 2 flows with the same trigger, I suggest making one flow with the trigger and attaching 2 actions to the flow, that will make it a lot easier to managed your flows when you make a lot of them.

Hi Danee,

Thank you for taking the time to explain everything and point me in the right direction!

I started reading the opening posts yesterday, but I’m going to make a proper study of the topic so I can better understand how everything works and hopefully get my flows up and running the way I want them to. :blush: I’m still quite new to all of this, so I’m trying to find my way around and learn how to build a good, reliable setup.

I was wondering whether you happen to know of any YouTube videos that explain Heimdall and how to set up the flows, preferably with some practical examples? Sometimes it’s easier for me to understand when I can see someone walking through the process step by step.

I have one other question: do you have any experience with setting up an indoor and outdoor alarm sound in combination with Heimdall and Homey Pro? I’m looking for a reliable solution that can trigger an audible alarm both inside and outside the house when needed.

Thanks again for your help and patience. I really appreciate it!

Kind regards,
Katinka

Hi Katinka @Tink

I use a couple of these for indoor sirens (they come with multiple sounds, so I also use them with my video doorbell, and additional sirens for smoke alarms too)

All my Heimdall flows are advanced flows… but if you can explain what your goals are for your Heimdall setup, I will try to help if I can.

Hi @Drako74

Thank you so much for your reply, for offering to help, and of course for the siren recommendation!

The Aeotec Siren 6 sounds interesting. I’m looking for a reliable audible alarm solution, ideally with one siren indoors and another outdoors. I’ll definitely look into the Aeotec. If you have any experience with outdoor sirens, preferably one with a flashing light, I’d love to hear your recommendations!

As for my Heimdall setup, I’m using Homey Pro 2023 with Aqara door and window sensors. I’ll most likely add some other sensors later, but first I need to gain a better understanding of how everything works and get the basic setup up and running.

I currently control Heimdall directly from the Surveillance tile on my Homey dashboard, where I can choose Enabled, Disabled or Partially Enabled.

My goal is to build a reliable alarm system with the following behaviour:

  1. Arming and disarming: Receive a push notification confirming when the surveillance mode has been enabled or disabled.
  2. Open doors or windows when arming: Receive a warning if any door or window is still open when I enable the alarm, so I’m aware of it and can decide whether to close it or leave it open.
  3. Intrusion detection: If a door or window is opened while the alarm is armed and Heimdall triggers the alarm, I want to receive a critical push notification identifying the sensor or zone involved.
  4. Audible alarm: Activate an indoor and, preferably, an outdoor siren when an intrusion is detected.
  5. Disarming: When I disable the alarm, the siren should stop and I should receive a confirmation notification.

Once I have all of this working, I’d also like to understand whether it’s possible to create a dedicated alarm button or dashboard, or give my mother access to my Homey Pro specifically for the alarm functionality. That way, she could arm and disarm the alarm when she needs to come over, without having access to everything else in my smart home.

I’ve already created a few regular flows, but based on the feedback in the forum, I understand that it would be better to rebuild them using Advanced Flow. I’ve therefore deleted my existing flows and am now trying to build everything from scratch using Advanced Flow.

I’m still quite new to this, so my biggest challenge is understanding which Heimdall cards to use, how to connect them, and how to structure the different flows without creating conflicts or duplicate notifications.

If you were starting from scratch with this setup, which Advanced Flows would you create first, and which Heimdall cards would you use for each one?

I’d really appreciate any guidance or examples you could share. I’m keen to learn and get everything working properly! In my experience, once I understand the underlying idea and what each card does, I can usually figure out the rest myself.

Thanks again for taking the time to help!

Kind regards,
Katinka

Hi Katinka,

Sure, no problem. Just let me gather my thoughts a bit after the shocking news about Patrick Stewart :cry:

I don’t have an outdoor siren, or at least not linked to my smarthome… they just tend to upset the neighbours, and don’t really achieve much. Plus difficult to maintain mounted up high. I figure turning all the lights in the house on and blasting a couple of indoor sirens, while sending critical alerts to my mobile with snapshots from cameras would be enough.

When my head’s more with it I’ll knock up some example flows.

Kind regards

Andy

Hi Andy,

No worries at all, and I’m so sorry to hear the sad news about Patrick Stewart. :heart:

I’ve already created the first two flows, and they’re working. I’m now trying to figure out the next part: using the ‘Sensor active in alarm status’ activity to include the text of the active zones in the push notification.

The tag containing the zone information is available in the THEN/IF section, but for some reason I can’t get it to show up as an available variable in the THEN action where I want to use it in the push notification.

I’m still finding my way around Homey and Heimdall, so I’m learning as I go and trying to build a setup that works properly.

Thanks again for taking the time to help, I really appreciate it.

Kind regards,
Katinka

Hi Katinka,

If you’d like to share screen shots of what you have created so far, I’d be happy to give you pointers… it would also give me an idea of what you are trying to achieve (if you don’t want to share them publicly, feel free to send them in a message).

Kind regards

Andy

Have you switched to using Advanced Flows? I highly suggest it as it will make it way easier to understand your flows and you can see the information on the flow cards, what they actually do

I guess the card you mention (Sensor active in alarm status) is actually the card Sensor tripped in Alarmstate. That card is not ment to see which sensor triggered the Alarm State but, be able to track if other rooms/areas are entered while the Alarm State is active. One thing is very important to understand; The Surveillance Mode sets the disarmed, partially armed or armed mode. The Alarm State is when a sensor is tripped when in an armed mode, so the one to actually act upon.

You have to think the other way around for your desired intrusion detection. The fact is, when an intrusion is detected, Heimdall will set the Alarm State to true so you will have to use the The alarm is activated card and use the tags to see what caused it

In a flow:

To stop the alarm, there are several options. Click the Alarm Off button in the Homey app (optional device). Click the On/Off on the Surveillance Mode Switch (Required device)
It can also be done via a flow, choose your desired action to run the Deactivate Alarm card. (The start button is just an example here.

Make sure to detach the actions to take when the Alarm is deactivated. That way you will need only one flow with the actions to take when turning of the alarm regardless of the method you use:


(I’ve included a card that turns the led ring off just as an example, that can very well be a card turning of a sirene)

New version published

Version 2.13.0

  • Fixed false ‘did not report’ warnings at arming for sensors that hadn’t changed state
  • Added support for alarm_occupancy capability (handled as motion sensor)

This version is now live in the Homey App Store. Devices that report their state through the alarm_occupancy capability can now be used in Heimdall, so they can be added to your surveillance setup just like your other sensors.

Next update will add the alarm_presence capability

New version published

Version 2.14.0

  • Added support for alarm_presence capability (handled as motion sensor)

This version is now live in the Homey App Store. Devices that report their state through the alarm_pressence capability can now be used in Heimdall, so they can be added to your surveillance setup just like your other sensors.

@Drako74

Hi Danee,

Thanks, that’s working a treat, sensor found and added. Thank you kindly good sir :saluting_face:

Hi @DaneedeKruyff @Drako74,

Sorry for the delayed response – duty called! :wink:

I managed to get the flows working in Advanced Flow, so I’ll share them below. I’d really appreciate any feedback or suggestions you might have. I’ll also take some time to go through the flows you shared.

I’ll also be testing a new flow/card for when the alarm is triggered, which should switch on selected lights as part of the alarm response.

As mentioned earlier, I’m still looking into getting both an indoor and outdoor siren, as well as a physical keypad to control the alarm system.

Drago, thanks again for suggesting the Aeotec Siren 6! I’m definitely considering it for the indoor siren. I’m also looking into Ajax devices, for example this outdoor siren: https://www.robbshop.nl/ajax-streetsiren-zwart-buitensirene-met-instelbaar-volume

Does anyone have experience integrating Ajax devices with Homey/Heimdall? And what are your thoughts on this and their keypads?

I’m also very open to other suggestions for reliable indoor/outdoor sirens and a suitable keypad that work well with Homey and Heimdall.

One last question about the alarm itself: when the alarm has been triggered and the siren is going off, what’s the recommended way to silence/reset it? Do you simply disable the alarm and then enable it again when you’re ready, or is there another way to acknowledge and stop an active alarm without changing the overall armed status?

Thanks in advance for your input and suggestions!

cheers,

Katinka

I highly recommend the Aeotec indoor siren. As I mentioned, I have two, and they work great with Homey. And being Z-Wave and operating on a sub GHz frequency means they have decent range, and work well through a wall. They also have internal battery backup as well as USB power.

For a physical keypad, I have been researching that myself for my own setup… the one I have decided upon from both design & specs, and on-line reviews is the Frient:

It integrates well with Homey

Sorry, I don’t know anything about that manufacturer/brand.

@Tink, I agree with Drako74’s recommendations. I also use the Aeotec Indoor Siren (Z-Wave) and the Intelligent Keypad (Zigbee) from frient, and I’m very satisfied with both devices.
As my outdoor siren I use the Popp Solar Outdoor Siren 2 (Z-Wave), and I’m very happy with it. Unfortunately, it seems this siren is no longer available.