I do use a webpage that redirects to this address which can only be accessed through the local network of course:
Code: Select all
http://192.168.0.xxx:port/decoder_control.cgi?loginuse=loginName&loginpas=loginPassword&command=33&onestep=0
Code: Select all
http://192.168.0.xxx:port/decoder_control.cgi?loginuse=loginName&loginpas=loginPassword&command=31&onestep=0
I use these to set the cam position to preset 1 and 2 but I would like to use Zoneminder and be able to have full control again
I also can tell you when I was using 1.30.4 I modified the webpage in zoneminder and added two shortcuts to control that camera with this:
Code: Select all
#!/usr/bin/perl
#my @command1 = ("/usr/bin/zmcontrol.pl", "--preset=2", "--command=presetGoto", "--id=3");
#print "Content-type: text/html\n\n";
#system(@command1);
#print qq!<script>
#window.close()
#</script>!;
I just don't understand scripting very much. I muddle through ... I find code and modify it to meet my needs but .. I just cant grasp this enough to figure it out. I need the Vstarcam_C24S.pm to give the right information to zmcontrol in the proper format for my camera so that the zmcontrol commands work Vstarcam_C24S.pm needs to supply zmcontrol with the format ...
Code: Select all
http://IP:PORT/decoder_control.cgi?loginuse=xx&loginpas=xx&command=xx&onestep=x
I hope this is understandable to those looking here lol ... Not sure if I explained it well enough. I tried to give all the info that I have and that may be needed or helpful Everything in the C24S.pm for the commands seem to be accurate but I think it doesn't log in properly. I notice that the commands show
Code: Select all
my $cmd = "decoder_control.cgi?command=18&";
Code: Select all
loginuse=xx&loginpas=xx&
Code: Select all
command=18&
Code: Select all
http://loginName:loginPassword@IP:PORT/decoder_control.cgi?command=xx
Any help would be greatly appreciated