Code Monkey home page Code Monkey logo

Comments (18)

k-rock avatar k-rock commented on August 16, 2024 1

from ha-eufy-security.

chrmart5 avatar chrmart5 commented on August 16, 2024 1

Turning off 2FA worked to get the integration set up but now I'm getting the same error logs as above. Tried on V 1.0.0b6 as well as 2020.12.7

from ha-eufy-security.

davida72 avatar davida72 commented on August 16, 2024 1

This fix worked for me.

Edit: fixed URL.

from ha-eufy-security.

mydevbox avatar mydevbox commented on August 16, 2024 1

I was able to get my cameras working again. Turned out that the code edit had a TAB in it instead of 8 spaces. As soon as I corrected that and restarted HA, my camera entities appeared. Though, I am now getting bunch of warnings in the logs as shown below.

Here's what fixed it for me:

  1. Had to add a space to the end of my email at the prompt. I'm not sure if I added the space when creating my account or if that's Eufy's issue
  2. Had to apply the code fix that @davida72 listed https://community.home-assistant.io/t/eufy-camera-integration/121758/383?u=davida72
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1186", value "�����������"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1230", value "100"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1045", value "0"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1246", value "0"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1141", value "-55"```

from ha-eufy-security.

belidi avatar belidi commented on August 16, 2024

the same thing at home

from ha-eufy-security.

JuliusLedoux avatar JuliusLedoux commented on August 16, 2024

Same thing for me. It is stuck asking for user name and password. I double verified and they are correct.

from ha-eufy-security.

johannes281 avatar johannes281 commented on August 16, 2024

Same for me. No Login with primary eufy account possible. Login with account without devices works!

from ha-eufy-security.

r77s avatar r77s commented on August 16, 2024

For me the same error. I try to login, the window for email and password is closing and reopen again.

from ha-eufy-security.

kai-seipp avatar kai-seipp commented on August 16, 2024

+1, this integration is currently broken with current home assistant instances I would say...

from ha-eufy-security.

mischpoke avatar mischpoke commented on August 16, 2024

Same for me.

from ha-eufy-security.

kai-seipp avatar kai-seipp commented on August 16, 2024

Thanks for that hint! That actually did get me a bit further. I now could setup the integration. But now I get this error in my logs:

`Logger: homeassistant.components.camera
Source: custom_components/eufy_security/camera.py:46
Integration: Camera (documentation, issues)
First occurred: 1:00:57 (2 occurrences)
Last logged: 1:02:06

Error while setting up eufy_security platform for camera
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 199, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/eufy_security/camera.py", line 31, in async_setup_entry
[EufySecurityCam(hass, camera) for camera in api.cameras.values()], True
File "/config/custom_components/eufy_security/camera.py", line 31, in
[EufySecurityCam(hass, camera) for camera in api.cameras.values()], True
File "/config/custom_components/eufy_security/camera.py", line 46, in init
self._ffmpeg_image_frame = ImageFrame(self._ffmpeg.binary, loop=hass.loop)
TypeError: init() got an unexpected keyword argument 'loop'`

from ha-eufy-security.

mydevbox avatar mydevbox commented on August 16, 2024

I had this integration working on my Rpi 4 hassio install but I recently purchased a HA Blue and started to migrate everything over. After installing via HACS I was able to get the integration to accept my credentials however, none of my cameras were being recognized. So, I uninstalled and reinstalled it via HACS. When I went into integration to try to install again, my credentials were no longer accepted. As soon as I type them in, it goes immediately back to prompting for them agian.

I tried the code fix suggested by @davida72 above however, that did not solve the issue for me. I would like to get this working again so will try the 2FA next. Hopefully, someone can figure out exactly what's happening.

from ha-eufy-security.

mydevbox avatar mydevbox commented on August 16, 2024

After doing some testing with Postman, I noticed that I could get authenticated only if I added a space after my email address. I then tried to do the same in the integration and sure enough that got me passed the login loop.

Now, I am back to having the integration installed but no camera entities listed. I even added the code-fix back but still no luck.

from ha-eufy-security.

akeslo avatar akeslo commented on August 16, 2024

I was able to get my cameras working again. Turned out that the code edit had a TAB in it instead of 8 spaces. As soon as I corrected that and restarted HA, my camera entities appeared. Though, I am now getting bunch of warnings in the logs as shown below.

Here's what fixed it for me:

  1. Had to add a space to the end of my email at the prompt. I'm not sure if I added the space when creating my account or if that's Eufy's issue
  2. Had to apply the code fix that @davida72 listed https://community.home-assistant.io/t/eufy-camera-integration/121758/383?u=davida72
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1186", value "�����������"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1230", value "100"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1045", value "0"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1246", value "0"
2021-01-02 16:06:51 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1141", value "-55"```

This got me back up and running, thank you.

from ha-eufy-security.

k-rock avatar k-rock commented on August 16, 2024

I keep seeing the following errors in my logs.. . any suggestions for fixing this?

2021-01-09 21:21:36 ERROR (MainThread) [homeassistant.components.camera] Error while setting up eufy_security platform for camera
File "/config/custom_components/eufy_security/camera.py", line 31, in async_setup_entry
File "/config/custom_components/eufy_security/camera.py", line 31, in
File "/config/custom_components/eufy_security/camera.py", line 46, in init

from ha-eufy-security.

moccajava avatar moccajava commented on August 16, 2024

I confirm that I had to disable 2FA to allow HACS integration login to succeed. Hope the 2FA issue can be fixed.

from ha-eufy-security.

genebean avatar genebean commented on August 16, 2024

For those turning off 2FA - does turning it back on break things?

from ha-eufy-security.

genebean avatar genebean commented on August 16, 2024

FuzzyMistborn/python-eufy-security#57 documents why 2FA is failing and what is needed to fix it - I just don't know enough about the code to create the fix myself. Here's hoping someone here might be able to take the flow I document there and codify it for use in Home Assistant (or elsewhere)

from ha-eufy-security.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.