I want to lock unlock a door from my android phone as fast as possible, without having to open the companion app and do multiple touches.
I read that there are several ways (quick settings/widgets/shortcuts) but I’m a little lost about which is the simplest and faster one. I want to be able to lock/unlock only if the device has been unlocked.
I’ve made a widget button for my kids like this, unlock and it shows in homescreen.
A script behind button triggers the door open.
Security : the script checks if person is in Home area to prevent unwanted opening