Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question]: Download/fetch/get clips stored in the eufy HUB into Home Assistant #245

Closed
sesardelaisla opened this issue Aug 4, 2023 · 2 comments
Labels
question Further information is requested

Comments

@sesardelaisla
Copy link

Ask your question

Is it possible to fetch the motion detected clips stored in the hub (the ones you can see in the events tab in eufy Security App) into Home Assistant, so you can manage them to be uploaded (for instance) to a NAS or sent to Telegram? If not, is it something planned to be implemented?

@sesardelaisla sesardelaisla added the question Further information is requested label Aug 4, 2023
@bropat
Copy link
Owner

bropat commented Aug 7, 2023

It was possible until before that Eufy encrypted everything (December 2022).
Since the introduction of encryption and the new Homebase 3, some of the logic has been changed. It has also been gradually ported to Homebase 2.
I only have Homebase 2, so I can only try to understand how everything works there.
To cut a long story short, this part has to be re-implemented.
I can't say when it will be ready.

@sesardelaisla
Copy link
Author

sesardelaisla commented Aug 7, 2023

Understood. For the moment, I have a workaround for being able to get clips which start at the same time that the camera detects motion, which it is the main goal of my question. However, it requires to have a Synology NAS. Synology Surveillance Station is so far the only system that is able to capture the stream almost from the same keyframe that the camera is starting from. None of the options below are able to do that according to my tests. They clips captured usually start about 7-10" later:

  • eufy_security.start_rtsp_livestream service based automation.
  • Frigate.
  • MotionEye.
  • FFMPEG integration.

FFMPEG integration is the one that seems to work better (it takes 3-4" to start only). However, it seems that the addon motion detection state takes a few seconds to be updated, so an automation trigger arrives too late for the camera.record service to start at the beginning of the actual camera RTSP stream. Tried to use the stream status sensor as a trigger instead, but it is not updated when the camera start the RTSP stream on its own. Such sensor seems to work when the stream start is forced from Home Assistant. Will check whether there is any open related issue already about such sensors behaviours and will open one if necessary.

Coming back to the main topic, I will keep an eye watching related updates and issues to see whether the clip download feature is something that is done at some point.

Thanks!

@bropat bropat closed this as completed Oct 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants