Heimdall - Let Homey watch over your home

Nice one @DaneedeKruyff, showing the alarm state on the switch button. If you get this done might other app builders be able to show states of movement sensors, temp sensors etc. on the switches in the main view? Or is this prohibited by the sensor type/capability?

That depends on the type of information to be shown.
I asked Emile to revisit the request to enable community developers to show a value or indicator on a device tile (https://github.com/athombv/homey-apps-sdk-issues/issues/17) and he advised me to use the alarm_generic capability for this particular use case. That does indeed whats needed, it shows an indicator on the device tile, so that’s something that is possible right now.
The indicator is as is, no customisation possible (color or icon), and there is no way (yet?) to show temperature information and such however.

New version published

Version 2.0.13

  • Added Alarm indicator to Alarm Off Button
  • Added Alarm indicator to Surveillance Mode Switch

I’m very happy to announce that this new version enables the Alarm State Indicator on both the Alarm Off Button and the Surveillance Mode Switch


To make use of this new functionality you will have to remove and re-add the Alarm Off Button and Surveillance Mode Switch

Unfortunately is it still not possible for Community Developers to customise what is shown as an indicator on a device tile so it’s not possible to change the icon or color.

7 Likes

Great news! Would it be possible to have a card (or maybe another solution) like ‘When surveillance switch is pressed’? Then I could turn off an active alarm with a short click and change surveillance mode with long click on the same device/button, since both of them now show an active alarm? Would save some space among those favourite devices on the homescreen.

Better yet, I’ll look if it is possible now to add the capability the Alarm Off Button uses to the Surveillance Mode Switch without it interfering with it’s own function. (Tried this on V1.5 but that didn’t really work out as I wanted.)

4 Likes

New version published

Version 2.0.14

  • Improved dutch translations

In this version the Dutch descriptions for the different Surveillance Modes are changed from Geactiveerd, Gedeactiveerd and Deels geactiveerd to Ingeschakeld, Uitgeschakeld and Deels ingeschakeld to have a better distinction from the Alarm State because the old description was confusing.

@KvM

2 Likes

Very nice, think this might prevent some confusion for other Dutch users

Only the Dutch alarm button shows “schakel uit” as well. This should be “deactiveer” I think? In the flowcards everything seems correct after this update.

Good find, thanks. Will change it.

1 Like

Heimdall upgraded, Now I don’t get an “Alarm Uit” anymore!
Can someone tell me what I am doing wrong?

Hi @J_Pouwels, the latest update has only been an change in translations, no functional changes.
I don’t understand how you use Heimdall, I see you have a virtual switch (Alarm Huis) and from the looks of it you use that to trigger the alarm (Activeer Alarm)
It’s very important to understand that there is a Surveillance Mode and an Alarm state, if I understand your flows you are actually activating the Alarm State and not setting a Surveillance Mode

Please read the opening post and follow the instructions step by step, you don’t need any virtual devices to set a Surveillance Mode or Alarm state. And if you set the Surveillance Mode you also don’t need to start the Sensor Check (Controleer de status van alle sensoren) this is done automatically when using the Surveillance Mode.

(Btw, in your first flow any change of the Alarm Huis device will activate the alarm, you don’t evaluate a value (waarde) as you do in the second flow, so even if you intend to only run the second flow, the first flow will also run)

I want to use this with a virtual button because I can then turn the alarm on or off with only 1 button.

Ok, but do you understand you are activating the Alarm State but should be setting the Surveillance Mode?

(To make it more clear to you, in Dutch: Je zet dus niet de toezichtmode aan, waarin het openen van een deur of beweging het alarm af laat gaan, maar laat direct het alarm af gaan.)

New version published

Version 2.0.15

  • Added Alarm Off function to Surveillance Mode Switch

You can now also deactivate an Alarm State by (short) pressing the Surveillance Mode Switch just like you can on the Alarm Off Button. When you long press the Surveillance Mode Switch you will still be taken to screen to select the desired Surveillance Mode.

To make use of this new functionality you will have to remove and re-add the Surveillance Mode Switch.

@rindler

2 Likes

Wow, great!

I have used Heimdall in conjunction with HomeKit through the HomeyKit app and it has been working flawlessly. The surveillance mode switch in Heimdall was showed in Apple Home natively as an alarm system.

I just updated to 2.0.15 and did the remove/re-add and now the surveillance mode switch shows up in HomeKit as a switch… So no longer as an alarm system.

Hmmm that’s an unforseen side effect. Could you try deleting the Surveillance Mode Switch from Homeykit and add it again?
Usually a device will be created for every capability in Homekit, I’d like to see if this now also happens.

Deleted ad re-added through HomeyKit settings with no luck. Still only one device in Homekit - a switch…

Ok, thanks for trying, I’ll see what I can do to get it working again. Sorry for the inconvenience.

No worries and kudos for your great work!