Skip to content

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

License

Notifications You must be signed in to change notification settings

thomas-hutterer-tik/loxone-java

 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 70.1%
  • Groovy 27.9%
  • Kotlin 1.9%
  • Shell 0.1%