Skip to content

Loxone/LxCommunicator.NET

Repository files navigation

LxCommunicator.NET v0.9.5

This library exposes all necessary classes to establish a secure and encrypted connection to a Loxone Miniserver. LxCommunicator can be installed using NuGet

Disclaimer

  • Loxone Electronics GmbH doesn't provide any support for this library
  • Please submit an issue or file an pull request if you find any issue

Supported Frameworks

  • .Net 6.0
  • .Net Framework 4.7.2
  • .Net Standard 2.0

Use LxCommunicator.NET

Use the namespace Loxone.Communicator and in case of handling events via websocket also Loxone.Communicator.Events The libary manages the requiring and refreshing of token authentication. Storing, loading and killing of tokens needs to be implemented by the application layer.

Use WebsocketWebserviceClient

The WebsocketWebserviceClient class handles a websocket connection with a Loxone Miniserver including token authentication and encryption. With this WebsocketWebserviceClient implementation it is possible to receive live updates from the Loxone Miniserver via StateEvents Example: .\LxCommunicator.NET.Example.Websocket\LxCommunicator.NET.Example.Websocket.csproj

Use HttpWebserviceClient

The HttpWebserviceClient class handles a Http webservice request with a Loxone Miniserver, including token authentication and encryption.
With this WebserviceClient implementation it is NOT possible to receive live updates from the Loxone Miniserver. Use WecbsocketWebserviceClient instead. Example: .\LxCommunicator.NET.Example.Http\LxCommunicator.NET.Example.Http.csproj

Note
Every Webservice that needs authentication is sent as encrypted webservice.
The Loxone Miniserver does not support encryption on every webservice, for example binary files or images are not supported.
For more detail please see our API documetation.