rudyberends / homebridge-loxone-proxy

Homebridge Dynamic Platform Plugin which exposes a Loxone System to Homekit
Apache License 2.0
12 stars 6 forks source link

https missing? #85

Closed PaulmichlJ closed 4 months ago

PaulmichlJ commented 8 months ago

missing the ability to connect to a miniserver who accepts only secured connection (443)

rudyberends commented 8 months ago

I have never tested it with a v2 miniserver, but we can probably make it work. Can you use an ip to connect to the miniserver, or does it have to be an DNS record?

PaulmichlJ commented 8 months ago

First of all THANK YOU SO MUCH FOR YOUR REPLY!Yes, I can use an IP with a dedicated port number. For example like 80.120.119.50:8106/ BUT it must be a https connection to pass firewall aso.

On 2024-02-23, at 14:45, Rudy Berends @.***> wrote: I have never tested it with a v2 miniserver, but we can probably make it work. Can you use an ip to connect to the miniserver, or does it have to be an DNS record?

rudyberends commented 6 months ago

The latest beta has an additional option in the config to enable https/tls. This will connect to the miniserver using https. However, the underlying LXcomunicator expects the certificate to be valid. So you need to connect using the hostname that matches the certificate and the certificate must be signed by a public CA. (not selfsigned).

Could you try it with your setup and let me now if it works for you? I am unable to test it myself.