Hik connect notifications stop working after a while

Clucky

Getting the hang of it
Mar 28, 2024
71
27
PA
I am supposed to be recieving a notification every time a vehicle is detected on my LPR cameras. However only email notifications come through. The Hik connect app after a while just stops sending notifications and then I have to delete both cameras and add them back. I just did this again last night and turned off android notifications so I can sleep and resumed this morning only to find that I didn't get any notifications in the app! So I had to delete and add them back AGAIN this morning. I noticed the time was off by an hour so maybe that has something to do with it? I am getting very, very annoyed by how this setup is so finicky. There is no excuse why the push notification system cannot be made 100% reliable when both the camera and the mobile device have a solid internet connection.


View attachment Screen_Recording_20240604_153213_Hik-Connect.mp4
 
Basicly your ISP may be blocking some requests unintentionally due to their VPN network you may be on with 40 other users is being badly handled.
 
Connect to your router and check your WAN ip address

Also go to What is my ip address google it, if they dont match you are behind cg nat
 
They do match. I think the issue was related to dynamic DNS, UPNP, or an incorrect time. The camera's manual didn't explain how hik connect worked, so I assumed I needed UPNP and DDNS configured. I turned both of those features off and corrected the time, so we shall see.
 
Time can be big issue, for example hikvision access controll will not open door if time does not match to the cms control is added
 
Also I made this tasker project for the Hik Connect app notifications which will automatically silence and dismiss the notifications during certain hours that can be reconfigured, and also includes a quick setting toggle so you can turn on and off the notifications at your will. It does not mess with the android notification status for the app, so the app won't nag you to turn on notifications or not which was one of things that I also thought was corrupting the app and causing the problem



Project: LPR alerts quick button

Profiles
Profile: Motion Alerts: Quick Button Setup
Event: Monitor Start



Enter Task: LPR Alerts: Quick Button Setup

A1: If [ %LPRAlertsAreEnabled ~ true ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Active
Can Use On Locked Device: On ]

A3: Else

A4: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Inactive
Can Use On Locked Device: On ]

A5: End If



Profile: Nighttime
Time: From 9:00PM Till 8:59AM



Enter Task: LPR Alerts: Disable

A1: AutoNotification Categories [
Configuration: Manual Apps: com.connect.enduser
Importance Or Disable: None (Disabled)
Timeout (Seconds): 60
Structure Output (JSON, etc): On ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Inactive
Can Use On Locked Device: On ]

A3: Variable Set [
Name: %LPRAlertsAreEnabled
To: false
Structure Output (JSON, etc): On ]



Profile: Daytime
Time: From 9:00AM Till 8:59PM



Enter Task: LPR Alerts: Enable

A1: AutoNotification Categories [
Configuration: Manual Apps: com.connect.enduser
Importance Or Disable: High
Timeout (Seconds): 60
Structure Output (JSON, etc): On ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Active
Can Use On Locked Device: On ]

A3: Variable Set [
Name: %LPRAlertsAreEnabled
To: true
Structure Output (JSON, etc): On ]



Tasks
Task: LPR Alerts: Enable

A1: AutoNotification Categories [
Configuration: Manual Apps: com.connect.enduser
Importance Or Disable: High
Timeout (Seconds): 60
Structure Output (JSON, etc): On ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Active
Can Use On Locked Device: On ]

A3: Variable Set [
Name: %LPRAlertsAreEnabled
To: true
Structure Output (JSON, etc): On ]



Task: LPR Alerts: Quick Button Setup

A1: If [ %LPRAlertsAreEnabled ~ true ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Active
Can Use On Locked Device: On ]

A3: Else

A4: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Inactive
Can Use On Locked Device: On ]

A5: End If



Task: LPR Alerts: Disable

A1: AutoNotification Categories [
Configuration: Manual Apps: com.connect.enduser
Importance Or Disable: None (Disabled)
Timeout (Seconds): 60
Structure Output (JSON, etc): On ]

A2: Set up Quick Setting Tile [
Number: 3rd
Task: LPR Alerts
Status: Inactive
Can Use On Locked Device: On ]

A3: Variable Set [
Name: %LPRAlertsAreEnabled
To: false
Structure Output (JSON, etc): On ]



Task: LPR Alerts

<This is a task for a manual quick button toggle. It needs to be named the same as the button>
A1: Anchor

A2: If [ %LPRAlertsAreEnabled eq true ]

A3: Perform Task [
Name: LPR Alerts: Disable
Priority: %priority
Structure Output (JSON, etc): On ]

A4: Else

A5: Perform Task [
Name: LPR Alerts: Enable
Priority: %priority
Structure Output (JSON, etc): On ]

A6: End If
 
Last edited:
This could be out of great value to other. I made myself own app that i use for my hikvision devices which relies on my own cloud server based on ISUP, So i dont have those delays and its not overbooked with users :D