Rebooting IP cameras remotely

Hikvision

Complete Hikvision API documentation is available here.

To reboot remotely a Hikvision IP camera, all one needs to do is ‘PUT’ /System/reboot:

curl -X PUT --user {USERNAME}:{PASSWORD} http://{CAMERA_IP}/System/reboot

Dahua

Complete Dahua API documentation is available here.

To reboot remotely a Hikvision IP camera, all one needs to do is 'GET' /cgi-bin/magicBox.cgi?action=reboot:

curl --user {USERNAME}:{PASSWORD} http://{CAMERA_IP}/cgi-bin/magicBox.cgi?action=reboot

5 thoughts on “Rebooting IP cameras remotely”

    1. I haven’t looked into it, but most likely yes, as they changed a lot of things in new firmware.

  1. Thank you, Sergei, for providing the curl command to reboot a Hikvision camera! Worked perfectly and was able to bring a client’s camera back online from half a continent away.

  2. curl –digest –http1.1 -X PUT –user username:password http://{camera-ip}/System/reboot

    This is how to reboot a hikvision camera.
    Note that you either have to be admin or create a user just for rebooting the camera. Make the new user an “operator”.
    For it to work the new user/operator has to have rights to 3 remote settings 1.Remote: Parameters Settings 2.Remote: Log Search/Interrogate Working 3.Remote: Shutdown/Reboot
    You can do this under “modify user”

Leave a Reply

Your email address will not be published. Required fields are marked *