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

@Burningstone Insurance reasons only…

@mobile.andrew.jones That could work, yeah. I didn’t really think about that. the problem is if they come within the network range, change their mind and leave again.

@koying Valid point, but they are able to click the menu of Chrome and choose “Add to home page”, which is a lot easier than installing a new app from Play.

@lacikadnb That one I will have to check out, thanks!

I don’t know how happy your insurance will be if you have a webpage or similar that basically anyone can use without any authentication…

Have you considered getting a lock with a keypad and then you can text message friends with the code. This tied with proximity on your phone to unlock the door automatically will give you what you want. You could also go to RFID if needed.

@Burningstone if you don’t tell them about it I won’t… 0 chance for them to ever find out.

@AllHailJ It is a lock with a keypad, but for convenience (laziness) I want to do this.

As for webhook, it doesn’t seem to work with an URL in a browser because that uses a GET request while the webhook (at least the way I understand it) needs a POST.

Api service call but careful not to send password or tokens in clear

You could also use this to call notification on your side that you [OK] in notification action or add some.
I’m this case even call in clear may not be issue

In which case, they come in range and you send a notification with an action button to unlock the door. As long as the virtual HA you are having then use is on https then you can send a notification to the webapp.

Or for a less “intrusive” workaround -
When state has changed to away for more than 5 minutes and lock state is unlocked. Call service lock
(Pseudo code)

@tmjpugh I will check that out, thanks! And no, anything clear will be no issue. I have thought a little bit more and I think I may run and send the guests the link to a separate virtual Pi with Hass on my VMWare Server, with only single automation thing on it, which sends “unlock door” to the MQTT broker. Then I’ll only have the VM running when we have guests. So when the guests leave I’ll both shut Hass down and change the password on the guest account next time it’s in use.

@mobile.andrew.jones Thanks, I’ll have a look at that too.