Notification after user remote NVR login

techserviz

n3wb
Joined
Sep 25, 2019
Messages
2
Reaction score
0
Location
Poland
Do any of you know how to receive notifications by email or sms (or alarm outputs) about a user logging in remotely to a Dahua or Hikvision recorder? Can any of you have a working solution?
 

catcamstar

Known around here
Joined
Jan 28, 2018
Messages
1,659
Reaction score
1,193
Well, if you can't drag the water to the sea, drag the sea to the water :p

You may (or may not) be aware of API interfaces on Dahua (and probably Hikvision):
GetActiveUserInfoAll
URL Syntax http://<ip>/cgi-bin/userManager.cgi?action=getActiveUserInfoAll
Comment Get active users.
Response users[0].name=admin
users[0].ip=10.43.2.16
users[0].group=admin
users[0].clienttype=web3.0
users[0].logintime=2011-11-08 09:51:03

You can "query" your device every 1s and work around that information for sms/mail information.

Good luck!
CC
 
Top