Introduction: Multi-factor Authenticated Smart Lock (relay) Using Intel Edison and Biomio Authenticator
This integration shows a reference smart door lock implementation on Edison using Biomio authenticator.
Here's the basic flow:
- Edison-powered controller detects LE Bluetooth presence from nearby phone
- An authentication challenge is sent via Biomio authenticator app
- A relay is triggered if the authentication is successful
Step 1: Get the Components Ready - BOM
For this project we're using:
Total Cost roughly $130 US
Step 2: Register Biomio Authenticator Account If You Don't Already Have It and Download the Authenticator App
Biomio provides an easy-to-use authenticator with good integration options..
Register an account at Biom.io
Download iphone app here: https://itunes.apple.com/us/app/biomio/id104456287...
Step 3: Configure Edison
- Power up Intel Edison Module.
- Connect Intel Edison Module with Wifi
- Install Biomio node.js libraries
- get the right private key from Biomio for your account
- edit app.js with the right email address (line 42)
Step 4: Simulate Phone Presence Detection
Install LightBlue or another application that simulates LE Bluetooth signal.
Enable a virtual peripheral called "Find Me"
Bring the phone close to the board
Step 5: Authenticate Using Biomio Authenticator
Once the presence is detected via LE Bluetooth, Biomio Authenticator API is triggered, prompting you to open the authenticator app.
(Depending how you set it up, you can authenticate with TouchID or through face recognition)
Step 6: The Relay Should Open Upon Successful Authentication
Step 7: Connect Electric Door Lock or Another Relay-controlled Device
Garage door opener is another good use case for this integration.