Package-level declarations

Types

Link copied to clipboard
object Codec
Link copied to clipboard
Link copied to clipboard
interface CommandSupplier<out R : LoxoneResponse, out C : Command<R>>
Link copied to clipboard

Loxone client using HTTP for communication.

Link copied to clipboard
interface LoxoneAuth

Represents Loxone authentication method.

Link copied to clipboard
interface LoxoneClient
Link copied to clipboard
data class LoxoneClientSettings @JvmOverloads constructor(val tokenPermission: TokenPermission = TokenPermission.APP, val clientId: String = DEFAULT_CLIENT_ID, val clientInfo: String = DEFAULT_CLIENT_INFO, val killTokenOnClose: Boolean = true)
Link copied to clipboard

Central registry of Loxone commands.

Link copied to clipboard
data class LoxoneCredentials @JvmOverloads constructor(val username: String, val password: String, val visuPassword: String? = null)
Link copied to clipboard
data class LoxoneEndpoint @JvmOverloads constructor(val host: String, val port: Int = HTTPS_PORT, val useSsl: Boolean = true, val path: String = "")

Loxone connection endpoint representation.

Link copied to clipboard
class LoxoneException(message: String, cause: Throwable? = null) : Exception
Link copied to clipboard
Link copied to clipboard
data class LoxoneProfile @JvmOverloads constructor(val endpoint: LoxoneEndpoint, val credentials: LoxoneCredentials? = null)
Link copied to clipboard
interface LoxoneResponse
Link copied to clipboard
object LoxoneTime

Utilities supporting Loxone miniserver specific time handling.

Link copied to clipboard
class LoxoneTokenAuthenticator @JvmOverloads constructor(profile: LoxoneProfile, repository: TokenRepository = DEFAULT_TOKEN_REPO, settings: LoxoneClientSettings = LoxoneClientSettings())
Link copied to clipboard
abstract class NoResponseCommand @JvmOverloads constructor(val pathSegments: List<String>, val authenticated: Boolean = false) : Command<Nothing>

Skeleton for commands which have no response from Loxone miniserver.

Link copied to clipboard
interface TokenRepository
Link copied to clipboard

Functions

Link copied to clipboard
inline suspend fun <VAL : LoxoneMsgVal> LoxoneClient.callForMsg(command: LoxoneMsgCommand<VAL>): VAL