I'll be installing a BT smart lock soon. A Yale Assure SL with WiFi/Bluetooth. It has a feature, they say, where it'll unlock automatically as you approach if you have your phone with you. Hmmm. I assume there is a Yale app that runs in the background on your phone that continually searches for a connection to the lock so that proximity is detected and then credentials are sent to the lock to cause it to unlock.
Is this the kind of thing we can write into a widget? It won't run continuously... but say I'm approaching my home. I can start the widget on my Fenix (which should run for a few minutes before it times out). And then as I approach the door, it'll sense the availability, pair with the lock, send the command, and unlock the door.
I haven't done any connection-oriented CIQ coding. And don't (yet) know anything about how BT/BLE handles authentication, connection sensing, command propagation, etc. But before I dive in... is this possible? Or, for example, Yale hides the credential mechanism so that we can't write a CIQ app that manages the lock state?