/loxone-java

Java implementation of the Loxone™ communication protocol (Web Socket)

Primary LanguageJavaBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

loxone-java Maven Central codecov

Java implementation of the Loxone™ communication protocol (Web Socket)

Disclaimer: This library is in early stage of development - public APIs are subject to change. Any feedback or help is welcomed.

Usage

Maven

<dependency>
    <groupId>cz.smarteon</groupId>
    <artifactId>loxone-java</artifactId>
    <version><!-- desired version -->></version>
</dependency>

Gradle

compile group: 'cz.smarteon', name: 'loxone-java', version: 'desired version'

or

implementation("cz.smarteon", "loxone-java", "desired version")

Quick start

LoxoneHttp loxoneHttp = new LoxoneHttp(address);
LoxoneWebSocket loxoneWebSocket = new LoxoneWebSocket(address, new LoxoneAuth(loxoneHttp, user, password, uiPassword));

loxoneWebSocket.sendCommand(...);
...

Study examples for detailed usage information.

Development & Contributions

Start by generating gradle wrapper binaries (using local gradle installation)

gradle wrapper

Note: Build currently requires JDK 8