Smarteon / loxone-java

Java implementation of the Loxone™ communication protocol (Web Socket)
BSD 3-Clause "New" or "Revised" License
15 stars 10 forks source link

TLS connection (WSS) #183

Closed diegoInforapps closed 2 years ago

diegoInforapps commented 2 years ago

Hi,

I would like to know if the library allows to connect with the miniservers using the TLS protocol through WSS.

Thanks in advance.

jimirocks commented 2 years ago

Yes it does, just use the right LoxoneEndpoitn parameters: https://github.com/Smarteon/loxone-java/blob/4eb27285fef646f4159dc2e42f3fad313f56d22d/src/main/java/cz/smarteon/loxone/LoxoneEndpoint.java#L58