Open gedw99 opened 2 months ago
amdacli 'user:userpass@mycam' All
will retrieve all of the options your camera provides. The Dahua/Amcrest API is digest-authenticated HTTP GET calls with the commands encoded into the URL. The available options vary from camera to camera. amdacli
just batches & submits requests. Here's one of the API manuals:
To set values, here's an example:
amdacli "$CAM_ALL" 'GPS[0].SyncTime=true'
In this example, $CAM_ALL
is a shell environment variable with my connect information (user name, password, host name/ip). A settings key (GPS[0].SyncTime) without an assignment operator queries the current value.
Hey @BourgeoisBear
Thanks for putting this code up .
I have a few questions …
do you know if I an configure the video feed properties using this http api ?
Do you know if I can control the ptz ?
did you manse to do software updates ?
what models is this designed to work with ?
sorry about all the questions .
It’s for a science project where I need a few cameras to experiment with and to reprobate the video feed onto a 3d model - video fusion is what I call it .