JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.03k stars 85 forks source link

I have a problem all cameras in home assistant can't show image after 5.2.4 update. #371

Closed sirector20 closed 1 year ago

sirector20 commented 1 year ago

Description

I have a C320WS / C500 / C210 camera in my system and it works fine. But it doesn't work with My home Assistant when I update to 5.2.4. most important When I downgraded to 5.2.3, I ran into an issue where all cameras still didn't work to display images on the home assistant. But if I put in a new camera that has never been used in Home Assistant, it works fine and I can't view the camera footage through Home Assistant, yes, how can I fix this?

Reproduction Steps

.

Expected behavior

.

If applicable, add error logs.

.

Device Firmware

1.3.1

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

OS on intelNuc

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 1 year ago

Make sure you are not overloading the cameras. Test with official integration to see if you can get the picture. Do not use more than 1 integration or other tool accessing the camera in any way at the same time. And please fill out the template properly, the sections are there for a reason, if you do not put in effort to fill it out it is really hard to help you.

Closing as not integration issue, images are generated via ffmpeg handled via HA. It is a camera / user overloading the camera issue.

sirector20 commented 1 year ago

I'm sure I haven't used the camera too much. Because before the update, it still works normally. and this problem in my community in Thailand, there are people like me and I have 1 integration

ในวันที่ พ. 26 ก.ค. 2023 เวลา 22:00 Juraj Nyíri @.***> เขียนว่า:

Closed #371 https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/371 as completed.

— Reply to this email directly, view it on GitHub https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/371#event-9925356011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF6LGLOFLC6TNZFJVZV35LXSEWJFANCNFSM6AAAAAA2YWRPOY . You are receiving this because you authored the thread.Message ID: <JurajNyiri/HomeAssistant-Tapo-Control/issue/371/issue_event/9925356011@ github.com>

-- .....................................................................................

พิเนต วรรณางกูร (นิว) Pinet Vannangkura (New)

ผู้สื่อข่าว สังคม - อาชญากรรม ช่อง 3 สำนักข่าว บีอีซี Mobile 092-256-3208 / 082-011-1193 *E-mail - @. @.>* Line ID : newtv3 Twitter : @Pinet_V

JurajNyiri commented 1 year ago

You are saying you are observing the same after rolling back to older version too. In any case, there is nothing that can be fixed on integration side as there is nothing broken and the functionality to generate images has not been changed for a very very long time. Follow my instructions above or factory reset camera, you are overloading it somehow or there is an issue with it.

sirector20 commented 1 year ago

[image: image.png][image: image.png]

ในวันที่ พ. 26 ก.ค. 2023 เวลา 22:06 My Way Journey @.***> เขียนว่า:

I'm sure I haven't used the camera too much. Because before the update, it still works normally. and this problem in my community in Thailand, there are people like me and I have 1 integration

ในวันที่ พ. 26 ก.ค. 2023 เวลา 22:00 Juraj Nyíri @.***> เขียนว่า:

Closed #371 https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/371 as completed.

— Reply to this email directly, view it on GitHub https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/issues/371#event-9925356011, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARF6LGLOFLC6TNZFJVZV35LXSEWJFANCNFSM6AAAAAA2YWRPOY . You are receiving this because you authored the thread.Message ID: <JurajNyiri/HomeAssistant-Tapo-Control/issue/371/issue_event/9925356011@ github.com>

--

.....................................................................................

พิเนต วรรณางกูร (นิว) Pinet Vannangkura (New)

ผู้สื่อข่าว สังคม - อาชญากรรม ช่อง 3 สำนักข่าว บีอีซี Mobile 092-256-3208 / 082-011-1193 *E-mail - @. @.>* Line ID : newtv3 Twitter : @Pinet_V

-- .....................................................................................

พิเนต วรรณางกูร (นิว) Pinet Vannangkura (New)

ผู้สื่อข่าว สังคม - อาชญากรรม ช่อง 3 สำนักข่าว บีอีซี Mobile 092-256-3208 / 082-011-1193 *E-mail - @. @.>* Line ID : newtv3 Twitter : @Pinet_V

DarthSonic commented 11 months ago

I have the same problem and I am not overloading anything and from Tapo app everything works as expected. When I start the stream in app it is also shown on HA dashboard.

I created scripts as in your examples and called them. They worked. After I integrated them in some automation, they stopped working. Entity switches are triggered but the commands are not sent or not received by the camera.

image

Logger: homeassistant.components.stream.stream.camera.tapo_camera_wohnzimmer_hd_stream
Source: components/stream/__init__.py:434
Integration: Stream (documentation, issues)
First occurred: 28. August 2023 um 23:22:35 (85 occurrences)
Last logged: 09:18:08

Error from stream worker: Error opening stream (HTTP_OTHER_4XX, Server returned 4XX Client Error, but not one of 40{0,1,3,4}) rtsp://****:****@192.168.178.60:554/stream1