Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.45 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.45 KB

build GitHub codecov

homie-java

A Java implementation of the Homie Convention.

works with MQTT Homie

Features that are currently supported:

  • Basic device behavior and state machine
  • Required homie attributes
  • Nodes and properties
  • Settable properties
  • Broadcasts

Installation and Usage

Currently, no builds are uploaded to a build server. You will have to add the following lines to your gradle project configuration to ensure that homie-java is built from source together with your project:

build.gradle:

dependencies {
    implementation('io.github.dschanoeh:homie-java') {
        version {
            branch = 'master'
        }
    }
}

settings.gradle:

sourceControl {
    gitRepository("https://github.com/dschanoeh/homie-java.git") {
        producesModule("io.github.dschanoeh:homie-java")
    }
}

See ExampleUsage.java for an example how the homie client can be used.