I have an imou camera configured using Onvif, the camera is recognized and working correctly (real time streaiming) in the Onvif entities.
I also installed go2rtc and the camera is found both in onvif and home assistant
when i try to add the camera to a card the stream do not autostard, i tried this:
entity: camera.telecamera_soggiorno
show_name: false
show_state: false
tap_action:
action: more-info
in which the camera is shown and updated every some seconds (if i click it opens a popup that streams live)
and also this:
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.telecamera_soggiorno
live_provider: ha
go2rtc:
stream: rtsp_cam
modes:
- webrtc
live:
auto_play:
- visible
preload: true
lazy_load: false
audio: false
i configured rstp_cam in my go2rtc config to point to the correct onvif url (and the camera streams from the go2rtc panel)
In this case the card start, but hangs after a sec and if i want to stream i need to click it
Any suggestion on how autoplay the stream in a card?