HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Forum for questions and support relating to the 1.28.x releases only.
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

One more time please. I have a HOOTOO HT-IP008HDP PTZ and the IPCAM.pm is suppose to work with it. The stream works fine, but no there's movement. The settings are:
General Ffmpeg
Source Path rtsp://admin:admin@192.168.1.12:554/11
Remote Method RTP/RTSP
Control Type IPCAM
Control Address admin:admin@192.168.1.12:554/11
Again... Any help would be appreciated.
Thanks
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by bbunge »

Don't not see the ipcam.pm

Try the onvif camera control type
in Control Device enter your user password or both (user=user&pwd=password)
In Control Address enter the IP:port of the camera
Auto Stop Timeout 1.00
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

Evidently the HOOTOO HT-IP008HDP PTZ is a knock off of a Foscam We downloaded the ipcam.pm and put it in the ZM Control directory. It was working good, but still no movement. I'll try your suggestion and thanks.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by knight-of-ni »

ipcam.pm is not part of the zoneminder source code, as you can see here:
https://github.com/ZoneMinder/ZoneMinde ... er/Control

Mentioning this script by name only, and then expecting us to somehow know how the script works or where you got it from does not help your cause.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by rockedge »

I found IPCAM.pm here https://wiki.zoneminder.com/Foscam_Clones

worked on a few cameras. But this camera claims to be using this protocol ONVIF but also has Pelco-D and Pelco-P ..tried many variations and no PTZ movement. The ONVIF and the Pelco controls did not work. Camera moves via browser gui.

Question do I need to compile 1.28.109 with this?

found here: https://altaroca.wordpress.com/
ONVIF support has been merged into ZoneMinder starting version 1.29, but it is off by default.
You have to set –enable-onvif=yes flag in autotools or ZM_ONVIF=ON flag in cmake when compiling
.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by knight-of-ni »

The community-run wiki used to be the only realistic way to create and share ptz control scripts.
Recently, we have been accepting pull requests to get as many scripts as we can into the source code on github.

While we are very glad that many have chosen to post their scripts into the wiki, the thing you always have to be mindful of is these scripts are often not maintained. That means one cannot count on these scripts to always work out of the box with the latest version of ZoneMinder. They may need some tweaking.

The date in the script you referenced states 2009, which means you probably have to make some minor changes to get it to work.

To find out, call the script from the command line like so:

Code: Select all

perl /path/to/your/ptz/control/script.pm
If the script has been written to work with the latest version of zoeminder, it will return to the command prompt without outputting anything at all.
If you get any kind of output, then that means the script needs some modifications to work. The output will tell you what needs to be modified.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by rockedge »

@ knnniggett Thank you . The info is very useful for finding the tweaks needed.
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

knnniggett...
I read at github that you have the Foscam FI9821W v2 pan/tilt? Everything I read about the Foscam FI9821W v2 leads back to my HOOTOO and I'm going to try it. I have been looking for a way for movement for about a month now and I'm not going to give up. Rockedge feels it's the urls and how they are saved as. I feel the same. Any tips with the I9821W?
Thanks
bbunge
Posts: 2956
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by bbunge »

I run my FI9821W v2 with

in Control Device enter your user password (your user should be admin)
In Control Address enter the IP:port of the camera
Auto Stop Timeout 1.00
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

bbunge wrote:I run my FI9821W v2 with

in Control Device enter your user password (your user should be admin)
In Control Address enter the IP:port of the camera
Auto Stop Timeout 1.00
Thank you Sir.
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by knight-of-ni »

As bbunge and I can both testify, the Foscam 9821 works very well, including the ptz control. The ptz control script ships with zoneminder.

Every case I've come across involving this camera has been a result of misconfiguration of one form or another. If you are experiencing a problem with this camera, or one that has the same firmware, then the first thing you should do is read the configuration instructions for this camera in the wiki:
https://wiki.zoneminder.com/Foscam_FI9821W_V2
https://wiki.zoneminder.com/Foscam_FI8921P

Apparently the PoE "P" model has its own wiki.

If you are still experiencing issues, then you should post screenshots of the General, Source, and Control tabs of you camera. If an error appears in the zoneminder log, then post that too.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

Thank you. The Foscam FI8921P is smack on. Only thing is it's wireless. Not POE. I'll try that first and let you know.
Thanks again knnniggett...
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

I'm back. I do see the stream with no movement again. Showing no errors in the log. Here are the pix.
Thanks
General.png
General.png (36.68 KiB) Viewed 8076 times
Source.png
Source.png (34.24 KiB) Viewed 8076 times
Control.png
Control.png (33.86 KiB) Viewed 8076 times
rockedge
Posts: 1198
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by rockedge »

Showing no errors in the log.
I found this error in the logs after further examination:

Code: Select all

can't access object class ZoneMinder::Control::any-control-script-here.pm
which appears just before the control server starting and no errors again until direction clicked on.
Some of the control scripts are throwing this from the sub AUTOLOAD present in some of the scripts.
West Slope
Posts: 53
Joined: Wed Jul 15, 2015 12:42 am

Re: HOOTOO HT-IP008HDP PTZ and the IPCAM.pm

Post by West Slope »

rockedge wrote:
Showing no errors in the log.
I found this error in the logs after further examination:

Code: Select all

can't access object class ZoneMinder::Control::any-control-script-here.pm
which appears just before the control server starting and no errors again until direction clicked on.
Some of the control scripts are throwing this from the sub AUTOLOAD present in some of the scripts.
Now it's also getting vertical smearing.
Locked