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.4.1'
}
- Run
./gradlew eclipse
- Import into eclipse
- Copy file
application.properties.template
toapplication.properties
and enter settings for your device. - Run example class
TestDriver
.
$ ./gradlew licenseFormatMain licenseFormatTest
Install to local maven repository:
./gradlew clean install
-
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 build check bintrayUpload -i
-
Create a new release on GitHub.
-
Sign in at https://bintray.com/ and publish the uploaded artifacts.