Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #333 from cpainchaud/master
Browse files Browse the repository at this point in the history
fixed an issue with SSL on port 80
  • Loading branch information
cpainchaud authored Oct 22, 2021
2 parents f92fd62 + 635a042 commit 76ecca4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions custom_components/reolink_dev/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ def __init__(
else:
self._use_https = config[CONF_USE_HTTPS]

if config[CONF_PORT] == 80 and self._use_https:
_LOGGER.warning("Port 80 is used, USE_HTTPS set back to False")
self._use_https = False

if CONF_TIMEOUT not in options:
self._timeout = DEFAULT_TIMEOUT
else:
Expand Down
2 changes: 1 addition & 1 deletion custom_components/reolink_dev/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Reolink IP camera",
"documentation": "https://github.com/fwestenberg/reolink_dev",
"issue_tracker": "https://github.com/fwestenberg/reolink_dev/issues",
"version": "0.32",
"version": "0.33",
"iot_class": "local_polling",
"requirements": [
"reolink==0.0.36"
Expand Down

0 comments on commit 76ecca4

Please sign in to comment.