WebsocketLoxoneClient

Functions

Link copied to clipboard
abstract suspend fun <RESPONSE : LoxoneResponse> call(command: Command<RESPONSE>): RESPONSE
Link copied to clipboard
inline suspend fun <VAL : LoxoneMsgVal> LoxoneClient.callForMsg(command: LoxoneMsgCommand<VAL>): VAL
Link copied to clipboard
abstract suspend fun callRaw(command: String): String
Link copied to clipboard
abstract suspend fun callRawForData(command: String): ByteArray

Call given command and return response as raw data. Can be used to retrieve files, icons, etc.

Link copied to clipboard
abstract suspend fun close()