AXIST61MkIIAudioandI/OInterfaceSeries
Configureyourdevice
5.SelecttheConditionthatmustbemettotriggerthecameratostartrecording.Itcan,forexample,beatimescheduleor
motiondetection.
6.Inthelistofactions,selectRecordvideo.Selectastoragespace.Selectastreamproleorcreateanew.Alsosetthe
PrebufferandPostbufferasrequired.
7.Savetherule.
8.CreateasecondruleandselectthesameConditionasintherstrule.
9.Inthelistofactions,selectToggleI/Owhiletheruleisactive,andthenselecttheporttheAXISI/OIndicationLEDis
connectedto.SetthestatetoActive.
10.Savetherule.
OtherscenarioswhereAXISI/OIndicationLEDcanbeusedareforexample:
•ConguretheLEDtoturnonwhenthecamerastarts,toindicatethepresenceofthecamera.SelectSystemreadyas
acondition.
•ConguretheLEDtoturnonwhenlivestreamisactivetoindicatethatapersonoraprogramisaccessingastreamfrom
thecamera.SelectLivestreamaccessedasacondition.
Openthelocktoagatewhensomeoneisnearby
Thisexampleexplainshowtodirectthecameraandopenagatewhensomeonewantstoenterduringdaytime.Thisisdoneby
connectingaPIRdetectortotheproduct’sinputportandaswitchrelaytotheproduct’soutputport.
Requiredhardware
•MountedPIRdetector
•Switchrelayconnectedtothegatelock,inthiscasetheswitchisnormallyclosed(NC)
•Connectingwires
Physicalconnection
1.ConnectthewiresfromthePIRdetectortotheinputpin,seeI/Oconnectoronpage10.
2.Connectthewiresfromtheswitchtotheoutputpin,seeI/Oconnectoronpage10
CongureI/Oports
Youneedtoconnecttheswitchrelaytothecamerafromthecamera’swebpage.First,conguretheI/Oports:
SetthePIRdetectortoaninputport
1.GotoSystem>Accessories>I/Oports.
2.Clicktosetthedirectiontoinputforport1.
3.Givetheinputmoduleadescriptivename,forexample“PIRdetector”.
4.IfyouwanttotriggeraneventwheneverthePIRdetectorsensesmotion,clicktosetthenormalstatetocircuitopen.
Settheswitchrelaytoanoutputport
1.Clicktosetthedirectiontooutputforport2.
2.Givetheoutputmoduleadescriptivename,forexample“Gateswitch”.
5