Is it possible to trigger something from one icon on an Android phone's home screen?

I would like to be able to unlock the door just by pressing one icon on the home screen on my phone. Never mind the security implications, it’s as secure as anything, since the phone has biometric and PIN always activated, and I’m like a Texan with his gun, you’d have to pry it from my cold, dead fingers… :rofl:

But can I do that, and how? I have no problems setting up an extra instance of Hass on my VMWare server for that one function, if I need that.

1 Like

Yes it is possible:

Thanks for answering! But sorry, that doesn’t help. I don’t do Apple, and neither does my family, if they want me to let them into my house… :grimacing: Is there something like that for Android?

No idea. Moved your post to the appropriate category. Someone who uses Android may know.

OK, thanks! But I’m not so sure the cathegory is apporpriate, because I am looking for a way (synthax for a Chrome shortcut or whatever) to add a web shortcut or something, not an app that has to be installed in the phone of everybody new that visits me for a few days.

You should be able to change your title and post to indicate it is an Android phone and move it back to configuration. If not I can do it for you.

maybe get a nfc tag an scan it when you want to unlock?

Maybe this App?

@liviumac Thanks, but it’s kind of difficult to do on my way up to the house when I carry stuff in my hands from the car, not to mention that I would like something (I forgot to mention that, I’m afraid…) that I can send in a messenger message to guests. I already have tags for the door. I wish I could use the phone too, but the NFC in that changes for each time you scan it.

@tom_l Thanks, but as i said, without installing any apps.

@koying Thanks, if it’s not possible without any apps, then maybe that would be the closest? It’s impractical for guests, but at least I and my wife can use that for ourselves.

You want an icon on your phone to unlock your door without installing an app? :face_with_raised_eyebrow:

I understand you’re a Texan, but still, giving guests a way to open your front door without authentication is looking for troubles :wink:

@tom_l Yes. As of now I have a web address to a virtual HomeAssistant instance that I activate when we have guests and send them the link on Messenger, but with that they have to open chrome, click on the “open” and then close Chrome, I was hoping for a “silent” solution only clicking an icon without anything opening. My web server is quite impossible to find because I use a dyn service, and I change the name of the link page regularly. Not to mention that there’s nothing in the link page that says where the door actually is.

@koying Actually I’m Norwegian, the weapon was the Texans. And I’m not scared at all. First of all I am 100 kilos of motorcycle riding, bearded bully with a military history, and everybody in my very small town knows me, so nobody messes with me. :wink: Second, we have an 85 kilos mastiff and warning signs outside the garden, with “enter at your own risk”, and there’s never ben an attempt at a breakin even if a few of the neighbours have had breakins because travelling eastern european burglars (which do around 70 % of burglaries in Norway in the latest statistics I saw) are scared shitless of big dogs. Third Norwegian burglers are probably less high-tech than the ones in your area, if having a door “online” is a problem for you. As far as I know there has never been a breakin where they used a code lock, smashing a back window is so much easier.

1 Like

Is your lock integrated with HAS?
If so, can’t you just install the HAS app then use a widget to trigger an automation?

Read 3 posts up.

Why bother closing the door at all then? :rofl:

2 Likes

There’s this one time access addon, but it’s not much simpler than what you have now.

If you don’t want them to have to install an app, and it’s clearly not possible without them installing an app. Then the only solution that you have left is to to use automations to scan for their phone arriving back on the network after it has left and unlock the door when Hass recognises that they have returned (but continue to use the Chrome instance as a backup)

Fact is, I don’t see how you could add an icon on your friends phone without any app installed on their side, so there will be “inconvenience” on their side, anyway.

With the HA rest API, you should be able to provide a link without any UI via your web server a bit of, e.g., PHP.

See the POST “api/states/<entity_id>” /api/services/<domain>/<service>

why not use the webhook?

1 Like