Skip to content

Instantly share code, notes, and snippets.

@hansaya
Last active April 20, 2020 03:12
Show Gist options
  • Save hansaya/f4550fa9c0875db4181a8c730bbcf08f to your computer and use it in GitHub Desktop.
Save hansaya/f4550fa9c0875db4181a8c730bbcf08f to your computer and use it in GitHub Desktop.
Updating Laview lv-pdk50812a to Hikvision DS-2CD2183G0-I

Updating Laview lv-pdk50812a to Hikvision DS-2CD2183G0-I.

This guide can be used for other models as well. I only tested it with lv-pdk50812a. There is no systematic way to find the Hikvision OEM model number from Laview or Swann. However, you should be able to compare the most features and find the camera that best fit. Firmware is unique to the platform so if you get close enough, it should work. Now, don’t come crying to me if you brick your camera. You are doing this at your own risk.

  1. Get the latest firmware from hikvision Europe portal. This camera matches G1 platform

  2. Only way to upload firmware is to flash using TFTPD. Tool given by hikvision does not work but we got an opensource tool written in python.

  3. Install python to run the tool https://www.python.org/

  4. (Optional) We need to figure out what camera is doing to find the tftpd server (lv-pdk50812a uses 192.168.1.128). You can get this information by running https://www.wireshark.org/. You should be able to see events with Request who-has 192.168.1.128 at camera start up.

  5. Set your computer physical computer interface to static ip 192.168.1.128 This may vary depend on the camera model. Use wireshark to find the ip camera looking for.

  6. Unzip the firmware and run the tool. Make sure to use the static ip you set on the interface.

python hikvision_tftp.py --server-ip=<static ip, ie 192.168.1.128> --filename=digicap.mav
  1. Plug the camera in and power it on. I did not test this over a switch and it should work as long as your computer is set to the correct ip.

    • If everything is working then you should see python script printing the percentage of the upload.
    • Finally leave the camera on for about 10min as a safe measure to have it install the new firmware.
  2. After you plug the camera into the network, you need to configure the camera as a new hikvision camera. Which means camera does not pick up a IP and you have to do the first configuration using hikvision SDAP tool.

Good luck!

@boomertsfx
Copy link

boomertsfx commented Mar 12, 2020

worked great -- thanks! Upgraded to V5.6.4_Build191224 released 2020-03-02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment