Java API for managing FritzBox HomeAutomation using AVM Home Automation HTTP Interface inspired by grundid's fritzbox-java-api.
Due to the deprecation of JCenter new versions will be published to Maven Central. In your build script please use
repositories {
mavenCentral()
}-
Add Maven Central maven repository:
repositories { mavenCentral() } -
Add dependency
dependencies { compile 'com.github.kaklakariada:fritzbox-java-api:2.0.0' }
<dependency>
<groupId>com.github.kaklakariada</groupId>
<artifactId>fritzbox-java-api</artifactId>
<version>2.0.0</version>
</dependency>-
Create file
application.propertieswith the following content and enter settings for your device:fritzbox.url = https://fritz.box fritzbox.username = user fritzbox.password = secret
-
Run example class
TestDriver.
./gradlew licenseFormat./gradlew dependencyUpdatesAdd the following to your ~/.gradle/gradle.properties:
ossIndexUsername = <user>
ossIndexToken = <token>./gradlew ossIndexAuditInstall to local maven repository:
./gradlew clean publishToMavenLocal- Checkout the
mainbranch, create a new branch. - Update version number in
build.gradleandREADME.md. - Add changes in new version to
CHANGELOG.md. - Commit and push changes.
- Create a new pull request, have it reviewed and merged to
main.
- Start the release workflow
- Run command
gh workflow run release.yml --repo kaklakariada/fritzbox-java-api --ref main - or go to GitHub Actions and start the
release.ymlworkflow on branchmain.
- Update title and description of the newly created GitHub release.
- After some time the release will be available at Maven Central.