Hi guys, I'm new to the forum, and new to Zoneminder.
Got v1.34.20 running on CentOS 8 just to test it out. Very cool.
Wanted to test PTZ. Got a cheap PTZ camera:
Hiseeu PTZ MODEL:N817XP https://aliexpress.com/item/4001161556100.html
Managed to get some live view from it on rtsp://ip:554//user=admin_password=tlJwpbo6_channel=0_stream=0.sdp?real_stream
PTZ works fine using some Chinese plugin for Internet Explorer (tried that inside a VM) but I was wondering what the best approach would be to see if I could get some interaction via Zoneminder. If that is even possible.
Maybe somebody already tried to get this working with this hardware and got some results. Maybe there is some way of troubleshooting this stuff that I don't know about.
I tried some options in the "control" tab of the camera but I figured I definitely don't know what I am doing there.
Could somebody push me in the right direction (if that is even possible).
Thanks a bunch..
Hiseeu PTZ MODEL:N817XP
Re: Hiseeu PTZ MODEL:N817XP
Some times taking a known working control script and modifying it to work on this camera will get one started down the right path. Is it possible to use the PTZ method with IE and look at the URL's it sends to the camera to move it pan and tilt?
Is this camera a clone of another type?
Is this camera a clone of another type?
Re: Hiseeu PTZ MODEL:N817XP
Thank you very much for your reply, indeed.
IE seems to be using some binary blob for this camera. I can't even make heads or tails out of the communication using WireShark (but that could be just me).
I've gotten quite a bit further though (I think) but I am stuck again. I noticed port 8899 was open using nmap and I tried the windows tool "Onvif device manager"
The URI seems to be: http://ip:8899/onvif/device_service
And I can pan, tilt (not zoom) using this onvif tool.
Under Profiles in this tool I can see stuff about ptz configuration.
I do not understand how to use this information to make zoneminder make use of this though.
So I hope I made some progress and that somebody can help me a bit further..
Thank you!
IE seems to be using some binary blob for this camera. I can't even make heads or tails out of the communication using WireShark (but that could be just me).
I've gotten quite a bit further though (I think) but I am stuck again. I noticed port 8899 was open using nmap and I tried the windows tool "Onvif device manager"
The URI seems to be: http://ip:8899/onvif/device_service
And I can pan, tilt (not zoom) using this onvif tool.
Under Profiles in this tool I can see stuff about ptz configuration.
I do not understand how to use this information to make zoneminder make use of this though.
So I hope I made some progress and that somebody can help me a bit further..
Thank you!
Re: Hiseeu PTZ MODEL:N817XP
I think you have made some progress! Have you attempted to set up this camera using onvif in Zoneminder?
I could try to help you modify a script if we can identify one that is close. Can you locate the PERL control scripts for the different cameras in your ZM installation? Can you post the info you found to me please? I then could look for a script to start with. Once we have something we can push the control script to zoneminder for inclusion in the master
I could try to help you modify a script if we can identify one that is close. Can you locate the PERL control scripts for the different cameras in your ZM installation? Can you post the info you found to me please? I then could look for a script to start with. Once we have something we can push the control script to zoneminder for inclusion in the master
Re: Hiseeu PTZ MODEL:N817XP
Wow! Cheers for the quick response!!
I got live view using the: rtsp://ip:554//user=admin_password=tlJwpbo6_channel=0_stream=0.sdp?real_stream URI under "Source path" under the Source tab of the camera.
I tried some tinkering adding the onvif URI (http://ip:8899/onvif/device_service) in the "control" tab of the camera but I am just guessing stuff. Also "probing" or the "ONVIF" link don't seem to work form me: they don't give any camera's back.
I looked around on the CentOS filesystem and stumbled upon: /usr/share/perl5/vendor_perl/ZoneMinder/Control/
It seems to contain some *.pm files with camera brand names if I am not mistaken.
Could this be what you are referring to?
Thanks man...
I got live view using the: rtsp://ip:554//user=admin_password=tlJwpbo6_channel=0_stream=0.sdp?real_stream URI under "Source path" under the Source tab of the camera.
I tried some tinkering adding the onvif URI (http://ip:8899/onvif/device_service) in the "control" tab of the camera but I am just guessing stuff. Also "probing" or the "ONVIF" link don't seem to work form me: they don't give any camera's back.
I looked around on the CentOS filesystem and stumbled upon: /usr/share/perl5/vendor_perl/ZoneMinder/Control/
It seems to contain some *.pm files with camera brand names if I am not mistaken.
Could this be what you are referring to?
Thanks man...
Re: Hiseeu PTZ MODEL:N817XP
Here is the ptz info from the Onvif device manager. Sorry for the crappy resolution (Virtualising Windows).
Hope this was what you needed. It also says it is onvif version 17.12
Hope this was what you needed. It also says it is onvif version 17.12
Re: Hiseeu PTZ MODEL:N817XP
I got the ptz functionality working for this camera in ISPY as well.
http://ip:8899/onvif/device_service
So the camera is working flawlessly in odm and ISPY
When I try this ip in zoneminder under the control tab using ONVIF Camera control type and trying to move the camera i get the following errors in the log:
When I try this ip in zoneminder under the control tab using Netcat ONVIF control type and trying to move the camera i get the following errors in the log:
I am willing to try analyzing traffic with wireshark but I am not clear what to look for. I can get wireshark running but I can't figure out what to search for and how to search for it.
Please help!!
Kind regards
http://ip:8899/onvif/device_service
So the camera is working flawlessly in odm and ISPY
When I try this ip in zoneminder under the control tab using ONVIF Camera control type and trying to move the camera i get the following errors in the log:
Code: Select all
'zmcontrol.pl --id=4' exited abnormally, exit status 255
decoder_control.cgi?command=6 not object from ZoneMinder::Control::onvif:68
'zmcontrol.pl --id=4' already running at 20/09/24 22:24:40, pid = 197181
Code: Select all
After sending PTZ command, camera returned the following error:'500 Can't connect to [http:]:80 (Name or service not known)'MSG:<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"><s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Stop xmlns="http://www.onvif.org/ver20/ptz/wsdl"><ProfileToken>onvif/device_service</ProfileToken><PanTilt>true</PanTilt><Zoom>false</Zoom></Stop></s:Body></s:Envelope>Response:Can't connect to [http:]:80 (Name or service not known)Name or service not known at /usr/share/perl5/vendor_perl/LWP/Protocol/http.pm line 50.
Please help!!
Kind regards