SmartLock
1.0.0a
|
SmartLock is a project that aims to create a NodeMCU SmartLock that querries a server - made in Spring Boot - and that can be controlled through and iPhone as well as Android app, made in flutter. As such is composed by 3 different compiles, dependant on eachother.
Application Name | Location on project | Description |
---|---|---|
SmartLock Flutter App | ~/lock_app/ | Application that supports both Android and iOS, made in Flutter, used with your server account to access and manage your locks. |
SmartLock Spring Server | ~/server/ | Application containing a Spring Boot server that is used to control access to the locks, as well as opening and closing them. It also word as an auth door. |
SmartLock Arduino Client | ~/lockClient/ | Arduino-build app that runs on the Locks to query the server and open or close the lock on request. |
To use your SmartLock simply download the app from the AppStore or PlayStore. Register a new account and use the lock, as simple as that.
Locks -> Add Lock
and entering a Name as well as the lock UUIDLocks -> name of the new lock
Should you want to use your own version of the compilied apps, this are the steps used to compile them.
(all other dependencies are covered in pubspec.yaml)
Compile through the Arduino IDE and load into a ESP8266.
flutter run
to run it on an emulator. flutter build apk --split-per-abi
to generate the APKs.
As simple as gradle build
, and then run the generated JAR file