How to Configure Gmail for Device Notifications ,Why does my Gmail email address no longer work for receiving email notifications from my CCTV equipment? How to create an App Password for your Gmail account so that your CCTV equipment can send email notifications
As of the 30th May 2022, Google has removed the support for use of third-party apps or devices which can use your Gmail address using only your normal username and password.
Google's statement about it is here:
As CCTV equipment is a third-party device, you will have probably found that email notifications are no longer being sent from your Gmail account because of this.
If you were previously using a Gmail account for your email notifications, then there are a couple of options to get your notifications working again.
How to Configure Gmail for Device Notifications
Read More :
It's a relatively simple thing to set up in your Google account settings, which the steps below explain.
And the video which triggerd them:
So that categorically proved Intrusion Detection was working, and working very nicely. So there must be something else causing the abscense of notification emails…
After feeding all this back to Kyle – there was lot more being testeed which didn't add anything other “it's not that” – he came back with further suggestions relating us the video being recorded by our Foscam FN3109H NVR via ONVIF. Just in case the NVR is trying to fiddle with the camera's configuration in ways it is not supposed to, not being a Hikviison NVR. A perfectly sound suggestion and one which could only be eliminated by testing. So I did.
Without putting all the “gory” detais up this was done first by removing the camera feed from the NVR and disabling ONVIF on the camera (under Intergration Protocols). No change withe the emails.
Just to be sure, and because I started out with a “less than standard” configuration, I did a full factory reset on the camera and configured it just enough so tha it SHOULD generate emails without anything else being done. Not port changes, no main and sub stream changes, no ONIVIF no anything other the minimum.
No emails…. Hmmm
Correctio no emails EXCEPT the test emails. They always came through our Outlook.com mail account setup for the CCTV system to send notifications out through.
Since that “minimal change” configuration test didn't result in any change in the emails, I reconfigured it back to our “desired” configuration with LOADS of stuff changed. No emails, but we had eveything else working includig our existing NVR happily recording!
The side benefit of doing this was that through the NVR's web interfaece – which is accessible remotely through our firewall – we can happily monitor all 8 cameras simultaenously using the NVRs 9-up view. We can also, do the usual such pick a single camera stream, make it full screen. digitally zoom in and out etc. All done just by logging into the NVR.
That was just over a week ago and a few well deserved days off work…
That now all works great, complete with 24-hour recording, live remote monitoring through the firewall to the NVR (and via VPN for network access) and email notificaitons. Even added an Axis C1310-E with both recorded annoucements (triggered via the web UI) and live “Oi you!” via peer2peer SIP.
Being an outdoor site, basic motion detection can generate a storm of emails, especially during bad weather. The primary reason for looking at doing a gradual uprade from Foscam to Hikvision for Acusense. Checked with Hikvision UK before buying to check that all the smart stuff is done “in camera” and not depenant on the NVR. Essential at this stage. At the moment we just need the camera to send email notifications when it detects “human” activity via Smart Events.
The DS-2CD2146G2-ISU arrived last Monday and didn't take long to get it up and running on the local LAN on site via PoE. Even managed to get the Foscam NVR to do the video recording via ONVIF – after tweaking the main and substream video settings to match the FI9961EP Foscams, enabling ONVIF in the Intergration settings and setting up an ONVIF user.
Have done all the network settings in line with rest of the system (fixed IP, changed the default ports used for HTTP, HTTPS and ONVIF. All well and good. It gets the time via NTP and so DNS resolution is working.
Couldn't get past “Failed” when testing the email settings until I upgraded the firmware from the 2018 it came installed to the current release:
After doing that emails worked and could send test emails.
Event notifications, however, have proven very difficult. So far I've only managed to get it to send one email (with attached pic) for via “Scene Change”. And that was triggered when it switched from day to night vision. So it CAN send emails with attached pics.
What I really want to get working is Intrusion Detection.
As far as I can this should be a matter of setting up the dectection zones, min and max target sizes, enabling it, ensuring scheduling is set and linking it to send emails.
I turned on “Rules” so I can see what it is doing in the live view and it appears to detect targets – boxes going red etc.
Does it log anything in the logs? NO
Does it send any emails? NO.
I'm at a complete loss as to figure out why.
Just in case it might have been one of those weird settings issues that sometimes happen after a significant firmware upgrade (as I had with the C1310-E), I've this morning done a full “Restore Defaults” and reconfigured everything from scratch. No change.
Any suggestions would be much appreciated.
*** Update ***
Just had a really good chat with one of the (extremely helpful) guys at Use-IP and most likely down to the fact that because the camera is operating “stand-alone”, i.e. not hooked up to a Hikvision NVR for event management, it needs local storage (micro SD card) for them to work properly. Also goes a long way to explain the lack of event log entries.
I shall put in a 16GB card (it isn't doing video recording on it, just events) and see how I get on.