Closed jakommo closed 4 years ago
I am not sure if https is supported with the amcrest integration, so this may be a feature request.
amcrest documentation amcrest source (message by IssueLinks)
Hey there @pnbruckner, mind taking a look at this issue as its been labeled with a integration (amcrest
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
The amcrest
PYPI package that the HA amcrest
integration uses does provide a way to specify the use of HTTPS, as well as to specify whether or not SSL certificates will be verified. However, the amcrest
integration, to my knowledge, has never supported those features. So, yes, this would be a feature request.
Thank you for reaching out. We use GitHub for tracking issues, not for providing support or tracking feature requests.
If you want to suggest a feature, you should try our Community Forum: Feature Requests.
If you have additional questions, feel free to join our Discord chat server.
Thanks! 👍
The problem
I setup the amcrest component and it resulted in warnings like the following
and did not make my cam available in HA.
After enabling debug logging for
amcrest.http
I saw the following request being made:Note the
http://
but using port443
.After removing port 443 from my config and using default port 80, it started to work.
My assumption was that using
port: 443
would also make it connect viahttps
and it took me a while to figure out that this was the cause of the failing connections.I would still prefer to connect via https, but haven't seen any option that would enable this. Does the integration support https at all? If not then I can do a PR to update the doc to make this more clear htat using port 443 will not make it use https. Not sure if this is a bug or feature request.
Environment
Problem-relevant
configuration.yaml
Traceback/Error logs
Additional information