Hello,
My doorbell is successfully conected to H.A.
I have automation that start a gingle and I see the image in the H.A viewer.
I try to display the image from the camera to the tv but I have some errors.
The video is slow with latency but it work…
Here is a portion of my script:
- service: media_player.play_media
target:
entity_id: media_player.tele_du_salon
data:
media_content_id: media-source:camera.porte_service_main
media_content_type: video
metadata:
title: Sonette porte de service
#thumbnail: /api/camera_proxy/camera.baby_video
media_class: video
children_media_class: null
navigateIds:
- {}
- media_content_type: app
media_content_id: media-source://camera
And I have several errors from the camera:
2022-10-09 12:05:18.738 DEBUG (Thread-47) [custom_components.dahua] Keep alive
2022-10-09 12:05:18.748 DEBUG (Thread-3) [custom_components.dahua] Event data 192.168.1.151: 'b' \x00\x00\x00DHIPL\xf4Y\x12+\x00\x00\x00D\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00\x00\x00\x00\x00{"id":43,"params":{"timeout":55},"result":true,"session":307885132}\n''
2022-10-09 12:05:19.281 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from http://192.168.1.151:80/cgi-bin/configManager.cgi?action=getConfig&name=DisableLinkage
2022-10-09 12:05:20.337 DEBUG (MainThread) [custom_components.dahua] Finished fetching dahua data in 2.337 seconds (success: True)
and from H.A
2022-10-09 12:05:18.738 DEBUG (Thread-47) [custom_components.dahua] Keep alive
2022-10-09 12:05:18.748 DEBUG (Thread-3) [custom_components.dahua] Event data 192.168.1.151: 'b' \x00\x00\x00DHIPL\xf4Y\x12+\x00\x00\x00D\x00\x00\x00\x00\x00\x00\x00D\x00\x00\x00\x00\x00\x00\x00{"id":43,"params":{"timeout":55},"result":true,"session":307885132}\n''
2022-10-09 12:05:19.281 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from http://192.168.1.151:80/cgi-bin/configManager.cgi?action=getConfig&name=DisableLinkage
2022-10-09 12:05:20.337 DEBUG (MainThread) [custom_components.dahua] Finished fetching dahua data in 2.337 seconds (success: True)
Can any body make some suggestions ?
Many thanks for your help !