First of all, sorry if i'm posting in the wrong place and sorry for my english (not my first language).
So, im using a Hikvision Camera (Hikvision DeepinView Series/IP Camera/ iDS-2CD7A26G0/P-IZHS).
I created my own server (using Node.JS) and redirected the camera to send the capture info to this server. When i receive it, i will check in my OWN DATABASE if the plate number i received from the camera can enter or not. It needs to be like this, because i need to check for a LOT of things to decide if a plate has free acess or not. So far,so good. Everything is working. The only part i'm missing is: opening the control barrier if the car has free access.
I have tried everything on Hikvision official guide page (Log In) with no success. I get error messages like "method not supported" or "device error" or even "404 not found" on all the URLs they tell me to use on this guide (i'm using Postman and i get this error using either GET,PUT or POST). In the final line of the guide,its written: "Call /ISAPI/ITC/Entrance/barrierGateCtrl by PUT method to control barrier gate status.". I was 100% sure that this would open the barrier but it does not... I get "device error" as response.
I have no idea what to do and i'm really lost. I need to finish this ASAP and every help is welcome.
PS.: I have done all steps in the guide. Yes, my camera does have access to barrier gate control functions and yes, my camera is connected to the barrier already.
Thank you so much for your time/answer.
So, im using a Hikvision Camera (Hikvision DeepinView Series/IP Camera/ iDS-2CD7A26G0/P-IZHS).
I created my own server (using Node.JS) and redirected the camera to send the capture info to this server. When i receive it, i will check in my OWN DATABASE if the plate number i received from the camera can enter or not. It needs to be like this, because i need to check for a LOT of things to decide if a plate has free acess or not. So far,so good. Everything is working. The only part i'm missing is: opening the control barrier if the car has free access.
I have tried everything on Hikvision official guide page (Log In) with no success. I get error messages like "method not supported" or "device error" or even "404 not found" on all the URLs they tell me to use on this guide (i'm using Postman and i get this error using either GET,PUT or POST). In the final line of the guide,its written: "Call /ISAPI/ITC/Entrance/barrierGateCtrl by PUT method to control barrier gate status.". I was 100% sure that this would open the barrier but it does not... I get "device error" as response.
I have no idea what to do and i'm really lost. I need to finish this ASAP and every help is welcome.
PS.: I have done all steps in the guide. Yes, my camera does have access to barrier gate control functions and yes, my camera is connected to the barrier already.
Thank you so much for your time/answer.