Java API for managing FritzBox HomeAutomation using AVM Home Automation HTTP Interface inspired by grundid's fritzbox-java-api. This also runs on Android devices (see Andect).
- Add jcenter maven repository:
repositories {
jcenter()
}
- Add dependency
dependencies {
compile 'com.github.kaklakariada:fritzbox-java-api:0.5.0'
}
- Copy file
application.properties.template
toapplication.properties
and enter settings for your device. - Run example class
TestDriver
.
$ ./gradlew licenseFormat
Install to local maven repository:
./gradlew clean publishToMavenLocal
-
Add your bintray credentials to
~/.gradle/gradle.properties
:bintrayUser = <user> bintrayApiKey = <apiKey>
-
Increment version number in
build.gradle
, commit and push. -
Run the following command:
$ ./gradlew clean check bintrayUpload --info
-
Create a new release on GitHub.
-
Sign in at https://bintray.com/ and publish the uploaded artifacts.