nibi79 / worxlandroid

openHAB Binding for Worx Landroid
60 stars 20 forks source link

Use Java Proxy Settings #51

Open mitch-geht-ab opened 4 years ago

mitch-geht-ab commented 4 years ago

Hi, I'm using OH2 behind a Firewall in an own net segment (VLAN) with no route to the internet. Means bindings or applications in this segment have to use a proxy (squid in my case). The OpenWeatherMap Binding and PushBullet Action are respecting the java settings for proxy. Unfortunately your Binding doesn't. Could you imagine to add Proxy support?

My OH2 installatin is running on Debian 10. Here are my Proxy Settings for Java:

root@ivy:/etc/openhab2# cat /etc/default/openhab2 |grep proxy
EXTRA_JAVA_OPTS="-Dhttp.proxySet=true -Dhttp.proxyHost=prx.xxxxxxxxx.de -Dhttp.proxyPort=8080 -Dhttps.proxySet=true -Dhttps.proxyHost=prx.xxxxxxxx.de -Dhttps.proxyPort=8080"

BR Mitch