Currently, the plugin doesn't support communicating with a Hubitat hub using SSL exclusively, as documented in this community post. This PR introduces support in util_http.js to detect that an https: URL protocol is configured in the plugin's app_url and makes the appropriate adjustments for that.
Currently, the plugin doesn't support communicating with a Hubitat hub using SSL exclusively, as documented in this community post. This PR introduces support in
util_http.js
to detect that anhttps:
URL protocol is configured in the plugin'sapp_url
and makes the appropriate adjustments for that.protocol
from URLapp_port
to 80 | 443