+4
Answered

Dahua IP Video Door station control

Jackie Roos 7 years ago in General updated by Andrey S 6 years ago 10

Hi all

Has anyone got control strings to unlock, door bell greetings etc for Dahua IP Video Door stations?

thanks!

Yes, it would be very useful!

I am currently having project with dahua door station, and would like to control it too!

In Russia (and CIS) Dahua is better known as RVi.


simple for GET:

http://admin@admin:192.168.1.110/cgi-bin/accessControl.cgi?action=openDoor&channel=[&UserID= >&Type=]

JSON as also available as RPC

POST:80/RPC2_Login


Requesting session ID

{"method":"global.login",
            "params":{
                "userName":admin,
                "password":"",
                "clientType":"Web3.0"},
            "id":10000}

 Logging in

{"method":"global.login",
            "session":S_E_S_S_I_O_N_I_D,
            "params":{
                "userName":admin,
                "password":admin,
                "clientType":"Web3.0",
                "authorityType":"OldDigest"},
            "id":10000}


POST :80/RPC2

{"method":"accessControl.openDoor","params":{"Type":"Remote"},"id":10000+INCREMENT,"session":1234567890,"object":1234567890}

If you write a some code, please post it here for everyone to see.


DAHUA_HTTP_API_FOR_IPC - DAHUA_HTTP_API_FOR_IPC&SD-V1.40.pdf

DAHUA_HTTP_CGI_FOR_VDP.pdf

Amcrest AMCREST_HTTP_API_SDK_V2.10.pdf

hi thanks for the code, the sad thing is I am more of an installer than a coder, can you put this into a sample.irpz just so I can get my head around it please

Unfortunatelly link to "DAHUA_HTTP_CGI_FOR_VDP.pdf" dont't work :-(

help me!

Encrypted archive. Can you help with password?

I do not know the password, it's a question to the manufacturer.