Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosch camera- Configuration Analytics profile-Remove Configuration not removeing newly added configuration. #33

Open
surajitx-pal opened this issue Apr 5, 2022 · 2 comments
Labels
1-low priority denoting isolated changes bosch Bosch camera bug Something isn't working

Comments

@surajitx-pal
Copy link

Summary of the problem:
'Remove Configuration' API not working.

Issue reproducible on below camera models:
#Bosch DINION 6000HD

Reproduce steps:

Execute this command to set Set metadata configuration

command -add configuration -

Step #1:

curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/AddConfiguration
--header 'Content-Type: application/json'
--data-raw '
{
"AddConfiguration":{
"ProfileToken":"0",
"Name":"Analytics #3",
"Configurations":[
{
"Type":"tt:Viproc",
"Token":"1"
}
]
}
}'

Step #2
Verify with getProfiles command - new configuraiton added sccess fully.
curl -X GET http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/Media2Profiles

Step #3
Command to remove the newly added configuration -

curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/RemoveConfiguration\
--header 'Content-Type: application/json'
--data-raw '
{
"RemoveConfiguration": {
"ProfileToken": "0",
"Configurations": [
{
"Type": "tt:Viproc",
"Token": "1"
}
]
}
}'

Executed successfully - but not removed properly verify with GetProfiles command-

@surajitx-pal surajitx-pal added the bug Something isn't working label Apr 5, 2022
@lenny-goodell lenny-goodell added the 1-low priority denoting isolated changes label Jun 23, 2022
@ajcasagrande ajcasagrande added the bosch Bosch camera label Jul 26, 2022
@vyshali-chitikeshi
Copy link
Contributor

On Hikvision-DS-2DE2A404IW-DE3 camera also, it gives status code 200 with remove configuration but its not actually removing configuration from media profile.

@vyshali-chitikeshi
Copy link
Contributor

Issue still exists with V3 code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-low priority denoting isolated changes bosch Bosch camera bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants