Dahua custom integration - No video stream

I am trying to set up Dahua IPC-HDW1320S camera using Dahua HACS.
The camera reports Motion Detected under “Sensors” so there is a reason to believe the integration is configured as much that there is communication with the camera.
I cannot, however, see any video stream. The camera.entity_ID_main shows a blank window.
I noticed that https://github.com/rroller/dahua is instructing me to add ffmpeg: line to the config.yaml
I may be getting lost here since (I think) the yaml structures evolved since this integration was introduced. The main configuration.yaml is now mostly empty and it is not clear to me where to add the ffmpeg: line.
(I did add it to the configuration.yaml anyway with no positive outcome).

I can see the Dahua custom integration entries in the file ~/config/.storage/core.config_entries

BTW: I am connected to the camera physical UART and the console is rather “chatty” with may messages like:

[20:43:12 warn NetApp-471353 289 Unknown:0]tid:289, code: VideoMotionInfo, index: 0, action: 5, param is  NULL
 [Src/smtpNew/EventHandle.cpp:262]
[20:43:12 trace RPCFramework:452624 289 SessionManager.cpp:111]this:0xe42450,input code[VideoMotionInfo] or action[5] illegal!

I also installed Generic Camera integration that does display the stream from my camera as expected.

Any idea? Thanks!

You need two entries configuration.yaml:

stream:
ffmpeg:

HA_config_ffmpeg_stream

Then it should work.

Thanks for the suggestion. Unfortunately I already had these two lines in my configuration.yaml and the stream didn’t display.

I had the two lines in opposite order - so to be sure I swithched the order to match what you posted, rebooted and still no luck :frowning:

Are there any errors in the HA protocol for Stream or the Dahua integration?

Have you ever tried integrating the camera via the Onvif integration? Then you at least know whether the problem only exists with the Dahua integration. Unfortunately, this is no longer really maintained by rroller. :slightly_frowning_face: If so, only rroller will probably be able to help you. You’ll have to see whether he responds to an error message on Github.

I use five different Dahua cameras under Home Assistant (Dahua Addon, Onvif and Generic camera) and there are no problems with the Live-stream under HA. There only needs to be the entry for Stream and FFMPEG in the Configaration.yaml.