I've been working with Peter Hurst (www.sfpeter.com) to try and make this module for the TV-IP400. I took a few wild stabs at the way the interface is supposed to be written and just couldn't get it to work, so I tried an alternative method and used the information available from Peter's site regarding the protocol and commands used to control the camera. Thanks Peter!
http://www.nointegrity.org/tvip400
Get it and drop it into the ZoneMinder/Control directory where the other Perl modules live.
I sort of hacked this thing so that it works using Curl (must have it installed since it's a system call).
But the basic functions work: U, D, L , R, diagonal movement, and the presets (you have to set these from the camera's web interface for now).
We're still working on trying to make this beast operational for ZM 1.23.3 and going forward, but I thought I'd at least contribute the hybrid module for now since it seems to work for me.
Add the camera control as per Peter's page:
http://www.sfpeter.com/2007/08/14/contr ... oneminder/
The only changes in this procedure is to leave "Can Move Relative" unchecked. Only select "Can Move" and "Can Move Diagonally". The Type is "Remote" and the Protocol is "TVIP400".
ZM dev: can you provide a full API for the controller scripts? Either that or would it be ok to fully implement libcurl via WWW::Curl instead of using the LWP method? LWP didn't seem to work very well, at least for me and Curl seemed more responsive.
-WK
ZoneMinder 1.23.3 and the Trendnet TV-IP400 Hybrid Module
I just finished the newer version of this module for ZM v1.23.3 using WWW::Curl that appears to work better than using the old method.
I'm giving Peter (www.sfpeter.com) access to it first to see if it works for him and if it does, I'll go ahead and release it to the general public.
In the meantime, the old version that uses the system call is still available.
http://www.nointegrity.org/tvip400
-WK
I'm giving Peter (www.sfpeter.com) access to it first to see if it works for him and if it does, I'll go ahead and release it to the general public.
In the meantime, the old version that uses the system call is still available.
http://www.nointegrity.org/tvip400
-WK