Safety Monitor and the Dashboard

If your dashboard is being displayed by your door (tablet or some other device), Hubitat now has the ability to Password Protect any Individual Tile, through the use of Global Variable Connectors.

I also did not like the HSM secondary window, and would rather just have one tile to push to disarm the alarm. Since my dashboard is displayed on the wall in my back foyer, I needed this tile to be password protected. With Global Variable Connectors you can now have a tile, that when pushed prompts you to enter a password, once the password is entered any rule you can make in Rule Machine will execute. I am very happy they added this feature.

For detailed instructions: Guide on How to Create a Password Protected Tile

6 Likes

@jimmorganis @naptorres If you are having problems assigned buttons to arm and disarm your alarm. First create the virtual buttons in device manager. Here is an example of a virtual button I created called "Press to Disarm". Notice I only assigned one button (button 1) to the device.

Your next step would be to assign the buttons you created in HSM, notice I created 3 virtual buttons. And lastly add the button to your dashboard, make sure you assign the correct button number to it. In my case I made all 3 buttons only have 1 button that is labelled "1" so in dashboard, make sure button "1" is being pushed.aaa

Thank you! Very helpful I have it going now.

Thank you! I actually followed all those steps exactly in that order originally, but I couldn't get it to work on my dashboard. What I ended up doing to get it to work on the weekend we create a virtual button (like in your steps) but using the button controller app to get it to set the status for HSM. Now its working and I didn't have to set the button control in HSM.

1 Like

This is amazing!! Just what I was looking for!
Is there a way that once I click the tile the "string" will be erased automatically and I just have to punch in the code?

For detailed instructions: Guide on How to Create a Password Protected Tile

I write the rule in the same way and it works great. The only issue (if you can call it an issue), is that when I press the tile to enter the code, I have the "Enter Code:" string I need to erase and replace for the code...

you do not need to erase the string "Enter Code:". If your code is 1234 and your rule is looking for the entry: "Enter Code:1234" , then you do not need to erase the string. If you write your rule different than the one I made and your rule is looking for the entry "1234", then yes you would have to erase the string and replace with the code, but why do that.

Show your rule, if you wrote it like the way I showed there is no need to erase the string.

Another way to state it is that my disarm code is "1234", that is the number sequence that I and my wife need to remember to disarm with that tile. But the rule is not looking for me to enter "1234" in the tile's string,(in order to disarm the alarm), it is looking for me to enter "Enter Code:1234". I don't have to worry about remembering or entering the first part of the string "Enter Code:", since it is always displayed by the tile. I simply need to press the tile and add 1234 onto the end of the existing string so it reads: "Enter Code:1234", this is what the rule looks for and executes appropriately.

Aha...I see what you mean. Thanks for the explanation!

If anyone else comes across this thread and can't figure out how to link the dashboard tile to a global variable refer to this topic

I'm trying to set this up and having a heck of a time. I've got the GV and rule as shown above but how do you link it to a tile?

I guess i am dumb, what am i missing...how do you get the "enter code" tile to appear?

I assume you're referring to the HSM code to appear on a dashboard?

Goto: Apps, Hubitat Dashboard, select the dashboard you want, select Advanced (towards the bottom, enter the PIN you want to use.

Now when you try to change the HSM mode you will be prompted for a code.

no i mean he has the enter code tile on the dashboard...i want to pin protect the tile like the OP said in this forum:

the green tile in this pic from the above poster:

The tile isn't PIN protected, it's allowing you to enter a PIN.

You would select a variable tile as the template.
image
I hope this is what you meant.

this makes no sense to me at all...what am i missing?

image

image

image

For the device type you would select the global variable connector that you set up. What device did you select for the string variable tile?

Edit: you need to make sure the global variable is shared with the dashboard you are setting up. By default all devices should be shared but if you disabled 'Use all your devices' you will need to manually select it for that dashboard.

what is missing that i found is you need to select the name of the GV in your dashboard then select what type it is...i dont see where anyone has said this on this thread:

i know have it showing even thought the rule is not working (but ill look at that later)

  1. Identify your GV name:

image

  1. In the dashboard, add a tile, then select a device using the name of your GV and then select Var. String as the template:

  1. After you add your tile, you will now get the "Enter Code" tile

1 Like

FYI... i spent the last 4 hrs looking for this solution...glad its slow at work today :laughing:

1 Like

You must be joking, the post above provides a link to the best how-to concerning adding a Global Variable tile to a dashboard. Glad you got it working.

Anybody need an up to date guide on how to do this, it can be found here: Guide on How to Create a Password Protected Tile

2 Likes