Skip to content

kseb/fritzbox-java-api

 
 

Repository files navigation

fritzbox-java-api

Build Status Download

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).

Usage

  • Add jcenter maven repository:
repositories {
    jcenter()
}
  • Add dependency
dependencies {
    compile 'com.github.kaklakariada:fritzbox-java-api:0.5.0'
}

Run sample program

  1. Copy file application.properties.template to application.properties and enter settings for your device.
  2. Run example class TestDriver.

Generate / update license header

$ ./gradlew licenseFormat

Building

Install to local maven repository:

./gradlew clean publishToMavenLocal

Publish to jcenter

  1. Add your bintray credentials to ~/.gradle/gradle.properties:

    bintrayUser = <user>
    bintrayApiKey = <apiKey>
  2. Increment version number in build.gradle, commit and push.

  3. Run the following command:

    $ ./gradlew clean check bintrayUpload --info
  4. Create a new release on GitHub.

  5. Sign in at https://bintray.com/ and publish the uploaded artifacts.

About

Java API for managing FritzBox HomeAutomation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%