-
-
Notifications
You must be signed in to change notification settings - Fork 28.6k
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
Reolink sub stream capturing snapshots from main stream #90792
Comments
Hey there @starkillerOG, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) reolink documentation |
@angrycatmeowmeow you are right, I have already fixed this in this PR: #90591 |
If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library. |
@starkillerOG awesome thank you. I noticed in the PR that it says the autotrack stream is already available when the camera is directly connected to HA, yet I don't have this stream on my Trackmix. Is this an upcoming feature in 2023.4? I'm also curious about the video streams. I don't have the snapshots entity enabled for any of the cameras, I am just using the call service |
@angrycatmeowmeow yes that is new in HomeAssistant 2023.4 wich has just been released, enjoy the update :) Snapshots are not generated from the stream but are requested from the camera seperately, even when calling camera.snapshot it will not use the stream. The mentioned PR will fix the snapshot commands such that the sub stream entity will also use the low resolution snapshot, currently the high resolution snapshot is always used. |
Great news, thank you for the explanation and awesome integration. All of this came up because I am sending a snapshot of motion using the nfandroidtv integration, and the high res snapshots cause my automation to error out and stop when sending them to my CC w/ GTV. Even though the image is sent and the automation works, apparently there is some limitation on file size for the NFATV app that causes an HTTP timeout to occur, and |
I will close this now, since a fix is comming. If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library. |
@home-assistant close |
The fix will be included in HA 2023.6 that will be released in about a week. |
The problem
I do not have any main stream entities enabled for any of my reolink cameras, but when executing a service call
- service: camera.snapshot
, the image is from the main stream.The main stream on my Reolink Trackmix is 3840x2160, and the substream is 896x512. If I look at the image in my file editor, it is around 1mb and 3840x2160. If it was coming from the substream it would be 896x512.
I see the same behavior on my E1 Zoom, E1 Outdoor, WiFi Doorbell and Trackmix cameras. They all produce snapshots the resolution of the main stream.
I also enabled the snapshots stream for the Trackmix, and it gives me snapshots of the main stream.
What version of Home Assistant Core has the issue?
core-2023.3.6
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
reolink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/reolink/
Diagnostics information
home-assistant_reolink_2023-04-04T17-20-26.511Z.log
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
The cameras are connected to an NVR, but the NVR is not connected to HA. The Reolink integration connects directly to the cameras. As there is a limit on the number of main streams, I think this might be why my cameras freeze up or won't load when I try to view the stream in HA. I think HA is pulling the main stream somehow which is clogging up the NVR and direct connection to the cameras.
The text was updated successfully, but these errors were encountered: