You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ONVIF >>> cmd imaging SetImagingSettings {'AutoFocusMode': 'manual'}
False: Unknown error: The ReferenceToken type doesn't accept collections as value
ONVIF >>> cmd imaging SetImagingSettings {'NearLimit': '30'}
False: Unknown error: The ReferenceToken type doesn't accept collections as value
i would be happy if someone is able to shine some light on this
thank you
:-)
The text was updated successfully, but these errors were encountered:
jenswes
changed the title
onvif-cli more samples with working parameters
onvif-cli more samples with working parameters - looking for howto focus
Oct 14, 2023
Hello,
I'm trying to figure out howto translate the output of any onvif camera into a working onvif-cli commandline
so far i have: (if you have same more, please add here)
often i got a strange error like
cmd devicemgmt SetHostname {'Name': 'camo01', 'FromDHCP': True}
False: Unknown error: The Token type doesn't accept collections as value
ONVIF >>> cmd devicemgmt SetHostname {'Name': 'camo01'}
True: {}
ONVIF >>> cmd devicemgmt SetHostname {'FromDHCP': True}
False: Unknown error: The Token type doesn't accept collections as value
ONVIF >>> cmd devicemgmt GetHostname
True: OrderedDict([('FromDHCP', False), ('Name', 'camo01'), ('Extension', None), ('_attr_1', None)])
as the devicemgmt GetHostname has FromDHCP. i have an error setting this.
My goal would be adjusting zoom and fokus
From cmd media GetProfiles i have the profiles:
cmd imaging GetImagingSettings {'VideoSourceToken': '000'}
(offtopic, the output is ugly to read, any idea hot make it nicer?)
Here we have
('Focus', OrderedDict([('AutoFocusMode', 'AUTO'), ('DefaultSpeed', 5.0), ('NearLimit', 0.0), ('FarLimit', 100.0)
but how to construCt an onvif-cli
ONVIF >>> cmd imaging SetImagingSettings {'VideoSourceToken': '000'}
False: Unknown error: Missing element ImagingSettings (SetImagingSettings.ImagingSettings)
ONVIF >>> cmd imaging SetImagingSettings {'AutoFocusMode': 'manual'}
False: Unknown error: The ReferenceToken type doesn't accept collections as value
ONVIF >>> cmd imaging SetImagingSettings {'NearLimit': '30'}
False: Unknown error: The ReferenceToken type doesn't accept collections as value
i would be happy if someone is able to shine some light on this
thank you
:-)
The text was updated successfully, but these errors were encountered: