S
S
sandro45rus2017-09-25 13:16:56
WiFi
sandro45rus, 2017-09-25 13:16:56

Disabling recording ip cameras?

Good day. There is a task: it is necessary that when the phone is connected to a wi-fi network (phone identification by mac address) with CCTV cameras, the recording on the cameras stops, hikvision cameras, Ubiquiti uniFI AP PRO access points, Ubiquiti UniFI 48-750 switch. With the help of what software, it is possible to create a widget on / off recording. Or write a script?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Michurin, 2017-09-25
@denistu10

Here you can only see yourself writing, because your task is specific
Implementation is something like this:
1. The script constantly checks the FDB switch table for the presence of certain poppies
2. How the poppy was detected using the hikvision API, we send a request to the recording pause camera
3. After disconnecting the phone from WI -FI and the disappearance of the mac-address from the FDB table send a request to the camera to start recording

I
Ilya Efimov, 2017-09-26
@A_M

I did something similar on Mikrotik. In your case, you can make a tick a router, you need the dhcp and firewall functions (the reg is connected to Mikrotik). When a phone appears on the network, we activate the rule in the firewall and separate the cameras from the reg. If you pervert, then you can cut down the food, but this is superfluous)

Y
yaroslawow, 2017-09-26
@yaroslawow

Reserve IP for the MAC address of the phone.
We ping the phone, if it pings - we call NET_DVR_StopDVRRecord, if there is no NET_DVR_StartDVRRecord (Hikvision SDK). In general terms, something like this ...
You can still try "stupidly" :) on the registrar, register ip manually, and issue the same ip to the phone when connected to wifi. As a result, we get an ip conflict and the registrar will not be able to pick up the stream from the cameras :)
In general, it is not clear from the question how the cameras write, the cameras themselves, for example, on NAS, or the registrar takes the stream...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question