How to check, on a Hikvision camera or recorder, that it sends its alarms to GC Surge by e-mail (SMTP): where the settings are, what must be switched on, how to test, and what to do when it fails. Use it together with Not Receiving Alarms.
Menu names differ a little between firmware versions and between cameras and recorders. The names below are the ones of the web interface of the device.
Who it is for: Technicians and admins who can sign in to the device with an administrator account.
GC Surge does this for you | You must make sure of this |
|---|---|
Writes the e-mail (SMTP) settings onto the device. | The device user you entered in GC Surge is an administrator. |
Adds the action "Send Email" to the motion detection of each camera that already has motion detection switched on. | Motion detection is switched on, has an area and an arming schedule. |
Reads the cameras (channels) of the device.
The device can send to the internet: gateway, DNS server, outbound port. |
You need | Notes |
|---|---|
The address of the device and its HTTP or HTTPS port | Factory values are 80 (HTTP) and 443 (HTTPS). Port 8000 is not needed by GC Surge. |
An administrator account of the device | Usually "admin" with the password set at the first start. |
The values from GC Surge | In GC Surge: Sites & Cameras, expand the site, then the device Actions > Set up with Genie > Setup details. |
Watch:
Before you can use the checks on this page, the device must be added to GC Surge. If it is already listed under Sites & Cameras, you can skip this section.
Step 1: Open Sites & Cameras.
Step 2: To add a device to a site you already have, open Actions > Add device in the site row. To start from the top of the page, click Add sites & cameras, then choose Add a site and camera or Add a camera to an existing site.
Step 3: Fill in the form (step 2 of 2): Device name, Device brand (Hikvision), Device IP or hostname, HTTP/S port, RTSP port, and Username and Password (or the RTSP URL). Use the administrator account of the device. Click Run device check.

Step 4: Read the result of the check. If it shows Not reachable from the internet, the device is on a private network. Click Continue with local agent and go on with Finish Setup for a Private Device below.
When the device is added, its Status tab shows how far the setup is. To follow the progress, use Check the Status of a Device below.
A device in a LAN or behind a VPN cannot be reached by GC Surge from the internet. In the device table of Sites & Cameras its Connection type is private. For such a device the setup is finished by the local agent, a small program on a Windows or macOS computer in the same network as the device. After setup the device sends its alarms to GC Surge itself. The agent is needed for setup, Retry and Edit, not for the alarms.
Step 1: Open Sites & Cameras, expand the site, then open the device Actions > Set up with Genie.
Step 2: On the Status tab, GC Surge shows This device is on a private network with the note that the Local Agent at the site finishes the setup.
Step 3: Click Open setup instructions. The window Complete device setup opens.
Step 4: Install and start the local agent on a computer in the same network as the device. All steps are in Private Camera Setup (Local Agent).
Step 5: If you prefer to enter the settings on the device yourself, use the values shown in the window or in Setup details, then click I've entered these settings: mark as configured manually. The device steps are in Set It Up by Hand below.
Retry and Edit for a private device also need the local agent running in the site network. Start the agent before you use them.
Step 1: Sign in to the web interface of the device.
Step 2: Open Configuration > Network > Advanced Settings > Email.
Step 3: Compare each field with Setup details in GC Surge.
Field on the device | Must be |
|---|---|
Sender's Address | From email from Setup details |
SMTP Server | Host |
SMTP Port | Port |
E-mail Encryption | The value of Encryption. For "tls" with port 587 choose TLS. If the device also shows Enable STARTTLS, tick it. |
Attached Image | Ticked |
Authentication | Ticked |
User Name | Username |
Password | Password (use the show and copy buttons in Setup details) |
Receiver's Address (Receiver 1) | To email |
Step 4: Click Test. The device must report that the test succeeded.
Step 5: Click Save.
Do this for every camera that should send alarms. On a recorder, choose the camera (channel) at the top first.
Motion detection
Smart events (if you use them)
The Status tab shows where the setup of a device stands and lets you run a check.
Step 1: Open Sites & Cameras, expand the site, then open the device Actions > Set up with Genie. The Status tab opens.
Step 2: At the top, five steps show how far the setup is: Reach, Sign in, Alarm mail, Detection and First alarm. While the setup is not finished, GC Surge looks again every 30 seconds, so you do not need to come back to this window.

