CrazyPixels Forum

Everything about the CrazyPixels products!
 FAQ •  Search •  Register •  Login 
It is currently Mon Sep 24, 2018 12:52 am

All times are UTC + 2 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Disabling preview
PostPosted: Thu Jan 14, 2010 12:52 am 
Offline

Joined: Thu Jan 14, 2010 12:45 am
Posts: 2
Hi,

is there a possibilty in CamUniversal to disable / enable the video preview automatically at a given time?
The preview is drawing a lot of CPU Power (actually I measured about 60 watts difference on my system with preview on) and at night it is not necessary to leave the previews on (everythings dark anyway).

If there is no possibility within the CamUniversal scheduler (right now), does anyone knows how a command to the webserver with the command preview=off could be sent automatically, for example using a batch file or something with the windows scheduler?

Greetz
herbertchen


Top
 Profile  
 
 Post subject: Re: Disabling preview
PostPosted: Thu Jan 14, 2010 9:53 pm 
Offline

Joined: Thu Jan 14, 2010 12:45 am
Posts: 2
found a solution for myself, also it would be nice to control it directly thru CamUniversal.

create a batch file in windows scheduler

cams_off.cmd

start "sms" "http://bla.fasel.com:8080/activate_remote_control=password"

echo %time%
ping 127.0.0.1 -n 10>nul
echo 10 Sekunden später

start "sms" "http://bla.fasel.com:8080/camera=1&command=scheduler_off"

echo %time%
ping 127.0.0.1 -n 10>nul
echo 10 Sekunden später

start "sms" "http:///bla.fasel.com:8080/camera=1&command=preview_off"

start "sms" "http:///bla.fasel.com:8080/deactivate_remote_control=password"

rem Kill IE Instanzen
taskkill /IM iexplore.exe


Top
 Profile  
 
 Post subject: Re: Disabling preview
PostPosted: Thu Feb 11, 2010 4:26 pm 
Offline
Site Admin
User avatar

Joined: Wed Aug 22, 2007 1:57 pm
Posts: 355
Location: Berlin/Germany
Hello,

thank you for the suggestion and the sample.

Yes, at the moment it's not possible to automatically control the preview direct from the program.
The webserver is an indirect way.

_________________
Marc Schneider

CrazyPixels Software Development


Facebook https://www.facebook.com/crazypixels.software
Twitter https://twitter.com/crazypixelssoft
Google+ https://plus.google.com/+Crazypixels/posts


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

All times are UTC + 2 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl