- Messages
- 436
- Points
- 28
Hikvision Gmail Failure
As mentioned in previous threads about this issue, Google have recently begun to discontinue support for SSL encryption within Gmail, citing security concerns as the reason for their deprecation.
You can read more about their reasoning here.
This has greatly affected Hikvision users as when this came into affect, all Hikvision devices used SSL when sending emails. This has made it impossible to send emails from a Hikvision camera or NVR via a Gmail address without being met by "Testing Failed" or "Failed to Connect Test Server". It also broke previous workarounds to this problem such as the one covered in the thread linked above.
Thankfully, there is now a fix for Gmail and Hikvision standalone cameras, and another temporary workaround for NVRs.
It is my understanding that this fix currently doesn't work with Hikvision DVRs - further information and your own experiences are greatly appreciated.
For Standalone Cameras (Not Directly Connected to an NVR)
Hikvision publicly released firmware version v5.4.0 for most of their camera series late last night which is now available on their European download portal at the below link.
http://www.hikvisioneurope.com/portal/index.php?dir=Product Firmware/Front-ends/01--IPC/
This version is applicable to the popular 4MP R6 series (2x22FWD, 2x42FWD) of Hikvision cameras and the previous 3MP R0 series (2xx2) as well as some of the less popular models. I'd advise you check which model your camera is and whether the firmware has been released for it, but it's highly likely.
This firmware version notably adds TLS encryption to applicable camera's email settings which currently works with Gmail.
Having tested it in the office, upgrading to v5.4.0 will fix Hikvision cameras not working with Gmail.
You will need to use the below settings:
- SMTP Server - smtp.gmail.com
- SMTP Port - 25 (465 or 587 as an alternative if 25 is blocked)
- E-mail Encryption - TLS
- Enable STARTTLS
- Attach Images (optional)
For NVR Email Alerts
Firmware to introduce TLS encryption to Hikvision NVRs is in the works but it's not currently available yet. For the time being, you can use another workaround to fix Hikvision NVRs not working with Gmail.
The image below is a notice released from Hikvision regarding the matter.
Both of these are done within the "My Account" section of Google.
Hikvision have produced a brief guide on the process, which I've attached to the bottom of this thread. It's very straightforward and should walk you through the entire thing.
I've tested this within the office on a DS-7716NI-I4-16P and can confirm that the above fix works fully. I was able to receive test emails and event-triggered emails (including attachments) via a Gmail account, from connected cameras running firmware versions v5.3.6 and v5.4.0 both, with the below settings.
- SMTP Server - smtp.gmail.com
- SMTP Port - 25 (465 or 587 as an alternative if 25 is blocked)
- Enable SSL
- App Password entered as my authentication password (NOT my Gmail account's password)