Axis Customer Forum

Event when camera is access/viewer
Page 1 of 1

Author:  Michael Schneider 378640 [ Mon Mar 31, 2014 8:02 am ]
Post subject:  Event when camera is access/viewer


running a 207W with a Relais attached to the I/O. Relais is for switching on/off a light. So far I did control this manually, but I'd like to get an event thrown, when the camera is accessed or viewed - so the light switches on automatically. Currently I do this with a script checking if there are network connections and if yes, switch on the light. This is consuming a lot of CPU performance, as the polling is ongoing all day - you can even realize the slowness within the telnet console.

I already checked the pattern for Video input

pattern((Vx:/)) once immunce % script;

but this didn't work as expected. Could find anything else in the Axis Scripting Guide.

Thanks for any hint how to do this.

Author:  Michael Schneider 378640 [ Sun Apr 06, 2014 2:03 pm ]
Post subject: 

Found it out myself...

/bin/client_counter answers obvioulsy how many viewers are logged in.

Is there no prober documents about the command line tools available? Whould have been a great support!

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group