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.
<dependency>
<groupId>cz.smarteon</groupId>
<artifactId>loxone-java</artifactId>
<version><!-- desired version -->></version>
</dependency>
compile group: 'cz.smarteon', name: 'loxone-java', version: 'desired version'
or
implementation("cz.smarteon", "loxone-java", "desired version")
LoxoneHttp loxoneHttp = new LoxoneHttp(address);
LoxoneWebSocket loxoneWebSocket = new LoxoneWebSocket(address, new LoxoneAuth(loxoneHttp, user, password, uiPassword));
loxoneWebSocket.sendCommand(...);
...
Study examples for detailed usage information.
Start by generating gradle wrapper binaries (using local gradle installation)
gradle wrapper
Note: Build currently requires JDK 8