Axis Customer Forum

It is currently Fri Mar 22, 2019 4:55 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Mon Mar 31, 2014 8:02 am 

Joined: Mon Mar 31, 2014 7:49 am
Posts: 7
Hi,

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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 06, 2014 2:03 pm 

Joined: Mon Mar 31, 2014 7:49 am
Posts: 7
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!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group