August lock bluetooth7/23/2023 ![]() Here are some commands: curl curl curl The status command might drain the battery - you can instead use the cached status command to get the last known status. You can use curl to interact and test the server. Now, all you need to do is run the server using node: You can configure the config.httpServerPort port to something other than the default 8080 if you wish. You can comment out the "config.httsServerPort" if you're not going to use SSL. Npm install bluebird debug noble underscoreĮdit the config.js file to include the offlinekey and offset. Use NPM to install some required packages:.Sudo apt-get install bluetooth bluez libbluetooth-dev libudev-dev nodejs npm git Sudo apt-get update & sudo apt-get upgrade -y Update to latest packages and then install some pre-reqs:.I also suggest changing the GPU memory split so that the GPU receives the least amount of memory (16MB). Configure Wi-Fi and anything else needed so you can connect via terminal (like SSHD).You won't need it once you have the key and key offset. Keep it in a safe place!Īt this point, you can uninstall the August Home app running on your rooted device. Record the offline key and offline key offset. data/data//shared_prefs/PeripheralInfoCache.xml To get the key, view this file in the rooted Android devices local filesystem:.Since you are already registered, it should get the info needed from their servers. ![]() Log into the app (I forgot to mention that you should have already registered an account in the official app and used it at least once to work with the Smart Lock using the regular smartphone Bluetooth method).You can use the usual search engines to find the APK like this. Install the latest August Home app APK (you will have to install it from the APK because the Play Store will not allow you to install the app on a rooted device).Once you have this key, the Raspberry Pi can communicate directly with the Smart Lock and not have to go to the Internet. This is required to copy the offline encryption key. You do need 1 more thing: A rooted Android device. It's super tiny and you don't need to use any of the GPIOs - you just need to give it power and configure it. The Raspberry Pi Zero W has Wi-Fi and bluetooth already built in. You only need a Raspberry Pi Zero W and some neat software I found on Github simply called Augustctl. There are a few problems I have with this:Ĭommunicating with the August cloud servers is kinda scary for me. You put this bridge near the lock inside of your home and you can now use the smart lock without having your phone near the lock. August also sells a Connect device which is essentially a Wi-Fi bridge. The August Smart Lock allows you to unlock a deadbolt with your smartphone. I'm writing this post now to describe it more in detail. I briefly mentioned the Wi-Fi bridge used for my August Smart Lock in my Control Practically Anything with Alexa post.
0 Comments
Leave a Reply. |