Step 3: Under Run a check, click a check:
Last alarm looks up the newest alarm from this device. If none has arrived, it shows “No alarm has arrived from this device yet.”
Alarm forwarding checks whether alarms are passed on to a receiver. If no receiver is set up, it shows “No receiver is set up. Alarms stay in GC Surge and are not passed on.”
Reach test and Motion alarms are not available for every device. For example, for a private device whose setup is not finished, both are greyed out with the note “Not available for this device”.
Below the checks, the box Ask anything about this device takes a question about the device. AI answers can be wrong. Checks run through GC Surge, and passwords are never shared with the AI.
If a setup does not finish, the Status tab shows the step where it stopped: Reach, Sign in, Alarm mail, Detection or First alarm. For a private device, start with Finish Setup for a Private Device. For the causes of other failures, see Troubleshooting.
Symptom | Cause | What to do |
|---|---|---|
The add screen shows Setup failed at: Device credentials, or the Status tab shows Sign in with an exclamation mark: “The device did not accept the login” | Wrong password, or the account is locked after wrong attempts. | Try once only: a few wrong tries lock the device for about 30 minutes. Wait for the lock to end or unlock the account on the device. In GC Surge, click Edit connection details and correct the credentials. GC Surge does not retry the login by itself, so the device does not lock. On the add screen, correct the details shown and click Retry setup. |
The add screen shows Setup failed at: Camera reachable or Loading device settings, or the Status tab shows Reach with an exclamation mark | GC Surge or the local agent cannot reach the device. Wrong address or port, or HTTP and HTTPS mixed up. | Use the port of the web interface (80 or 443), not 8000. Set HTTPS (secure) in GC Surge to match. |
The add screen shows Setup failed at: Writing alarm e-mail settings, or the Status tab shows Alarm mail with an exclamation mark: “I could not write the alarm settings” | Most often a wrong password, even when the login looked fine. Or the user is an operator or viewer, not an administrator. Or the firmware is very old. | Check the login, then click Retry setup. Use an administrator account. Update the firmware. Or enter the settings by hand (Check the E-mail Settings). |
Test fails with a server or DNS message | No DNS server, or no gateway. | |
Test fails with a time-out | The site firewall blocks the outbound port. | Allow outbound connections from the device to the Port from Setup details. |
Test fails with an authentication message | User name or password not exactly as in Setup details. | Copy both again. Check for a space at the start or the end. |
Test fails with an encryption message | Wrong encryption type, wrong device date, or firmware without current TLS. | Choose TLS (with STARTTLS where offered) for port 587. Correct the date. Update the firmware. |
Test works, but no alarm arrives | The detection does not send. | In Check the Detection and Its E-mail Action, check: enable, area, schedule and Send Email. |
Alarms arrive without pictures | Attached Image is not ticked. | Tick it in the e-mail settings. |
Only some cameras of a recorder send alarms | Motion detection or Send Email is missing on the other channels. | Repeat Check the Detection and Its E-mail Action for each channel. Then use Retry in GC Surge. |
Alarms stopped after a firmware update or a reset | The settings were removed. | Retry in GC Surge writes them again. Then check Check the Detection and Its E-mail Action. |
Very many alarms | The area covers trees, a road or a light source, or the sensitivity is too high. | Reduce the area. Lower the sensitivity. Use a smart event with a drawn zone instead of plain motion. |
If the automatic setup does not work on your device:
Thank you — your feedback goes to the team that owns this page.