Use this page to add a device by entering its details yourself, or to connect any device that can send alarms by REST API or e-mail (SMTP).
Watch:
Adding a device uses one form and a device check. Follow Adding a Device. For a device that GC Surge sets up for you, continue in Public Camera Setup or Private Camera Setup (Local Agent).
Watch:
Use this for any device or system that can send alarms by HTTP or by e-mail: cameras of other brands, recorders, video management systems, alarm panels or your own software. GC Surge gives you connection details. You enter them on the device.
Step 1: Open Sites & Cameras and add a device as described in Adding a Device: fill in the form and click Run device check
Step 2: Under Connection method, choose Manual setup on the device and click Show manual settings.
Step 3: Under How should alarms be sent to GC Surge? choose the method your device supports:
Method | Description | Typical use |
|---|---|---|
REST API | For a system that can call a web address. It posts each alarm to GC Surge with a token. | Software, video management systems, devices with an HTTP alarm action. |
Email (SMTP) | For most cameras and recorders. The device e-mails each alarm to a GC Surge mailbox. | Cameras and recorders with "send e-mail on alarm". |

Step 4: Click Add device and show the settings. GC Surge adds the device and shows Enter these settings in the device.
Step 5: Copy the values into the device.
Method | Values shown in the dialog | What to do on the device |
|---|---|---|
REST API | API endpoint, API key (hidden), Device ID | Have your system post each alarm to the events address, with this token. Send an HTTP POST with JSON to the endpoint for each alarm. Authenticate with the API key. Include the device ID, an event code and the alarm pictures. |
Email (SMTP) | SMTP host, SMTP port (587), Username, Password (hidden), Encryption (tls), To email, From email, Device ID | Enter them in the device's e-mail (SMTP) menu. Then switch on sending e-mail for motion, or for the alarms you want. |

Example of a REST API alarm
Send one HTTP POST per alarm to the API endpoint. Put the API key in the Authorization header as a Bearer token. Send the pictures in time order: before the alarm, at the alarm, after the alarm.
POST <API endpoint>
Authorization: Bearer <API key>
Content-Type: application/json
{
"deviceId": "<Device ID>",
"eventCode": "motion.event",
"images": [
{ "type": "base64", "data": "data:image/jpeg;base64,<picture before the alarm>" },
{ "type": "base64", "data": "data:image/jpeg;base64,<picture at the alarm>" },
{ "type": "base64", "data": "data:image/jpeg;base64,<picture after the alarm>" }
]
}GC Surge answers with the status 202 (accepted) when it received the alarm.
Step 6: Answer Have you entered these settings on the device?
Button | Result |
|---|---|
Yes, they are entered | GC Surge shows "Marked as set up. Its alarms appear in the Alarm Center as soon as it sends the first one." The device status is Configured. It becomes Receiving alarms when the first alarm arrives. |
Not yet | The device is saved as Setup needed. The settings stay available: open the device Actions > Set up with Genie and the Setup details tab. When you have entered them on the device, click I've entered these settings: mark as configured manually. The status becomes Receiving alarms when the first alarm arrives. |
Step 7: On the last screen, click Also forward its alarms to other recipients if alarms of this device should go to a specific alarm receiver (Alarm Forwarding per Site & Device). Otherwise close the screen or click Go to Alarm Center.
Step 8: Trigger one alarm on the device. The status changes to Receiving alarms and the alarm appears in Recordings.
Symptom | Cause | What to do |
|---|---|---|
Status stays Configured, no alarm arrives | The device does not send, or sends to a wrong value. | Compare every value on the device with Setup details. Check outbound internet access of the device. Trigger a test alarm. |
REST: the request is refused as not authorised | The API key is missing or wrong. | Copy the key again with the copy button. Check that there is no space before or after it. |
REST: the request is refused as invalid | The JSON is not valid, or the device ID is missing. | Check the JSON. Send the Device ID exactly as shown. |
REST: the request is accepted but nothing appears in Recordings | The device ID belongs to another device, or the time range in Recordings does not include now. | Check the device ID. Set the time range to Last 24 hours. Look under the right site. |
E-mail: the device reports a send error | Wrong server, port, encryption or login. | Enter all SMTP values exactly as shown. Check the encryption setting. Use the test button of the device. |
E-mail: sending works but no alarm appears | The recipient address is wrong, or the e-mail has no picture. | Use the recipient address from Setup details. Switch on picture attachment. |
Alarms arrive under the wrong device | Details of another device were used. | Enter the details of the right device. |
The status is Setup needed | You chose Not yet. | Enter the settings on the device. To see them again, open Actions > Set up with Genie and the Setup details tab. |
You think the API key is known to others | The key was shared. | Delete the device and add it again to get new details. Then update the device. |
My camera brand is not on the list. Can I still use it? Yes. Choose Other / not listed as the brand, run the device check and choose Manual setup on the device. The device must be able to send alarms by e-mail or HTTP.
Thank you — your feedback goes to the team that owns this page.