ZoneMinder 1.23.3 and the Trendnet TV-IP400 Hybrid Module

If you've made a patch to quick fix a bug or to add a new feature not yet in the main tree then post it here so others can try it out.
Post Reply

Did this hybrid module work for you?

Yes
0
No votes
No
0
No votes
 
Total votes: 0

WarpKat
Posts: 8
Joined: Wed Jul 16, 2008 8:23 pm

ZoneMinder 1.23.3 and the Trendnet TV-IP400 Hybrid Module

Post by WarpKat »

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
WarpKat
Posts: 8
Joined: Wed Jul 16, 2008 8:23 pm

Post by WarpKat »

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
Post Reply