go2rtc icon indicating copy to clipboard operation
go2rtc copied to clipboard

streams: hass: wrong response

Open sudman89 opened this issue 1 year ago • 2 comments

Hi, I am using my Nest Cams within Frigate in Home Assistant. The cameras work intermittently and turn off from time to time with the error ' No Frames Have been Recieved, check Error Logs'. How do i fix this?

Log

2024-05-14 16:42:24.733296502  12:42:24.733 WRN [rtsp] error="streams: hass: wrong response" stream=upstairs
2024-05-14 16:42:24.742573306  12:42:24.742 WRN [rtsp] error="streams: hass: wrong response" stream=dog_hall
2024-05-14 16:42:25.719717596  12:42:25.719 WRN [rtsp] error="streams: codecs not matched: H264, OPUS => H264, H265, AAC" stream=driveway
2024-05-14 16:42:25.791951235  12:42:25.791 WRN [rtsp] error="streams: hass: wrong response" stream=upstairs
2024-05-14 16:42:25.943993813  12:42:25.943 WRN [rtsp] error="streams: hass: wrong response" stream=play_room
2024-05-14 16:42:26.258002848  12:42:26.257 WRN [rtsp] error="streams: codecs not matched: H264, OPUS => H264, H265, AAC" stream=garage
2024-05-14 16:42:26.431351076  12:42:26.430 WRN [rtsp] error="streams: hass: wrong response" stream=dog_hall
2024-05-14 16:42:26.631164636  12:42:26.630 WRN [rtsp] error="streams: hass: wrong response" stream=sunroom
2024-05-14 16:42:26.657292840  12:42:26.656 WRN [rtsp] error="streams: codecs not matched: H264, OPUS => H264, H265, AAC" stream=pool
2024-05-14 16:42:27.470512573  12:42:27.469 WRN [rtsp] error="streams: hass: wrong response" stream=sunroom
2024-05-14 16:42:27.574682065  12:42:27.574 WRN [rtsp] error="streams: hass: wrong response" stream=back_patio
2024-05-14 16:42:27.630792886  12:42:27.630 WRN [rtsp] error="streams: hass: wrong response" stream=driveway_front
2024-05-14 16:42:27.802331332  12:42:27.802 WRN [rtsp] error="streams: hass: wrong response" stream=play_ground
2024-05-14 16:42:27.865579234  12:42:27.865 WRN [rtsp] error="streams: hass: wrong response" stream=front_island
2024-05-14 16:42:27.882676740  12:42:27.881 WRN [rtsp] error="streams: hass: wrong response" stream=hot_tub
2024-05-14 16:42:28.470369031  12:42:28.469 WRN [rtsp] error="streams: hass: wrong response" stream=front_island
2024-05-14 16:42:46.312526958  12:42:46.311 WRN [rtsp] error="streams: hass: wrong response" stream=driveway
2024-05-14 16:42:46.322579457  12:42:46.322 WRN [rtsp] error="streams: hass: wrong response" stream=driveway_front
2024-05-14 16:42:46.327045749  12:42:46.326 WRN [rtsp] error="streams: hass: wrong response" stream=play_ground

sudman89 avatar May 14 '24 16:05 sudman89

Home Assistant returns errors. I don't know why https://github.com/AlexxIT/go2rtc/blob/aa4c81c26660df8af936ed56b591408e7ecd5ccd/pkg/hass/api.go#L89-L91

AlexxIT avatar May 15 '24 02:05 AlexxIT

Likely cause is Camera dosen't support WebRTC Found this in HA logs: Camera does not support WebRTC, frontend_stream_type=hls

x-cimo avatar Jul 03 '24 03:07 x-cimo

I'm also experiencing this. Was working with HA version prior to 2024.11.x I have 3 nest cams, and i'm currently restreiving the camera streams from HA nest integration like this: streams: Cam1: - hass://HA-URL:8123?entity_id=camera.nest_cam1&token="mytoken"

pissten avatar Dec 12 '24 18:12 pissten

This issue arrised after 2024.11.x Were there any changes in the HA camera api or has it something to do with go2rtc being implemented in HA?

pissten avatar Dec 25 '24 11:12 pissten

Same here, but without token - don't know the exact HA version it was last working, but it stopped now..

streams:
    backyard_camera:
        - hass://supervisor?entity_id=camera.backyard_camera

I'm using Nest camera, and the Camera card on HA dashboard works fine, but I get [rtsp] error="streams: hass: wrong response" stream=backyard_camera

UPDATE: I reverted to HomeAssistant Core 2024.10.4, and the camera started working fine. UPDATE2: It first stopped working on 2024.11.0

alyyousuf7 avatar Dec 25 '24 23:12 alyyousuf7