Closed dony71 closed 2 years ago
That appears to be a problem with your network and not the integration. If the certificate is bad you might be being "Man in the Middled" MITM.
any idea what i should do to debug this?
It's also possible that Wyze is just experiencing issues. I've had sign-in problems multiple times since owning my Wyze products. If you sign out of your account in their app, are you able to sign back in from the same connection? (obviously, barring a MITM attack)
no problem signing out from ios app and signing back in from the same location
no problem signing out from ios app and signing back in from the same location
Just doing a quick google search (since this is a problem stemming from aiohttp and your python install, not this integration), brought me to this answer: https://stackoverflow.com/a/53310545
are you running this on a mac?
hass running on raspberry pi hass behind nginx reverse proxy with letsencrypt dns
Yeah, makes sense. I run a similar setup using dockerswag.
You may also want to check that some of the fixes here: https://stackoverflow.com/questions/35569042/ssl-certificate-verify-failed-with-python3 don't help.
Just curious, to narrow things down to whether it's a system-wide SSL issue, or if it's a problem with just python can you pull from https pages with curl like below?
curl -k https://raw.githubusercontent.com/JoshuaMulliken/ha-wyzeapi/master/info.md
curl -k https://raw.githubusercontent.com/JoshuaMulliken/ha-wyzeapi/master/info.md
<!--
SPDX-FileCopyrightText: 2021 Joshua Mulliken <joshua@mulliken.net>
SPDX-License-Identifier: Apache-2.0
-->
# [Wyze Integration for Home Assistant](https://github.com/JoshuaMulliken/ha-wyzeapi)
This is a custom component to allow control of various Wyze devices in Home Assistant using the unofficial API. Please
note this mimics the Wyze app and therefore access may be cut off at anytime.
### Highlights of what **WyzeApi** can do
* Control Wyze Bulbs as lights through HA
* Control Wyze Plugs as switches through HA
* Use Wyze Cameras as motion sensors
* Turn on and off Wyze Cameras
* Lock, unlock, and view status of lock and door for the Wyze Lock
## Support
If you feel like my work has been valuable to you I welcome your support through BuyMeACoffee!
<a href="https://www.buymeacoffee.com/joshmulliken" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a>
## Useful Links
* [README](https://github.com/JoshuaMulliken/ha-wyzeapi/blob/master/README.md)
* [Repository](https://github.com/JoshuaMulliken/ha-wyzeapi)
curl -k https://raw.githubusercontent.com/JoshuaMulliken/ha-wyzeapi/master/info.md
<!-- SPDX-FileCopyrightText: 2021 Joshua Mulliken <joshua@mulliken.net> SPDX-License-Identifier: Apache-2.0 --> # [Wyze Integration for Home Assistant](https://github.com/JoshuaMulliken/ha-wyzeapi) This is a custom component to allow control of various Wyze devices in Home Assistant using the unofficial API. Please note this mimics the Wyze app and therefore access may be cut off at anytime. ### Highlights of what **WyzeApi** can do * Control Wyze Bulbs as lights through HA * Control Wyze Plugs as switches through HA * Use Wyze Cameras as motion sensors * Turn on and off Wyze Cameras * Lock, unlock, and view status of lock and door for the Wyze Lock ## Support If you feel like my work has been valuable to you I welcome your support through BuyMeACoffee! <a href="https://www.buymeacoffee.com/joshmulliken" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-orange.png" alt="Buy Me A Coffee" style="height: 51px !important;width: 217px !important;" ></a> ## Useful Links * [README](https://github.com/JoshuaMulliken/ha-wyzeapi/blob/master/README.md) * [Repository](https://github.com/JoshuaMulliken/ha-wyzeapi)
That means that it's just something with python then.
Try the pip command here maybe? https://stackoverflow.com/a/43855394
Ultimately, I'm just guessing though. Something with your python installation is broken...
Were you able to get your environment fixed?
These kinds of issues are why I started running the home assistant docker container. It gets old trying to figure out why something just randomly breaks in your environment. Docker containers are way better about that not happening.
I'm going to go ahead and close this since it's not an integration issue and once your python environment is fixed it will resolve itself.
FYI The problem is when running hass in virtual env using systemd But if I run manually like /srv/homeassistant/bin/hass -c "/home/homeassistant/.homeassistant" then it's working I don't understand why
Try to install Wyze Home Assistant Integraion on Home Assistant 2021.10.6 Get error after put login and password