Hi there,
I have done it this way. for a locking device as well as BLE device pairing also.
this is the tech involved it’s extremely reliable and requires almost no power with sleep mode being used. I can use a card for access VIA the phones NFC reader.
(insert video) WIP.
Near Field Communication (NFC) tags can be used to configure Wi-Fi so that users can connect to a network without needing to enter a password. This can be useful for allowing guests to connect to Wi-Fi at a home or business without sharing the password.
Here are some steps for using NFC to configure Wi-Fi:
- Turn on NFC on your phone
- Go to Settings, then Connections, and then Wi-Fi
- Long press on the network you want to connect to
- Select NFC tag from the menu that appears
- Enter the password for the network
- Touch your phone to the NFC tag to write the Wi-Fi profile to it
You can also use an app like NFC Task Launcher to program an NFC tag with your Android device.
Also works with Google and Alexa.
HTH
GL PJ