An Android library implementation of the Decentralised Home Automation Protocol
This repo includes and example application which can perform all of the basic functionality needed to control DHAP compliant IoT devices. To use the example application, simply clone this repo and open it in Android Studio. From there you can compile and run the example app on your Android device.
Visit the documentation website for more detailed installation instructions.
- Android API 17+
- Android Studio 3.0+
Step 1: Add the JitPack repository to your root/project build.gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io/' }
}
}
Step 2: Add the dependency by including it in your module's app/build.gradle
dependencies {
...
implementation 'com.github.decentralised-home-automation-protocol:DHAP-Android:0.2.0'
}
Step 3: Add Java 1.8 compatibility. Add the following compileOptions to your app/build.gradle
android {
...
compileOptions {
targetCompatibility JavaVersion.VERSION_1_8
sourceCompatibility JavaVersion.VERSION_1_8
}
}
Visit the documentation website for usage instructions and API details.
This project is licensed under the MIT License
- Tyler Steane - Initial work
- Aiden Garipoli - Creator / Maintainer
- Daniel Milner - Creator / Maintainer