Homey Community Forum

Heimdall - Let Homey watch over your home

Here is the output.
I think this is working correctly also with a conformation question.

03-05-2021 13:03:35.230 Deels ingeschakeld Alarm Uit knop Alarm is gedeactiveerd.Alarm Uit knop
03-05-2021 13:03:28.214 Deels ingeschakeld Heimdall Alarm is geactiveerd. Sensor Achterdeur: Geopend
03-05-2021 13:02:28.777 Deels ingeschakeld Flowcard DELAY Message: Sensor Achterdeur: Geopend
03-05-2021 13:02:28.117 Deels ingeschakeld Heimdall Alarm activatie is uitgesteld: 60 seconden.
03-05-2021 13:02:28.117 Deels ingeschakeld Heimdall Sensor Achterdeur in 1.1 Woonkamer activeerde Alarm.

Ok, so the problem isn’t in the trigger card from Heimdall but in the rest of the flow. You could try to add the Send text to Heimdall to your original flows to maybe get a better idea of what is going on.
You could als try to add the card Send information to Timeline (Stuur informatie naar Timeline) to be informed, easier than checking the log :wink: , but information to the Timeline can be rate limited by Homey so that’s not 100% reliable.

I’m using paper trails to send after a flow is triggered.
I think what I’m doing wrong is the conformation question. Originally it was send to me and my girlfriend. I think homey doesn’t like that.

Yes, the conformation question can be a real bugger :wink:

Thanks for your help! You’ve made a really nice app!

1 Like

New version published.

Version 2.1.0

  • Added User Management

It’s been a bit quiet around Heimdall for a while, but I have great news! In this new version I’ve introduced User Management. Wow, great news, what can I do with it You’ll ask, and the answer is… Well, nothing useful yet!
This new functionality makes it possible to use physical keypads with Heimdall but there are no apps yet for keypads that use this functionality.
Yet that is. I’m currently working on finalising an app that will let you add a full blown Alarm Keypad to your Homey and this will integrate with Heimdall. You’ll need no flows, just create users, configure some settings to your likings and you’re done!

Q: How do I setup my users?
A: Open the Heimdall settings and click on Users. When it’s the first time you open this tab you can create your first users, when you’ve been there before you will need to provide a PIN.

Your first user will always be Administrator and can never be Disabled or Deleted. All other users can be Administrator, and can be Disabled or Deleted.
Each user that is not an Administrator can go into the Users tab and change it’s own PIN but will not be able to change other settings or see other Users.

After saving you will see the Users List and you can create more users by clicking on + Add user.
When you want to edit an existing user, simply click on > next to the users name.

Are you a developer and would like to know how to make an app capable of utilising this functionality or just interested in how this works, have a look at the Heimdall Wiki page on Github.

9 Likes

Thanks, @DaneedeKruyff !
That will be a GREAT addition to Heimdall!
Thanks for spending all this time and effort to these apps and the community here… :+1:t2::smiley:

2 Likes

Would be great if there is a way to create a numpad based on wall-mount tablet…

2 Likes

I’m looking forward to this extra functionality and will buy the hardware for sure. Now I’m using NFC, but the newer and PRO Homey’s don’t have that functionality.

Hi,
A short question regarding the new user management functionality:
How can a non-administrator change it’s own pin?
My non-administrator’s do not have access to open the Heimdall app configuration.

Minimum requirement for a user being able to change his/hers own PIN is access to Heimdalls configuration. The non-administrator designation here is not tied to the users status in Homey but its role in the User Management in Heimdall

Hi @DaneedeKruyff
Now I realize that a normal “user” do not have access to Heimdalls configuration. I need to give them the “manager” role.
Also, I realize that the pin code in Heimdall must be unique for each user. Otherwise the users can change other user’s pin.
Please correct me if I’m wrong?

For secuity reasons, is it possible to printout “*” instead of the actual number on the screen when entering the pin?

You make a list, create all unique pin’s and give them to the Homey users, and save it for yourself in an encrypted password database (keepass for example). Users don’t know the pin from someone else, and you “forget” them

How often do users need to change their pincode? Do you run commercial business services with homey and Heimdall? For private home users the pin change can always be done by the administrator, when ever is needed (almost never).

@DaneedeKruyff Thanks for further developing this already great app! Do I get it correct that user management setup is currently (before the hardware numpad functionality is there) only to restrict non-admin users access to Heimdall settings? Is it possible to restrict also the arming / disarming action (via Surveillance Mode Switch) to users only (i.e. require pass to be entered to arm / disarm)?

@hluhr Yes, the PIN is the unique identifier, that’s correct. There is no easy way to retrieve a PIN or reset User Management so I choose not to hide the PIN for now, it’s on my list to work that out. When you enter your PIN, just make sure no-one is watching over your shoulder (Which is always good advice to do when entering any PIN or password :wink: )

@leman No, the User Management is purely for future use with physical keypads. To restrict access to Heimdalls settings you must use the roles for users within Homey.

@DaneedeKruyff What I meant is that anybody can deactivate (set to “disarmed”) the surveillance mode, even a “guest” user.

I have an Android tablet-based dashboard that is logged in as dedicated “guest” user. I’d not like to set a pass for the device itself so that anyone can 7se it to control my smart devices directly, but an option do disable the surveillance from it with no pass needed is a bit of security loophole in my setup.

That’s true, when someone has access to the Surveillance Mode Switch he or she can change the Surveillance Mode without the need to enter a PIN. That’s unfortunately something beyond my control. An app developers can’t change UI elements in the Homey App or Homey Web App.

My advice would be to secure the access to the (dashboard) device or make sure the Surveillance Mode Switch is not available on a dashboard to which unauthorised persons have access.

@DaneedeKruyff Thanks for your prompt feedback - would be actually nice for Athom to introduce a dedicated alarm switch device with built-in numpad. I guess it would be equally popular to garage door device which is apparently in the works…

Thanks @M_a_r_c_o
I agree with you that the users do not need to have access to change the pin.

@DaneedeKruyff, many thanks for the quick response and the great new functionality. :slightly_smiling_face: