Kaourant
(Kaourant)
January 20, 2026, 5:00pm
1
Hi everyone, I am using the Advanced Camera Card v7.26.0 (Frigate card). This card is awesome but I have a problem.
I can’t use PTZ command on my camera (imou, onvif protocol) with this card.
I tried to use the default ptz configuration of the card, I tried to add manually the onvif service into the configuration but it doesn’t work.
Anyone has an example of his configuration please ?
Thank you !
IgorZg
(Igor Simić)
January 20, 2026, 5:43pm
2
Hi,
this is mine
- camera_entity: camera.frig_8_ptz
title: PTZ
go2rtc:
modes:
- mse
stream: ptz1_hi
capabilities:
disable: []
proxy:
dynamic: false
media: false
webrtc_card:
entity: camera.frig_8_ptz
live_provider: go2rtc
and looks like this:
Best regards,
Kaourant
(Kaourant)
January 20, 2026, 9:22pm
3
Do you have a specific configuration in Frigate ?
IgorZg
(Igor Simić)
January 21, 2026, 6:10am
4
Frigate config, just to this camera related.
I didn’t bother with ‘object tracking’ feature because I don’t need it.
go2rtc:
streams:
ptz1_hi:
- rtsp://user:[email protected] :554/live
- ffmpeg:ptz1_hi#audio=aac
ptz1_lo:
- rtsp://user:[email protected] :554/cam/realmonitor?channel=1&subtype=1
cameras:
FRIG_8_PTZ:
live:
streams:
ptz: ptz
ffmpeg:
inputs:
- path: rtsp://10.1.2.83:8554/ptz1_hi
roles:
- detect
- record
detect:
width: 2560
height: 1440
record:
enabled: true
retain:
days: 2
mode: motion
#mode: all
alerts:
retain:
days: 21
detections:
retain:
days: 21
snapshots:
enabled: true
retain:
default: 21
mqtt:
timestamp: false
bounding_box: false
crop: true
quality: 100
height: 500
review:
alerts:
labels:
- car
- dog
- person
- motorcycle
- bicycle
onvif:
host: 10.1.2.93
port: 80
user: admin
password: password
autotracking:
enabled: false
required_zones:
- ptz_cijela_slika
calibrate_on_startup: false
zooming: disabled
zoom_factor: 0.3
movement_weights: 0.0, 1.0, 2.853044271469116, 3.022711660528695,
1.3244568009530358, 0
zones:
ptz_cijela_slika:
coordinates: 0,0,0.002,0.998,0.999,0.996,0.999,0.003
loitering_time: 0
objects: person
motion:
threshold: 30
contour_area: 10
improve_contrast: true
Kaourant
(Kaourant)
January 21, 2026, 8:39am
5
Thank you for your answer.
Thank to you, now, I can use PTZ control into Frigate. But my card still doesn’t work.
You don’t have anything more inside the .yaml of your card ?
IgorZg
(Igor Simić)
January 22, 2026, 2:57am
6
No, I don’t. Did you try to restart frigate integration, as far as I remember, it was necessary to do so.
IgorZg
(Igor Simić)
January 22, 2026, 3:37am
7
Actually, I do have some YAML more, common for all cameras:
live:
auto_play:
- selected
- visible
controls:
ptz:
orientation: horizontal
position: bottom-right
microphone:
always_connected: false
lazy_load: true
lazy_unload:
- unselected
Kaourant
(Kaourant)
January 23, 2026, 12:07pm
8
Thank you for the details
I already tried to restart frigate but it still doesn’t work.
I can use PTZ control in Frigate integration, but not with de Frigate card.
I don’t understand why it’s not working
IgorZg
(Igor Simić)
January 23, 2026, 4:35pm
9
Try with this:
live:
controls:
ptz:
mode: on
Kaourant
(Kaourant)
January 23, 2026, 6:05pm
10
The arrows are displayed, but not working with this code
type: custom:advanced-camera-card
cameras:
camera_entity: camera.camera_imou
live:
controls:
ptz:
mode: “on”
In camera_entity, i need to put the camera i configured in Frigate right ?
Kaourant
(Kaourant)
January 25, 2026, 1:15pm
11
I found a solution :
I call a script by pushing PTZ arrows:
type: custom:advanced-camera-card
cameras:
- camera_entity: camera.camera_imou
live_provider: go2rtc
go2rtc:
modes:
- webrtc
stream: entree_hd
ptz:
actions_left:
action: perform-action
perform_action: script.camera_left
actions_right:
action: perform-action
perform_action: script.camera_right
actions_up:
action: perform-action
perform_action: script.camera_up
actions_down:
action: perform-action
perform_action: script.camera_down
live:
controls:
ptz:
mode: "on"
position: bottom-left
orientation: horizontal