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

C225: Stream gets interrupted when privacy mode is on, timeout in logs #517

Closed
Xlinx64 opened this issue Feb 10, 2024 · 4 comments
Closed

Comments

@Xlinx64
Copy link

Xlinx64 commented Feb 10, 2024

Description

I have 2 C225 Cameras, the hardware Version 1.0 works fine but the 2.0 has issues when turning on privacy mode.
It seems like the 2.0 kills the stream completely while the version one shows a "Privacy Mode is on" message. I have to refresh the browser to reload the stream after turning off privacy mode.
In the logs I see a lot of timeout messages which isnt optimal.

Reproduction Steps

  1. Turn on privacy mode.
  2. See logs

Expected behavior

Turning on privacy mode shouldnt spam the log.
Best case scenario would be that it works like the HW V1.0. But I am not sure if this is doable.

If applicable, add error logs.

2024-02-10 21:17:02.556 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:17:26.939 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:17:42.809 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:18:17.189 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:18:33.068 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:19:17.449 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:19:33.318 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:20:27.718 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:20:43.569 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:21:47.977 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:22:03.829 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:23:18.235 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:23:34.116 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:24:58.500 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:25:14.372 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream while finding first packet: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:27:10.536 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_hd_stream] Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream1'
2024-02-10 21:27:10.542 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'
2024-02-10 21:30:35.141 ERROR (stream_worker) [homeassistant.components.stream.stream.camera.vorzimmer_sd_stream] Error from stream worker: Error demuxing stream: [Errno 110] Operation timed out: 'rtsp://USER:[email protected]:554/stream2'

Device Firmware

1.0.7 Build 231108 Rel.82981n

Integration Version

5.4.14

Using stream component

Yes

Does camera work via official integrations?

No

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Home Assistant OS

Search for similar issues

Yes

Additional information

No response

@JurajNyiri
Copy link
Owner

Integration only exposes the link for rtsp stream to HA, then HA itself handles the logic. The error here is coming up from HA and there is nothing we can do in this integration to solve it. You could hide errors from homeassistant.components.stream.stream.camera in your configuration.

@Xlinx64
Copy link
Author

Xlinx64 commented Feb 12, 2024

Thank you for clarification

@ben-watch
Copy link

ben-watch commented Oct 26, 2024

@Xlinx64 I believe this might be solved with the latest C225 2.0 Firmware. Version 1.0.11 Build 240826. Might be worth a re-test.

I was experiencing the same behaviour with the Tapo C225 2.0 and Frigate, where the the camera was in Privacy Mode it would error on the stream, which was not the case with the 1.0 version. After the latest firmware update the C225 displays the "Privacy Mode is On" text when the privacy mode is enabled, as it does with 1.0, and solved my issues in Frigate.

@Xlinx64
Copy link
Author

Xlinx64 commented Oct 26, 2024

@ben-watch
Thats nice to hear, thanks for the info. But I cannot use the integraton since Tapo made it incompatible with newer firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants