OlegAndreych / homie-java

A Java implementation of the Homie Convention

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Travis (master)

homie-java

A Java implementation of the Homie Convention (https://github.com/homieiot/convention).

The implementation is WIP but already usable. The core features are implemented.

Features that are currently supported:

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

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.

About

A Java implementation of the Homie Convention

License:MIT License


Languages

Language:Java 100.0%