> ## Content Index
> Fetch the complete content index at: https://whatimade.today/llms.txt
> Use this file to discover other available public pages before exploring further.

# Reseting HIKVISION DS-2CD1021 IP Camera Password
- URL: https://whatimade.today/reseting-hikvision-ds-2cd1021-ip-camera-password/
- Published: 2025-11-07T11:19:24.000Z
- Updated: 2026-11-14T16:37:20.000Z
- Author: GalBrandwine
- Tags: camera from pc, hikvision, Frigate, Truenas, #Import 2026-11-07 09:43

# See Far, Go Further

(HIKVISION's slogan. Me likey)

I've been running my *truenas* server at home for a couple of years now. Initially, I used it for media streaming and peer-to-peer file sharing :). Later on, I learned about this app - [Frigate NVR](https://frigate.video/?ref=whatimade.today), and learned that I can easily connect my Google-Coral TPU to it, streaming video to models like YOLO, enjoying local high-level AI detections without choking my server's CPU. Like many NVR's Frigate tags and creates clips of captured interesting things; it runs inference both on video and audio streamed from the camera (So I could be alerted if there's a crying baby, or get a `fire-alarm` detection). Although applications that come with off-the-shelf cameras can do the same (usually for the price of some online storage), the privacy of running it locally is a relief.

A few months back, I bought an IP camera and started tinkering with Frigate.  
Quickly learning that it is really powerful open-source software!

Having just 1 IP camera doesn't suffice. Wanted more coverage, I got this old IP camera - **HIKVISION DS-2CD1021** from a friend.  
These cameras's designed to work with a DVR, which creates a local network, with a fixed IP.  
Connecting it to my network did nothing since the camera is configured to have a static IP.  
I can configure it to DHCP through the camera's login page, but first I needed to access it...

---

## Step 1 - [Reading HIKVISION DS-2CD1021 specs](https://www.hikvision.com/europe/products/IP-Products/Network-Cameras/value-series/ds-2cd1021-i/?ref=whatimade.today)

Frigate can be configured to work with many streaming protocols.  
This camera supports many:

```text
TCP/IP, ICMP, HTTP, HTTPS, FTP, DHCP, DNS, DDNS, RTP, RTSP, RTCP, 
NTP, UPnP, SMTP, SNMP, IGMP, QoS, IPv6, Bonjour, IPv4, UDP, SSL/TLS

```

I will use the **RSTP**.

According to the specs, the default IP address is `192.168.1.64`. I need to create a static IP network with subnet `192.168.1.1`. Luckily, I have an [Omada](https://www.omadanetworks.com/in/business-networking/omada-controller-cloud-software/omada-software-controller/?ref=whatimade.today) controller running on my TrueNAS server, which made this procedure rather easy:

![](https://whatimade.today/content/images/2025/11/Screenshot-from-2025-11-05-10-45-19.png)

Also, I need to set my PC to have a static IP network connection:  
![](https://whatimade.today/content/images/2025/11/Screenshot-from-2025-11-05-10-54-55.png)

Now, I *should just* enter `192.168.1.64` in the browser and get a login screen of the camera.  
**Sadly, and expectedly, it didn't work.**, well, this camera is used and was connected to a DVR before, so my guess is that the default IP changed.

In their user guide, there's a Windows-only program called [SADP](https://www.hikvision.com/en/support/tools/hitools/clea8b3e4ea7da90a9/?ref=whatimade.today) that automatically detects the connected camera's IP address.

**Switching to a Windows machine.**: The SADP software surprisingly worked, figured out that the camera's IP is - `192.168.254.3`:

![image of SADP exposing my ip amera](https://whatimade.today/content/images/2025/11/Screenshot-2025-11-05-083426.png)

Once I've configured a static IP wired-network connection, I've managed to access `http://192.168.254.3/doc/page/login.asp` yey! Yet it was password-protected (and the obvious `admin` `admin` didn't work).

After some reading online:

1. I need to use the SADP; select the problematic camera from the list, press the forget password, and export a code.
2. Then send this code to the local HIKVISION vendor's tech support (In my case `tech@hviil.co.il`).
3. They will return a generated XML file containing the temporary password.
4. Using the SADP tool - I need to import this XML and insert a new password.
5. I've successfully reset the password! Now we can start tinkering with it :)

One last thing before integrating with Frigate - have a sanity test, and stream video-feed to VLC.

Using this URL `rtsp://admin:anIPCamera1!@192.168.0.143:554/Streaming/Channels/101`, and voila!:

![](https://whatimade.today/content/images/2025/11/Screenshot-2025-11-07-120035.png)

This camera will come in handy.  
It has two streaming channels.  
It supports up to 1080p, enough for object detection.  
It can be powered with PoE, which is generally a good thing  
Most importantly, adding it to should be straightforward, just expand my Frigate camera's config JSON file with this:

```json
cameras:
  hikvision_ds_2cd1021:
    ffmpeg:
      inputs:
        - path: rtsp://admin:anIPCamera1!@192.168.0.143:554/Streaming/Channels/101
          roles:
            - detect
        - path: rtsp://admin:anIPCamera1!@192.168.0.143:554/Streaming/Channels/102            
          roles:        
            - record # Changed to record for this camera, assuming it's the higher res for 510a
            - audio # Add this if you want to enable audio detection later   
    audio:
      enabled: True # <- enable audio events for the upstairs camera         
      listen:
      - bark
      - fire_alarm
      - scream
      - speech
      - yell
    detect:
      width: 1280
      height: 720
      fps: 10
    objects:
      track:
        - person
        # - car
        - dog
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
    record:
      enabled: true
      retain:
        days: 7
        mode: motion

```

#### Yup - plug and play :)

In the image below, Frigate's UI, with 2 cameras. The left one is this HIKVISION

![](https://whatimade.today/content/images/2025/11/Screenshot-2025-11-07-121457.png)

#### Final thoughts

I must confess, HIKVISION's security is tight.  
Also, I was sceptical they would help me with this old 2018 IP camera that a friend gave me.  
Playing with Frigate is fun. But it's a fraction of what I plan:

Every frigate detection can be published over MQTT... (food for thought)

Cheers, Gal