Code Monkey home page Code Monkey logo

Comments (6)

skank01 avatar skank01 commented on September 18, 2024 16

Found a fix
The fix is to edit config/custom_components/eufy_security/camera.py, replacing lines 46 & 47 with

Copy to clipboard
self._ffmpeg_image_frame = ImageFrame(self._ffmpeg.binary)
self._ffmpeg_stream = CameraMjpeg(self._ffmpeg.binary)

There was smth about the loop next to it.

I now get 2 entities, a camera for doorbell and camera for eufycam 2

from ha-eufy-security.

timdonovanuk avatar timdonovanuk commented on September 18, 2024

Nice, this fix worked, thanks @skank01. Any chance of creating a pull request?

from ha-eufy-security.

Tscherno avatar Tscherno commented on September 18, 2024

Is that already merged? It doesn't work for me yet.

from ha-eufy-security.

cureheaded avatar cureheaded commented on September 18, 2024

thank you, that fixed it for me, been struggling with this for weeks. I can now finally use apk and home-assistant together

from ha-eufy-security.

ayanes21 avatar ayanes21 commented on September 18, 2024

I followed the steps and the camera shows up as single entity not two like others say. I also can't use the motion sensor as a trigger for automations. any thoughts? I am also getting the following errors showing in the logs.
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1163", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1010", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1702", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1240", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1717", value "17"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1243", value "2"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1148", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1716", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1294", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1210", value "112"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1708", value "80"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "99904", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1239", value "9"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1710", value "{"notification_motion_onoff":1,"notification_ring_onoff":1,"notification_style":3}"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1241", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1204", value "eyJwb2ludHMiOltdLCJhY2NvdW50IjoiNGEzYjUwNDJmN2EwODlmNDBiNTgxOTRiNDFkNTM1MzI0NTM5MDE5OSJ9"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1142", value "-42"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1145", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1705", value "5"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1703", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1246", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1013", value "1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1276", value "3"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1015", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1181", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1225", value "9"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1149", value "-1"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1714", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1101", value "98"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1230", value "100"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1229", value "100"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1045", value "0"
2021-07-01 16:41:33 WARNING (MainThread) [eufy_security.camera] Unable to process parameter "1718", value "0"

from ha-eufy-security.

umutcelebi avatar umutcelebi commented on September 18, 2024

I followed this to change the camera.py and got now 2 entities of the camera's but i have no live footage. 1 camera has nothing and 1 camera just shows a picture from 4 months ago. Any updates?

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.