Which one? Hoped, that I made them short and clear.
If I click on the preview or running video, I get the same as Fossy showed. Nothing. Before, in my last tries and till today in the anxious integration, I get a bigger picture. Here only the entitiy name and the cog. Shouldn’t there a bigger version be shown?
This is, how the pupup look like in old integration, with full video/still below
And this in your integration, as shown by Fossy777 already:
with no image or video and only header-bar
If I try with WebRTC, I get that many buffering wheels, that cannot be correct. As I don’t have any problems with connections or without WebRTC.
What could be the reason, that without WebRTC the video is running without problems and with WebRTC I have loading wheels and buffering
what do you mean old integration? I have called multiple times here and README file that native streaming in HA is not working as of now, that should answer your question.
About webrtc, give it a try with VLC media player if it is working, if not, share your error and debug logs.
I am completely lost for 3-4-5. So, let’s see if community can help here otherwise please create specific issues in repository.
You don’t know for what the options in your integrations are? Who should know it, when you don’t and It is not documented?
Don’t understand what you are talking about. I’m talking, that I can see the picture in the card, but if I click on it, I cannot see the bigger version of it and only the headerbar of the popup. Even without streaming and only with last motion picture.
I´ve solved some issues and misunderstandings meanwhile, got my 2Cs working with all this.
But how about my Battery Doorbell 2k? It does not support RTSP (obviously) and when I activate it I first get a
followed by
or simply
In the RTSP addon, I see this in the log:
2022/01/20 01:03:49 I [-5/0] [path T8210P00204921A8] runOnDemand command started
2022/01/20 01:03:53 I [-5/0] [RTSP] [conn 172.30.32.1:52844] opened
2022/01/20 01:03:57 I [-5/0] [RTSP] [conn 172.30.32.1:52848] opened
2022/01/20 01:03:57 I [-5/0] [RTSP] [session 905770468] opened by 172.30.32.1:52848
2022/01/20 01:03:57 I [-4/0] [RTSP] [session 905770468] is publishing to path ‘T8210P00204921A8’, 1 track with TCP
2022/01/20 01:03:57 I [-4/0] [RTSP] [conn 172.30.32.1:52852] opened
2022/01/20 01:03:57 I [-4/0] [RTSP] [session 645334413] opened by 172.30.32.1:52852
2022/01/20 01:03:57 I [-4/1] [RTSP] [session 645334413] is reading from path ‘T8210P00204921A8’, 1 track with TCP
2022/01/20 01:04:01 I [-4/1] [RTSP] [conn 172.30.32.1:52844] closed
2022/01/20 01:04:01 I [-4/1] [RTSP] [conn 172.30.32.1:52836] closed
2022/01/20 01:04:17 I [-4/1] [RTSP] [conn 172.30.32.1:52852] closed
2022/01/20 01:04:17 I [-4/0] [RTSP] [session 645334413] closed
2022/01/20 01:04:27 I [-5/0] [path T8210P00204921A8] runOnDemand command stopped
2022/01/20 01:04:27 I [-5/0] [path T8210P00204921A8] destroyed
2022/01/20 01:04:27 I [-5/0] [RTSP] [conn 172.30.32.1:52848] closed
2022/01/20 01:04:27 I [-5/0] [RTSP] [session 905770468] closed
So to me it seems I configured it right, the camera stream comes up to the RTSP add-on. What did I miss?
Let’s start over;
1- when you click on camera picture, you will get native streaming screen and it is not working as of now, stick with WebRTC to override it.
2- get streaming address from related sensor of your camera, you will see it under device details and give it a try with vlc media player if it is playing.
3- when integration is released first time, it was generating True/False as state for binary values but it was supposed to be on/off. This was impacting users setting up the automations. This checkbox fix the legacy issue and should be on fresh installs, old installs should decide theirselves.
4- every 60p seconds, integration is asking eufy cloud servers to get latest data. This integration is purely relying on push notifications to update its internal state and some changes on device settings are not generating push notifications. To get some specific latest settings, we need to call this regularly and this screenshot is about the interval.
5- when camera is detected a motion/person/any event, how long it should stay as ON inside home assistant. From eufy perspective, this is just one push notification without having a timeframe, inside home assistant, we have to decide the duration of this.
Thanks a lot for the clarification. Your recommendation is, to leave esp. 4. as default and there is not improvement for any known issues in adjusting it? Fine.
Regarding 1. I was only wondering, why the old integration can show last motion picture and stream in the popup. Ans as it is possible there, I didn’t think about, that this is a/the HA limitation. There the stream is not automatically started, which is not good btw, but the default was, that the last motion picture is shown and if I click on it the last motion picture is shown bigger in the popup. If I start the stream via service (button) and reload the lovelace view, I see the stream in the card and onclick in big in the popup. Same HA-version.
In your integration I was able to see the last motion picture in the card. And I’m somehow sure, that I saw the native stream in the card as well, if I started the stream manual or via motion. Only the popup didn’t show anything. If this is the described known issue, fine, understood.
thank you very much! Tried this and now it works (at first it did not but after a while without changing anything again, it started working).
Great work, really appreciate, big Kudos!
BR, Jo
PS: you might adapt the implementation guide as it only talks about streaming quality but not codec (compression), which in case of the Battery Doorbell 2k is seperate settings
for low quality streams (lower than 2k), this can be around 1 sec, but setting this to 4 sec will not be harmful. Whenever ffmpeg was able to finish analyze of the incoming video chunks, stream will start.
when camera is streaming, picture will be updated in every 10 seconds in UI, but it is not live streaming, just latest captured image from stream. Native streaming in HA (through popup) has been broken for a very long time. I am not able to find a solution and even could not find the problem.
I have just retested with the old integration. It is as described. If I switch on the stream via camera.turn_on and click on the card (no reload of the page needed), the stream is opening in big size and is streaming. Perhaps you can compare, what he did it with it. Not time critical of course.
The URL of still picture and stream is always the proxy
<img src="/api/camera_proxy_stream/camera.haustur?token=cbc>
If I try this again then several times, sometimes I didn’t get the stream again. And then the behavior is as in your integration. Empty popup. In these cases I see log entries like
FFmpeg is already running!
or FFmpeg isn’t running!
or Timeout while waiting of FFmpeg
all from package site-packages/haffmpeg
So perhaps this is related to the same rootcause, e.g. FFmpeg.
BTW currently I do not have ffmpg in my config.yaml, so I don’t know if the old integration uses it in another way or why it is working without ffmpeg: or if this is enabled without the line in yaml as well. Tested again. Even with ffmpg: same as above. Working (main info) and after some tries no stream anymore (not your problem, but perhaps related):
FFmpeg is already running!
or FFmpeg isn’t running!
or Timeout while waiting of FFmpeg
for some reason, occasionally, previous FFMPEG process was not killed even though I am sending multiple quit and kill signals and causing this issue. There is an open issue under repository on this.
In regards to, native streaming, even though it would work today, I would still stick with webrtc because of its speed and performance.
But with the webplayer it does not look so beautiful as the lovelace view. Woman acceptance factor. And it is not possible to have esp. the stop button “over” the video as in the glance-standard-view. And the popup is not working with this approach. Without all this: You are right and I wouldn’t care.
I have rolled back my development environment to a previous version from Oct 3, 2021 and it is still not working on environment. I do not think this issue is about sth broken, I think, it is more like a new enforcement from HA and it is missing in the integration.