Loxone / LxCommunicator.NET

MIT License
9 stars 14 forks source link

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

Supported Frameworks

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.