Closed CurseStaff closed 8 months ago
Your uploaded video does not seem to be visible - can you check that?
Also, can you enable autotracking on one camera, disable it on the rest, and try again? Your debug log is showing multiple objects/cameras and it's impossible to sort through.
Also, can you paste the first part of the logs (with debug enabled) at frigate start? It should print the ONVIF capabilities of your camera.
this is the video link: https://user-images.githubusercontent.com/11999989/272041245-dd25f9ee-6081-4664-b8ca-b52eb569428f.mp4
on first test frigate will stop for bad ONVIF capabilities, after a firmware update of all camera at the latest (2022 release) ONVIF seem ok
starting onvif log with only 1 tracking cam:
frigate | s6-rc: info: service s6rc-fdholder: starting
frigate | s6-rc: info: service s6rc-oneshot-runner: starting
frigate | s6-rc: info: service s6rc-oneshot-runner successfully started
frigate | s6-rc: info: service fix-attrs: starting
frigate | s6-rc: info: service s6rc-fdholder successfully started
frigate | s6-rc: info: service fix-attrs successfully started
frigate | s6-rc: info: service legacy-cont-init: starting
frigate | s6-rc: info: service legacy-cont-init successfully started
frigate | s6-rc: info: service log-prepare: starting
frigate | s6-rc: info: service log-prepare successfully started
frigate | s6-rc: info: service nginx-log: starting
frigate | s6-rc: info: service go2rtc-log: starting
frigate | s6-rc: info: service frigate-log: starting
frigate | s6-rc: info: service nginx-log successfully started
frigate | s6-rc: info: service go2rtc-log successfully started
frigate | s6-rc: info: service go2rtc: starting
frigate | s6-rc: info: service frigate-log successfully started
frigate | s6-rc: info: service go2rtc successfully started
frigate | s6-rc: info: service go2rtc-healthcheck: starting
frigate | s6-rc: info: service frigate: starting
frigate | s6-rc: info: service go2rtc-healthcheck successfully started
frigate | s6-rc: info: service frigate successfully started
frigate | s6-rc: info: service nginx: starting
frigate | s6-rc: info: service nginx successfully started
frigate | s6-rc: info: service legacy-services: starting
frigate | 2023-10-02 21:11:24.068158292 [INFO] Preparing Frigate...
frigate | 2023-10-02 21:11:24.070079861 [INFO] Starting NGINX...
frigate | 2023-10-02 21:11:24.073497166 [INFO] Preparing go2rtc config...
frigate | s6-rc: info: service legacy-services successfully started
frigate | 2023-10-02 21:11:24.084103424 [INFO] Starting Frigate...
frigate | 2023-10-02 21:11:24.356551778 [INFO] Starting go2rtc...
frigate | 2023-10-02 21:11:24.411184178 21:11:24.411 INF go2rtc version 1.7.1 linux/amd64
frigate | 2023-10-02 21:11:24.411410095 21:11:24.411 INF [api] listen addr=0.0.0.0:1984
frigate | 2023-10-02 21:11:24.411727579 21:11:24.411 INF [rtsp] listen addr=0.0.0.0:8554
frigate | 2023-10-02 21:11:24.411908201 21:11:24.411 INF [webrtc] listen addr=0.0.0.0:8555/tcp
frigate | 2023-10-02 21:11:25.083585008 [2023-10-02 21:11:25] frigate.app INFO : Starting Frigate (0.13.0-9a4f970)
frigate | 2023-10-02 21:11:25.168583648 [2023-10-02 21:11:25] peewee_migrate.logs INFO : Starting migrations
frigate | 2023-10-02 21:11:25.182093111 [2023-10-02 21:11:25] peewee_migrate.logs INFO : There is nothing to migrate
frigate | 2023-10-02 21:11:26.113818885 [2023-10-02 21:11:26] frigate.app INFO : Recording process started: 583
frigate | 2023-10-02 21:11:26.115714832 [2023-10-02 21:11:26] frigate.app INFO : go2rtc process pid: 89
frigate | 2023-10-02 21:11:26.134562742 [2023-10-02 21:11:26] detector.coral INFO : Starting detection process: 592
frigate | 2023-10-02 21:11:28.788411676 [2023-10-02 21:11:26] frigate.app INFO : Output process started: 594
frigate | 2023-10-02 21:11:28.788537440 [2023-10-02 21:11:26] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as usb
frigate | 2023-10-02 21:11:28.788905909 [2023-10-02 21:11:26] frigate.ptz.autotrack DEBUG : Autotracker init for cam: maison_tgbt
frigate | 2023-10-02 21:11:28.788954833 [2023-10-02 21:11:27] frigate.ptz.autotrack DEBUG : Motion estimator init for cam: garrage_porte
frigate | 2023-10-02 21:11:28.789025864 [2023-10-02 21:11:27] frigate.ptz.autotrack DEBUG : Motion estimator init for cam: maison_tgbt
frigate | 2023-10-02 21:11:28.789101542 [2023-10-02 21:11:26] frigate.comms.dispatcher INFO : Turning off snapshots for terrasse
frigate | 2023-10-02 21:11:28.789169905 [2023-10-02 21:11:26] frigate.comms.dispatcher INFO : Turning off snapshots for maison_tgbt
frigate | 2023-10-02 21:11:28.789250330 [2023-10-02 21:11:26] frigate.ptz.onvif DEBUG : Onvif config for maison_tgbt: {
frigate | 2023-10-02 21:11:28.789252203 'Spaces': {
frigate | 2023-10-02 21:11:28.789256321 'AbsolutePanTiltPositionSpace': [
frigate | 2023-10-02 21:11:28.789258481 {
frigate | 2023-10-02 21:11:28.789260899 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
frigate | 2023-10-02 21:11:28.789262283 'XRange': {
frigate | 2023-10-02 21:11:28.789263555 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789273358 'Max': 1.0
frigate | 2023-10-02 21:11:28.789274652 },
frigate | 2023-10-02 21:11:28.789276348 'YRange': {
frigate | 2023-10-02 21:11:28.789277717 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789279022 'Max': 1.0
frigate | 2023-10-02 21:11:28.789280253 }
frigate | 2023-10-02 21:11:28.789281855 }
frigate | 2023-10-02 21:11:28.789283031 ],
frigate | 2023-10-02 21:11:28.789284372 'AbsoluteZoomPositionSpace': [
frigate | 2023-10-02 21:11:28.789300453 {
frigate | 2023-10-02 21:11:28.789302209 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
frigate | 2023-10-02 21:11:28.789312933 'XRange': {
frigate | 2023-10-02 21:11:28.789314324 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789315549 'Max': 1.0
frigate | 2023-10-02 21:11:28.789316788 }
frigate | 2023-10-02 21:11:28.789317954 }
frigate | 2023-10-02 21:11:28.789319064 ],
frigate | 2023-10-02 21:11:28.789320392 'RelativePanTiltTranslationSpace': [
frigate | 2023-10-02 21:11:28.789321701 {
frigate | 2023-10-02 21:11:28.789323272 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
frigate | 2023-10-02 21:11:28.789324507 'XRange': {
frigate | 2023-10-02 21:11:28.789335201 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789336850 'Max': 1.0
frigate | 2023-10-02 21:11:28.789338039 },
frigate | 2023-10-02 21:11:28.789339342 'YRange': {
frigate | 2023-10-02 21:11:28.789341041 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789342425 'Max': 1.0
frigate | 2023-10-02 21:11:28.789343525 }
frigate | 2023-10-02 21:11:28.789344612 },
frigate | 2023-10-02 21:11:28.789345752 {
frigate | 2023-10-02 21:11:28.789347377 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationSpaceFov',
frigate | 2023-10-02 21:11:28.789359552 'XRange': {
frigate | 2023-10-02 21:11:28.789360929 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789362192 'Max': 1.0
frigate | 2023-10-02 21:11:28.789363343 },
frigate | 2023-10-02 21:11:28.789364500 'YRange': {
frigate | 2023-10-02 21:11:28.789365678 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789367109 'Max': 1.0
frigate | 2023-10-02 21:11:28.789368272 }
frigate | 2023-10-02 21:11:28.789369423 }
frigate | 2023-10-02 21:11:28.789370606 ],
frigate | 2023-10-02 21:11:28.789372027 'RelativeZoomTranslationSpace': [
frigate | 2023-10-02 21:11:28.789373355 {
frigate | 2023-10-02 21:11:28.789375281 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
frigate | 2023-10-02 21:11:28.789376641 'XRange': {
frigate | 2023-10-02 21:11:28.789378582 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789380218 'Max': 1.0
frigate | 2023-10-02 21:11:28.789381399 }
frigate | 2023-10-02 21:11:28.789382549 }
frigate | 2023-10-02 21:11:28.789383701 ],
frigate | 2023-10-02 21:11:28.789384967 'ContinuousPanTiltVelocitySpace': [
frigate | 2023-10-02 21:11:28.789386105 {
frigate | 2023-10-02 21:11:28.789401246 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
frigate | 2023-10-02 21:11:28.789402575 'XRange': {
frigate | 2023-10-02 21:11:28.789403903 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789405641 'Max': 1.0
frigate | 2023-10-02 21:11:28.789406765 },
frigate | 2023-10-02 21:11:28.789407972 'YRange': {
frigate | 2023-10-02 21:11:28.789409402 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789410893 'Max': 1.0
frigate | 2023-10-02 21:11:28.789411993 }
frigate | 2023-10-02 21:11:28.789413068 },
frigate | 2023-10-02 21:11:28.789414304 {
frigate | 2023-10-02 21:11:28.789415919 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocitySpaceFOV',
frigate | 2023-10-02 21:11:28.789417219 'XRange': {
frigate | 2023-10-02 21:11:28.789418490 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789419789 'Max': 7.0
frigate | 2023-10-02 21:11:28.789420893 },
frigate | 2023-10-02 21:11:28.789424819 'YRange': {
frigate | 2023-10-02 21:11:28.789426102 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789427295 'Max': 7.0
frigate | 2023-10-02 21:11:28.789428428 }
frigate | 2023-10-02 21:11:28.789429527 }
frigate | 2023-10-02 21:11:28.789430571 ],
frigate | 2023-10-02 21:11:28.789431868 'ContinuousZoomVelocitySpace': [
frigate | 2023-10-02 21:11:28.789432979 {
frigate | 2023-10-02 21:11:28.789434480 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
frigate | 2023-10-02 21:11:28.789435734 'XRange': {
frigate | 2023-10-02 21:11:28.789453425 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789454736 'Max': 1.0
frigate | 2023-10-02 21:11:28.789455937 }
frigate | 2023-10-02 21:11:28.789457336 },
frigate | 2023-10-02 21:11:28.789458483 {
frigate | 2023-10-02 21:11:28.789460005 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocitySpaceMillimeter',
frigate | 2023-10-02 21:11:28.789461232 'XRange': {
frigate | 2023-10-02 21:11:28.789462709 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789463880 'Max': 7.0
frigate | 2023-10-02 21:11:28.789465336 }
frigate | 2023-10-02 21:11:28.789466487 }
frigate | 2023-10-02 21:11:28.789467594 ],
frigate | 2023-10-02 21:11:28.789468931 'PanTiltSpeedSpace': [
frigate | 2023-10-02 21:11:28.789470033 {
frigate | 2023-10-02 21:11:28.789471621 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace',
frigate | 2023-10-02 21:11:28.789472918 'XRange': {
frigate | 2023-10-02 21:11:28.789474193 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789475447 'Max': 1.0
frigate | 2023-10-02 21:11:28.789476657 }
frigate | 2023-10-02 21:11:28.789477858 }
frigate | 2023-10-02 21:11:28.789479002 ],
frigate | 2023-10-02 21:11:28.789480202 'ZoomSpeedSpace': [
frigate | 2023-10-02 21:11:28.789481366 {
frigate | 2023-10-02 21:11:28.789482928 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace',
frigate | 2023-10-02 21:11:28.789484339 'XRange': {
frigate | 2023-10-02 21:11:28.789485495 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789486653 'Max': 1.0
frigate | 2023-10-02 21:11:28.789487756 }
frigate | 2023-10-02 21:11:28.789488882 }
frigate | 2023-10-02 21:11:28.789489979 ],
frigate | 2023-10-02 21:11:28.789491224 'Extension': None,
frigate | 2023-10-02 21:11:28.789492470 '_attr_1': None
frigate | 2023-10-02 21:11:28.789493817 },
frigate | 2023-10-02 21:11:28.789495059 'PTZTimeout': {
frigate | 2023-10-02 21:11:28.789496385 'Min': datetime.timedelta(seconds=1),
frigate | 2023-10-02 21:11:28.789497718 'Max': datetime.timedelta(seconds=600)
frigate | 2023-10-02 21:11:28.789498899 },
frigate | 2023-10-02 21:11:28.789500125 '_value_1': None,
frigate | 2023-10-02 21:11:28.789501440 'PTControlDirection': None,
frigate | 2023-10-02 21:11:28.789502691 'Extension': None,
frigate | 2023-10-02 21:11:28.789523487 '_attr_1': None
frigate | 2023-10-02 21:11:28.789524705 }
frigate | 2023-10-02 21:11:28.789540413 [2023-10-02 21:11:26] frigate.ptz.onvif DEBUG : Onvif status config for maison_tgbt: {
frigate | 2023-10-02 21:11:28.789541721 'Position': {
frigate | 2023-10-02 21:11:28.789542854 'PanTilt': {
frigate | 2023-10-02 21:11:28.789543996 'x': 0.940333,
frigate | 2023-10-02 21:11:28.789545124 'y': 0.958,
frigate | 2023-10-02 21:11:28.789546567 'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace'
frigate | 2023-10-02 21:11:28.789547708 },
frigate | 2023-10-02 21:11:28.789548842 'Zoom': {
frigate | 2023-10-02 21:11:28.789550052 'x': 0.0,
frigate | 2023-10-02 21:11:28.789551617 'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace'
frigate | 2023-10-02 21:11:28.789552940 }
frigate | 2023-10-02 21:11:28.789554091 },
frigate | 2023-10-02 21:11:28.789555320 'MoveStatus': {
frigate | 2023-10-02 21:11:28.789556500 'PanTilt': 'MOVING',
frigate | 2023-10-02 21:11:28.789557673 'Zoom': 'IDLE'
frigate | 2023-10-02 21:11:28.789558733 },
frigate | 2023-10-02 21:11:28.789559963 'Error': 'NO error',
frigate | 2023-10-02 21:11:28.789561715 'UtcTime': datetime.datetime(2023, 10, 2, 19, 11, 24, tzinfo=<isodate.tzinfo.Utc object at 0x7f8e32e8a1f0>),
frigate | 2023-10-02 21:11:28.789562926 '_value_1': None,
frigate | 2023-10-02 21:11:28.789564099 '_attr_1': None
frigate | 2023-10-02 21:11:28.789565173 }
frigate | 2023-10-02 21:11:28.789566911 [2023-10-02 21:11:26] frigate.ptz.onvif DEBUG : Onvif service capabilities for maison_tgbt: {
frigate | 2023-10-02 21:11:28.789568369 '_value_1': None,
frigate | 2023-10-02 21:11:28.789569549 'EFlip': False,
frigate | 2023-10-02 21:11:28.789570717 'Reverse': False,
frigate | 2023-10-02 21:11:28.789572023 'GetCompatibleConfigurations': True,
frigate | 2023-10-02 21:11:28.789573194 '_attr_1': {
frigate | 2023-10-02 21:11:28.789574606 'MoveStatus': 'true',
frigate | 2023-10-02 21:11:28.789575858 'StatusPosition': 'true'
frigate | 2023-10-02 21:11:28.789577077 }
frigate | 2023-10-02 21:11:28.789578437 }
frigate | 2023-10-02 21:11:28.789579875 [2023-10-02 21:11:26] frigate.ptz.onvif DEBUG : PTZ start time: 0.0
frigate | 2023-10-02 21:11:28.789581366 [2023-10-02 21:11:26] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:28.789590637 [2023-10-02 21:11:26] frigate.ptz.autotrack DEBUG : Autotracker init for cam: garrage_porte
frigate | 2023-10-02 21:11:28.789658121 [2023-10-02 21:11:27] frigate.ptz.onvif DEBUG : Onvif config for garrage_porte: {
frigate | 2023-10-02 21:11:28.789659800 'Spaces': {
frigate | 2023-10-02 21:11:28.789661119 'AbsolutePanTiltPositionSpace': [
frigate | 2023-10-02 21:11:28.789662274 {
frigate | 2023-10-02 21:11:28.789663676 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace',
frigate | 2023-10-02 21:11:28.789664860 'XRange': {
frigate | 2023-10-02 21:11:28.789666096 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789667341 'Max': 1.0
frigate | 2023-10-02 21:11:28.789668534 },
frigate | 2023-10-02 21:11:28.789669732 'YRange': {
frigate | 2023-10-02 21:11:28.789670945 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789672168 'Max': 1.0
frigate | 2023-10-02 21:11:28.789673288 }
frigate | 2023-10-02 21:11:28.789674428 }
frigate | 2023-10-02 21:11:28.789675516 ],
frigate | 2023-10-02 21:11:28.789676757 'AbsoluteZoomPositionSpace': [
frigate | 2023-10-02 21:11:28.789677953 {
frigate | 2023-10-02 21:11:28.789679741 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace',
frigate | 2023-10-02 21:11:28.789680942 'XRange': {
frigate | 2023-10-02 21:11:28.789682168 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789683377 'Max': 1.0
frigate | 2023-10-02 21:11:28.789684554 }
frigate | 2023-10-02 21:11:28.789685667 }
frigate | 2023-10-02 21:11:28.789686808 ],
frigate | 2023-10-02 21:11:28.789688098 'RelativePanTiltTranslationSpace': [
frigate | 2023-10-02 21:11:28.789689261 {
frigate | 2023-10-02 21:11:28.789690915 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace',
frigate | 2023-10-02 21:11:28.789692171 'XRange': {
frigate | 2023-10-02 21:11:28.789693460 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789694897 'Max': 1.0
frigate | 2023-10-02 21:11:28.789696074 },
frigate | 2023-10-02 21:11:28.789697312 'YRange': {
frigate | 2023-10-02 21:11:28.789698611 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789700135 'Max': 1.0
frigate | 2023-10-02 21:11:28.789701293 }
frigate | 2023-10-02 21:11:28.789702769 },
frigate | 2023-10-02 21:11:28.789703911 {
frigate | 2023-10-02 21:11:28.789705332 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationSpaceFov',
frigate | 2023-10-02 21:11:28.789706482 'XRange': {
frigate | 2023-10-02 21:11:28.789707722 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789708979 'Max': 1.0
frigate | 2023-10-02 21:11:28.789710175 },
frigate | 2023-10-02 21:11:28.789711473 'YRange': {
frigate | 2023-10-02 21:11:28.789712739 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789714079 'Max': 1.0
frigate | 2023-10-02 21:11:28.789715165 }
frigate | 2023-10-02 21:11:28.789716287 }
frigate | 2023-10-02 21:11:28.789717386 ],
frigate | 2023-10-02 21:11:28.789718753 'RelativeZoomTranslationSpace': [
frigate | 2023-10-02 21:11:28.789719875 {
frigate | 2023-10-02 21:11:28.789721545 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace',
frigate | 2023-10-02 21:11:28.789722764 'XRange': {
frigate | 2023-10-02 21:11:28.789723953 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789725347 'Max': 1.0
frigate | 2023-10-02 21:11:28.789726559 }
frigate | 2023-10-02 21:11:28.789727777 }
frigate | 2023-10-02 21:11:28.789728850 ],
frigate | 2023-10-02 21:11:28.789730370 'ContinuousPanTiltVelocitySpace': [
frigate | 2023-10-02 21:11:28.789731610 {
frigate | 2023-10-02 21:11:28.789733201 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace',
frigate | 2023-10-02 21:11:28.789734456 'XRange': {
frigate | 2023-10-02 21:11:28.789735650 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789736901 'Max': 1.0
frigate | 2023-10-02 21:11:28.789738062 },
frigate | 2023-10-02 21:11:28.789739312 'YRange': {
frigate | 2023-10-02 21:11:28.789740563 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789741828 'Max': 1.0
frigate | 2023-10-02 21:11:28.789742961 }
frigate | 2023-10-02 21:11:28.789744443 },
frigate | 2023-10-02 21:11:28.789745601 {
frigate | 2023-10-02 21:11:28.789747260 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocitySpaceFOV',
frigate | 2023-10-02 21:11:28.789748537 'XRange': {
frigate | 2023-10-02 21:11:28.789749813 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789751252 'Max': 7.0
frigate | 2023-10-02 21:11:28.789752486 },
frigate | 2023-10-02 21:11:28.789753920 'YRange': {
frigate | 2023-10-02 21:11:28.789755137 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789756337 'Max': 7.0
frigate | 2023-10-02 21:11:28.789757499 }
frigate | 2023-10-02 21:11:28.789758706 }
frigate | 2023-10-02 21:11:28.789759876 ],
frigate | 2023-10-02 21:11:28.789761234 'ContinuousZoomVelocitySpace': [
frigate | 2023-10-02 21:11:28.789762414 {
frigate | 2023-10-02 21:11:28.789764010 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace',
frigate | 2023-10-02 21:11:28.789765225 'XRange': {
frigate | 2023-10-02 21:11:28.789766448 'Min': -1.0,
frigate | 2023-10-02 21:11:28.789767680 'Max': 1.0
frigate | 2023-10-02 21:11:28.789768856 }
frigate | 2023-10-02 21:11:28.789770040 },
frigate | 2023-10-02 21:11:28.789771193 {
frigate | 2023-10-02 21:11:28.789772712 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocitySpaceMillimeter',
frigate | 2023-10-02 21:11:28.789773871 'XRange': {
frigate | 2023-10-02 21:11:28.789775116 'Min': -7.0,
frigate | 2023-10-02 21:11:28.789776387 'Max': 7.0
frigate | 2023-10-02 21:11:28.789777539 }
frigate | 2023-10-02 21:11:28.789778923 }
frigate | 2023-10-02 21:11:28.789780064 ],
frigate | 2023-10-02 21:11:28.789781280 'PanTiltSpeedSpace': [
frigate | 2023-10-02 21:11:28.789782452 {
frigate | 2023-10-02 21:11:28.789783986 'URI': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace',
frigate | 2023-10-02 21:11:28.789785211 'XRange': {
frigate | 2023-10-02 21:11:28.789786438 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789787665 'Max': 1.0
frigate | 2023-10-02 21:11:28.789788810 }
frigate | 2023-10-02 21:11:28.789789967 }
frigate | 2023-10-02 21:11:28.789791090 ],
frigate | 2023-10-02 21:11:28.789792648 'ZoomSpeedSpace': [
frigate | 2023-10-02 21:11:28.789793810 {
frigate | 2023-10-02 21:11:28.789795293 'URI': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/ZoomGenericSpeedSpace',
frigate | 2023-10-02 21:11:28.789796572 'XRange': {
frigate | 2023-10-02 21:11:28.789798056 'Min': 0.0,
frigate | 2023-10-02 21:11:28.789799279 'Max': 1.0
frigate | 2023-10-02 21:11:28.789800739 }
frigate | 2023-10-02 21:11:28.789801895 }
frigate | 2023-10-02 21:11:28.789802985 ],
frigate | 2023-10-02 21:11:28.789804156 'Extension': None,
frigate | 2023-10-02 21:11:28.789805297 '_attr_1': None
frigate | 2023-10-02 21:11:28.789806469 },
frigate | 2023-10-02 21:11:28.789807724 'PTZTimeout': {
frigate | 2023-10-02 21:11:28.789809080 'Min': datetime.timedelta(seconds=1),
frigate | 2023-10-02 21:11:28.789810498 'Max': datetime.timedelta(seconds=600)
frigate | 2023-10-02 21:11:28.789811598 },
frigate | 2023-10-02 21:11:28.789812771 '_value_1': None,
frigate | 2023-10-02 21:11:28.789814011 'PTControlDirection': None,
frigate | 2023-10-02 21:11:28.789815258 'Extension': None,
frigate | 2023-10-02 21:11:28.789816455 '_attr_1': None
frigate | 2023-10-02 21:11:28.789817515 }
frigate | 2023-10-02 21:11:28.789832598 [2023-10-02 21:11:27] frigate.ptz.onvif DEBUG : Onvif status config for garrage_porte: {
frigate | 2023-10-02 21:11:28.789833936 'Position': {
frigate | 2023-10-02 21:11:28.789835104 'PanTilt': {
frigate | 2023-10-02 21:11:28.789836323 'x': -0.978667,
frigate | 2023-10-02 21:11:28.789837536 'y': 0.874444,
frigate | 2023-10-02 21:11:28.789839202 'space': 'http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace'
frigate | 2023-10-02 21:11:28.789840290 },
frigate | 2023-10-02 21:11:28.789841526 'Zoom': {
frigate | 2023-10-02 21:11:28.789842752 'x': 0.0,
frigate | 2023-10-02 21:11:28.789844550 'space': 'http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace'
frigate | 2023-10-02 21:11:28.789845659 }
frigate | 2023-10-02 21:11:28.789846736 },
frigate | 2023-10-02 21:11:28.789848004 'MoveStatus': {
frigate | 2023-10-02 21:11:28.789849284 'PanTilt': 'MOVING',
frigate | 2023-10-02 21:11:28.789850700 'Zoom': 'IDLE'
frigate | 2023-10-02 21:11:28.789851759 },
frigate | 2023-10-02 21:11:28.789853289 'Error': 'NO error',
frigate | 2023-10-02 21:11:28.789854932 'UtcTime': datetime.datetime(2023, 10, 2, 19, 11, 25, tzinfo=<isodate.tzinfo.Utc object at 0x7f8e32e8a1f0>),
frigate | 2023-10-02 21:11:28.789856111 '_value_1': None,
frigate | 2023-10-02 21:11:28.789857322 '_attr_1': None
frigate | 2023-10-02 21:11:28.789858438 }
frigate | 2023-10-02 21:11:28.789860223 [2023-10-02 21:11:27] frigate.ptz.onvif DEBUG : Onvif service capabilities for garrage_porte: {
frigate | 2023-10-02 21:11:28.789861388 '_value_1': None,
frigate | 2023-10-02 21:11:28.789862610 'EFlip': False,
frigate | 2023-10-02 21:11:28.789863809 'Reverse': False,
frigate | 2023-10-02 21:11:28.789865084 'GetCompatibleConfigurations': True,
frigate | 2023-10-02 21:11:28.789866216 '_attr_1': {
frigate | 2023-10-02 21:11:28.789867412 'MoveStatus': 'true',
frigate | 2023-10-02 21:11:28.789868570 'StatusPosition': 'true'
frigate | 2023-10-02 21:11:28.789869756 }
frigate | 2023-10-02 21:11:28.789870871 }
frigate | 2023-10-02 21:11:28.789872318 [2023-10-02 21:11:27] frigate.ptz.onvif DEBUG : PTZ start time: 0.0
frigate | 2023-10-02 21:11:28.789873775 [2023-10-02 21:11:27] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:28.789930574 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for maison_tgbt: 629
frigate | 2023-10-02 21:11:28.791135646 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for piscine_videsanitaire: 630
frigate | 2023-10-02 21:11:28.791137796 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for test: 631
frigate | 2023-10-02 21:11:28.791139465 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for terrasse: 634
frigate | 2023-10-02 21:11:28.791141106 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for garrage_porte: 636
frigate | 2023-10-02 21:11:28.791142720 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for garrage_maison: 638
frigate | 2023-10-02 21:11:28.791144316 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for jardin_avant: 640
frigate | 2023-10-02 21:11:28.791145853 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for portail_interieur: 642
frigate | 2023-10-02 21:11:28.791147423 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for portail_exterieur: 644
frigate | 2023-10-02 21:11:28.791148976 [2023-10-02 21:11:27] frigate.app INFO : Camera processor started for interphone: 646
frigate | 2023-10-02 21:11:28.791150525 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for maison_tgbt: 648
frigate | 2023-10-02 21:11:28.791152125 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for piscine_videsanitaire: 652
frigate | 2023-10-02 21:11:28.791153612 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for test: 656
frigate | 2023-10-02 21:11:28.791155122 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for terrasse: 658
frigate | 2023-10-02 21:11:28.791156620 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for garrage_porte: 665
frigate | 2023-10-02 21:11:28.791158127 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for garrage_maison: 670
frigate | 2023-10-02 21:11:28.791159646 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for jardin_avant: 675
frigate | 2023-10-02 21:11:28.791161193 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for portail_interieur: 680
frigate | 2023-10-02 21:11:28.791162722 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for portail_exterieur: 685
frigate | 2023-10-02 21:11:28.791164191 [2023-10-02 21:11:27] frigate.app INFO : Capture process started for interphone: 690
frigate | 2023-10-02 21:11:28.791165595 [2023-10-02 21:11:28] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:28.791166967 [2023-10-02 21:11:28] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:28.791168370 [2023-10-02 21:11:28] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:28.791169757 [2023-10-02 21:11:28] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:28.792438543 [2023-10-02 21:11:28] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
frigate | 2023-10-02 21:11:28.947687807 [2023-10-02 21:11:28] frigate.ptz.autotrack DEBUG : Motion estimator reset - homography
frigate | 2023-10-02 21:11:29.093736812 [2023-10-02 21:11:29] frigate.ptz.autotrack DEBUG : Motion estimator reset - homography
frigate | 2023-10-02 21:11:29.685890374 [2023-10-02 21:11:29] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:29.701337203 [2023-10-02 21:11:29] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:29.701402545 [2023-10-02 21:11:29] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:29.721569793 [2023-10-02 21:11:29] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:30.722572580 [2023-10-02 21:11:30] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:30.740970366 [2023-10-02 21:11:30] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:30.741060568 [2023-10-02 21:11:30] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:30.758633538 [2023-10-02 21:11:30] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:31.761547949 [2023-10-02 21:11:31] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:31.778065425 [2023-10-02 21:11:31] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:31.778207440 [2023-10-02 21:11:31] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:31.802207135 [2023-10-02 21:11:31] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:32.803107351 [2023-10-02 21:11:32] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:32.821627518 [2023-10-02 21:11:32] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:32.821757525 [2023-10-02 21:11:32] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:32.839594766 [2023-10-02 21:11:32] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:33.840867565 [2023-10-02 21:11:33] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:33.863314567 [2023-10-02 21:11:33] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:33.863394793 [2023-10-02 21:11:33] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:33.906765982 [2023-10-02 21:11:33] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:34.068170056 [INFO] Starting go2rtc healthcheck service...
frigate | 2023-10-02 21:11:34.907178279 [2023-10-02 21:11:34] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:34.921306721 [2023-10-02 21:11:34] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:34.921350609 [2023-10-02 21:11:34] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:34.934175634 [2023-10-02 21:11:34] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:35.935372299 [2023-10-02 21:11:35] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:35.951552957 [2023-10-02 21:11:35] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:35.951822638 [2023-10-02 21:11:35] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:35.968883875 [2023-10-02 21:11:35] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:36.969663076 [2023-10-02 21:11:36] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:36.986801911 [2023-10-02 21:11:36] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
frigate | 2023-10-02 21:11:36.986902419 [2023-10-02 21:11:36] frigate.ptz.autotrack DEBUG : Running camera maintenance
frigate | 2023-10-02 21:11:37.001115485 [2023-10-02 21:11:37] frigate.ptz.onvif DEBUG : Camera zoom level: 0.0
Thanks!
You're running into the same issue as some other users with Hikvision PTZs.
Frigate is waiting for MoveStatus
to switch back to IDLE
after it makes the initial PTZ move so that it can continue autotracking the object. If your camera's firmware doesn't switch it back, then autotracking unfortunately won't work with your camera. Frigate can't do anything more if your camera's ONVIF features don't actually work as they should.
@hawkeye217 All right,
thanks for your feedback
I took over the work that you and the team started to try to design compatible with configuration for cameras which would not support the relative (or which would have a messed up firmware (like hikvision) (if controlled with Absolut, the ONVIF data is correct)
I'm almost finished, but I can't find where the "blocking" line is located which awaits the return to IDLE?
I will share my work if it works correctly after several tests on a PR
I'm almost finished, but I can't find where the "blocking" line is located which awaits the return to IDLE?
You'll want to look at get_camera_status()
in onvif.py
.
thank you, I will check that
hi, @hawkeye217 I am facing this logic error:: (the crossed out text are custom dev logs)
-> DEBUG : Actual movement time: -1696362949.056707
(the custom dev logs dont edit the self.ptz_metrics value Do you have any idea what could cause it?
the camera moves on the lens for the first time, but no longer follows it.
second question, is the spam of ": Motion estimator transformation:" and "Motion estimator running for terrace" normal?
Shouldn't this push a new move request into the queue?)
frigate | 2023-10-03 21:55:49.668817997 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Autotrack: New object: 1696362947.133419-wh8km1 (1258, 345, 1359, 779) 1696362948.703803 frigate | 2023-10-03 21:55:49.673128961 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Original box: (1258, 345, 1359, 779) frigate | 2023-10-03 21:55:49.673440552 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Predicted box: (1258, 345, 1359, 779) frigate | 2023-10-03 21:55:49.673444380 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Velocity: (-70, 7, -85, -21) frigate | 2023-10-03 21:55:49.673451897 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Enqueue movement for frame time: 1696362948.703803 pan: 0.36250000000000004, enqueue tilt: -0.040740740740740744, enqueue zoom: 0
frigate | 2023-10-03 21:55:49.679311112 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Move camera to coord: 0.36250000000000004 : -0.040740740740740744 : 0 : 1
frigate | 2023-10-03 21:55:49.718573359 [2023-10-03 21:55:49] frigate.ptz.autotrack DEBUG : Wait calibration mode sleep for: 0.3673316568136215
frigate | 2023-10-03 21:55:50.066299722 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.455855, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.086459370 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Predicted movement time: 0.014439457650756719 frigate | 2023-10-03 21:55:50.086528393 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Actual movement time: -1696362949.056707 frigate | 2023-10-03 21:55:50.086580520 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Adding new values to move metrics frigate | 2023-10-03 21:55:50.127205430 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[1.27372880e-12 4.45021978e-13]] frigate | 2023-10-03 21:55:50.211249173 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.618854, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.219234852 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[-0.01260796 -0.05390279]] frigate | 2023-10-03 21:55:50.286626080 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362949.855245, 1696362949.056707, 0.0 frigate | 2023-10-03 21:55:50.298222833 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator transformation: [[-0.05323606 -0.06281046]] frigate | 2023-10-03 21:55:50.356767577 [2023-10-03 21:55:50] frigate.ptz.autotrack DEBUG : Motion estimator running for terrasse - frame time: 1696362950.152674, 1696362949.056707, 0.0
in ovif you make this assignment in the move function (_move_relative)
what is this for?
self.ptz_metrics[camera_name]["ptz_start_time"].value = self.ptz_metrics[
camera_name
]["ptz_frame_time"].value
THANK YOU for your help, I know I'm asking several questions, but it's not easy to analyze such a complete program :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the problem you are having
the cameras are able to identify the person who is in the tracking area but does not follow them
here is a photo of my zone configuration![image](https://github.com/blakeblackshear/frigate/assets/11999989/b95555ad-b6e7-423b-aef6-8286f7c607b8)
https://github.com/blakeblackshear/frigate/assets/11999989/dd25f9ee-6081-4664-b8ca-b52eb569428f
(the test was carried out on 4 different Ptz implementations and the result is constantly the same, however we see a speed of detection on the first movement which is very rapid!)
Version
dev-9a4f970 + fix #8031
Frigate config file
Relevant log output
FFprobe output from your camera
Frigate stats
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Network connection
Wired
Camera make and model
HIKVISION HWP-N4215IH-DE (8pc)
Any other information that may be helpful
it would certainly be interesting to improve the logs and specify the name of the camera concerned by it
let me know if you need more information