Open gomble opened 3 years ago
type: custom:webrtc-camera
url: ---
background: true
ptz:
service: onvif.ptz
data_left:
entity_id: camera.onvif_camera_profile_001
pan: LEFT
speed: 1
distance: 0.41
move_mode: ContinuousMove
data_right:
entity_id: camera.onvif_camera_profile_001
pan: RIGHT
speed: 1
distance: 0.41
move_mode: ContinuousMove
data_up:
entity_id: camera.onvif_camera_profile_001
tilt: UP
speed: 1
distance: 0.41
move_mode: ContinuousMove
data_down:
entity_id: camera.onvif_camera_profile_001
tilt: DOWN
speed: 1
distance: 0.41
move_mode: ContinuousMove
data_zoom_in:
entity_id: camera.onvif_camera_profile_001
distance: 0.41
speed: 0.5
continuous_duration: 0.5
move_mode: ContinuousMove
zoom: ZOOM_IN
data_zoom_out:
entity_id: camera.onvif_camera_profile_001
distance: 0.41
speed: 0.5
continuous_duration: 0.5
move_mode: ContinuousMove
zoom: ZOOM_OUT
this worked now, you should update your wiki/documentation
@gomble I have the exact same issue, but your .yaml file doesn't solve the problem in my case. Could you tell me what exactly you have changed, and how the working configuration looks like? The ptz controls were working just fine for a while, when suddenly that error appeared.
@gomble I have the exact same issue, but your .yaml file doesn't solve the problem in my case. Could you tell me what exactly you have changed, and how the working configuration looks like? The ptz controls were working just fine for a while, when suddenly that error appeared.
It worked 2-3 times, then no more. I give up and did solve another way. Created some rest scripts to move the camera.
Maybe fixed by https://github.com/AlexxIT/WebRTC/pull/115
Yes, this fixed the problem (tested on Tapo C200).
If i add onvif ptz i get the following error if i click left right etc.:
my card:
PTZ works with manual service call like this: