Dahua VTO-2202F-P-S2

Hello everyone,

I’ve well connected my vto to HA, but I would like to be able to unlock the door with button in my dashboard.
I can’t do it, the message is:
Échec de l’appel du service switch/turn_on. 400, message=‘Bad Request’, url=URL(‘http://192.168.20.1:80/cgi-bin/configManager.cgi?action=setConfig&DisableLinkage[0].Enable=true’)

Anybody can help me to find the option cause I can’t find it…

THX a lot!

From here

curl -s --globoff --digest --user %username%:%newpass% “http://192.168.1.110/cgi-bin/accessControl.cgi?action=openDoor&channel=1&UserID=101&Type=Remote

Can you help me to manage this?
I haven’t done yet curl command in HA…

Newbee in the place…

First test curl command using linux terminal. Im sure there is windows equivalent as well.

I have VTO but did not install and only tested doorbell press. I never try using switched output for gate opening since i use ither devices for that.