Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

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.
thefuzz4
Posts: 28
Joined: Sat Mar 01, 2014 5:43 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by thefuzz4 »

Anyone had any luck getting zmodopipe to run in CentOS?

I originally had this running in Ubuntu but lost my VM and decided I'd rebuild in CentOS since I was moving the rest of my servers over to CentOS.

All I get in ZM is just a blue screen. Thanks for your help
driv3r
Posts: 3
Joined: Sat Jan 02, 2016 7:47 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by driv3r »

Excuse me, through my multiple attempts I posted the wrong syntax... :?

I´ve testet the folling command with the same result.... :cry:

--------------------------------------------------------------------
root@:/share# ./zmodopipe -s 192.168.178.100 -p 8888 -c 1 -v -u admin -a password
Usage: ./zmodopipe [options]

Where [options] is one of:

-s <string> IP to connect to
-t <int> Send a timer interrupt every x seconds.
....
---------------------------------------------------------------------
thefuzz4
Posts: 28
Joined: Sat Mar 01, 2014 5:43 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by thefuzz4 »

driv3r wrote:Excuse me, through my multiple attempts I posted the wrong syntax... :?

I´ve testet the folling command with the same result.... :cry:

--------------------------------------------------------------------
root@:/share# ./zmodopipe -s 192.168.178.100 -p 8888 -c 1 -v -u admin -a password
Usage: ./zmodopipe [options]

Where [options] is one of:

-s <string> IP to connect to
-t <int> Send a timer interrupt every x seconds.
....
---------------------------------------------------------------------

So this is what mine looks like

Code: Select all

./zmodopipe -s 192.168.1.194 -p 9000 -c 1 -c 2 -c 3 -c 4 -c 5 -c 6 -c 7 -m 2 -u admin -a Password -t 300 &
I don't have the -v option turned on because of the fact that I don't need the output anymore.

Let me know if that helps you.
thefuzz4
Posts: 28
Joined: Sat Mar 01, 2014 5:43 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by thefuzz4 »

So I ended up reinstalling my VM that runs zoneminder. Apparently the zmodopipe doesn't like CentOS 7 so I dropped it down to CentOS 6

I also found this github repo

https://gist.github.com/jph/6a25bcee0344c33cc50b

So grabbed the latest copy of the program from there and I'm off to the races now once again with a working install :).
joshuairl
Posts: 3
Joined: Fri Jan 15, 2016 1:17 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by joshuairl »

Anyone know the command switches for ZMD-DD-SBN8 - 8CH H.264 StandAlone DVR

When running:

Code: Select all

./zmodopipe -s 10.168.3.11 -p 15961 -c 1 -c 2 -c 3 -c 4 -c 5 -u admin -a cfr010408 -m 5 -t 300 -n zm -v
I'm getting this type of output which looks correct... but in zoneminder console it just shows a dead image.
I'm adding /tmp/zm0 to the source tab.

Code: Select all

Ch 0: Ch 1: Connect result: 0
Ch 0: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e63667230 3130343038000000 0000000001000000 00000000
Ch 0: Ch 1: Send result: 116
Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e63667230 3130343038000000 0000000001000000 00010000
Ch 1: Ch 2: Send result: 116
Ch 2: Ch 3: Connect result: 0
Ch 2: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e63667230 3130343038000000 0000000001000000 00020000
Ch 2: Ch 3: Send result: 116
Ch 3: Ch 4: Connect result: 0
Ch 3: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e63667230 3130343038000000 0000000001000000 00030000
Ch 3: Ch 4: Send result: 116
Ch 4: Ch 5: Connect result: 0
Ch 4: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e63667230 3130343038000000 0000000001000000 00040000
Ch 4: Ch 5: Send result: 116
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Ch 2: Received signal: 13
Ch 3: Pipe closed: Broken pipe
Ch 2: Ch 3: Connect result: 0
Ch 2: Ch 3: Send result: 116
Any advice or help would be awesome! You guys rock and thank you for your continued efforts in this community.
User avatar
aodiaz
Posts: 26
Joined: Thu Apr 25, 2013 3:38 am
Location: Argentina

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by aodiaz »

Hello !, someone could tell me if solved the above problems, as no one says if he solves it or not, I have the same problems .... but I see positive responses! :oops: :oops: :oops: :oops: :?: :?: :?: :?:
joshuairl
Posts: 3
Joined: Fri Jan 15, 2016 1:17 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by joshuairl »

Yeah :-/ would definitely love to be able to get this working smoothly and reliably... I've yet to be able to pull it off at all.
joshuairl
Posts: 3
Joined: Fri Jan 15, 2016 1:17 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by joshuairl »

Anyone done anything with the Zmodo H9124, H9128?
http://files.zmodo.com/Software%20Discs ... H9124v.zip

Downloaded this file to find the Mac client.

Login works as long as I choose "LAN" as the network option.

Wondering what that is about... if I choose "Internet" it fails.
BoyDrone
Posts: 1
Joined: Tue Jul 12, 2016 3:56 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by BoyDrone »

Hi all, its great to see some active posts in regards to the zmodo devices. I recently purchased and installed a zmodo NVR system with 4 POE cameras. the system works great as a basic system, but the motion control alarms are too frequent and the supported app is, well..., not supported well.

I was wondering if the zoneminder software can be installed on an NVR unit as a standalone system. Any tips?

I have a Nas4Free system at home too, but I'm not sure how it would integrate with the NVR as a hub.
jkalousek
Posts: 1
Joined: Wed Oct 05, 2016 12:17 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by jkalousek »

I would like to ask following:
I have DVR KGUARD AR821-CKT001, IP cam viewer detects it as "MaxSecure M2004i" with HTTP port. Device itself is set to use port 80 for HTTP and 9000 as media protocol.

I tried every configuration combination that came into my mind with -p 80 and -p 9000, -m 1 to 8 but everything seems to result in errors like:

Ch0: Ch 1: Connect result: 0
---
Ch 0: Ch 1: Send 1 result: 144
Ch 0: Ch 1: Receive 1 failed: -1
Ch 0: Ch 1: Send 2 result: 88

etc.

According to IP Cam viewer configuration it seems that it uses HTTP connection, does anyone have idea what could be wrong?

Thanks in advance!
dony71
Posts: 6
Joined: Fri Nov 18, 2016 8:52 pm

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by dony71 »

How to integrate zmodopipe in zoneminder?
I have only clock shown and it's ticking.
Video grey in bw setting or red in color setting (see attachment)
Anybody experience the same?
Attachments
no_video.jpg
no_video.jpg (57.46 KiB) Viewed 12037 times
StreckerCM
Posts: 1
Joined: Sat Dec 03, 2016 4:09 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by StreckerCM »

I have a Swann DVR8-1000 that I purchased from Costco a few years back. The device works fine right now and I would like to be able to use it with zoneminder because the built in motion detection isn't very useful. It seems like this driver may be my best option to do that other then just buying new IP cameras.

I can access the DVR in IP Cam Viewer using the DVR8-3000 driver so I was hoping since this was developed using the blessing of the developer of that application I might be in luck but I am still having trouble. Below is the command that I am running to access my DVR it has two ports HTTP and MEDIA and I am using the media port and mode 2.

START COMMAND

Code: Select all

./zmodopipe -s 192.168.1.101 -p 29000 -c 2 -m 2 -v -u username -a password
MODE 1

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Ch 2: Send result: 68
Ch 1: Ch 2: Receive 1 failed.
Ch 1: Login failed, bailing.
Did you select the right model?
Ch 2: Failed to create pipe: File exists
Main: Child 10527 returned: 256
MODE 2

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 507
0000000000000000 0000010000000361 0000000000000000 0000680000000100 0000100000000200 0000010000000161 646d696e00000000 0000000000000000 0000000000000000 0000000000000000 0030393735313438 3200000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000
Ch 1: Ch 2: Send result: 507
Ch 1: Ch 2: Socket closed. Receive result: -1
Ch 1: Ch 2: Connect result: 0
MODE 3

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Ch 2: Send result: 7
Ch 1: Length: 507
0000000000000000 0000010000000361 0000000000000000 0000680000000100 0000100000000200 0000010000000161 646d696e00000000 0000000000000000 0000000000000000 0000000000000000 0030393735313438 3200000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000
Ch 1: Ch 2: Send result: 507
Ch 1: Ch 2: Socket closed. Receive result: -1
Ch 1: Ch 2: Connect result: 0
MODE 4

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 144
3131313188000000 01010000ffffffff 0400000078000000 0300000000000000 61646d696e000000 0000000000000000 0000000000000000 0000000000000000 0000000030393735 3134383200000000 0000000000000000 0000000000000000 0000000000000000 4d454449412d5345 0000000000000000 0000000000000000 0000000000005056 c008000004000000 
Ch 1: Ch 2: Send 1 result: 144
Ch 1: Ch 2: Receive 1 failed: -1
Ch 1: Ch 2: Send 2 result: 88
Ch 1: Length: 60
3131313134000000 01020000f0b73d08 0300000024000000 00f8000000000000 01f8000000020000 02f8000000000000 03f8000000020000 40f80000
Ch 1: Ch 2: Send 3 result: 60
Ch 1: Ch 2: Receive 3 failed.
Ch 1: Login failed, bailing.
Did you select the right model?
Ch 2: Failed to create pipe: File exists
Main: Child 10934 returned: 256
Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 144
3131313188000000 01010000ffffffff 0400000078000000 0300000000000000 61646d696e000000 0000000000000000 0000000000000000 0000000000000000 0000000030393735 3134383200000000 0000000000000000 0000000000000000 0000000000000000 4d454449412d5345 0000000000000000 0000000000000000 0000000000005056 c008000004000000 
Ch 1: Ch 2: Send 1 result: 144
MODE 5

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 116
0000007001000000 2800040003000700 4800240020202021 2020200000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000006e30393735 3134383200000000 0000000001000000 00010000
Ch 1: Ch 2: Send result: 116
Ch 1: Ch 2: Socket closed. Receive result: -1
Ch 1: Ch 2: Connect result: 0
MODE 6

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 500
0000000100000003 0b00000000000000 0000006800000001 0000005400000002 0000000000000000 61646d696e000000 0000000000000000 0000000000000000 0000000000000000 3039373531343832 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000
Ch 1: Ch 2: Send 1 result: 500
Ch 1: Ch 2: Receive 1 failed: -1
Ch 1: Length: 532
Ch 2: Failed to create pipe: File exists
a08b2f31fd7f0000 0000000000000000 1633400000000000 c88c2f31fd7f0000 0000000000000000 0000000000000000 40932f31fd7f0000 0851600000000000 200f400000000000 309d2f31fd7f0000 0000000000000000 0000000000000000 509c2f31fd7f0000 f65827de517f0000 0100000000000000 0000000000000000 ffffffffffffffff 7029eadd517f0000 808d2f31fd7f0000 53d727de517f0000 ff000000ff000000 0000000000000000 0000000000000000 0000000000000000 2525252525252525 2525252525252525 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ff00000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000ff 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000391a6a4bedaee 0000000000000000 0000000000000000 0200000000000000 0000000000000000 0800000000000000 0b00000000000000 0100000000000000 0000000000000000 0000000000000000 d032eadd517f0000 808d2f31fd7f0000 53d727de517f0000 0300000000000000 308e2f31fd7f0000 1000000000000000 308e2f31fd7f0000 0300000000000000 0800000000000000 0b000000
Ch 1: Login failed, bailing.
Did you select the right model?
MODE 7

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 116
0000007001000000 2800040003000700 4800240030303031 3030300000000000 000000004d4f4249 4c45000000000000 0000000000000000 2900380061646d69 6e00000000000000 0000000000000000 0000000000000000 0000000030393735 3134383200000000 0000000001000000 00010000
Ch 2: Send result: 116
Ch 1: Ch 2: Socket closed. Receive result: -1
Ch 1: Ch 2: Connect result: 0
MODE 8

Code: Select all

Ch 1: Ch 2: Connect result: 0
Ch 1: Length: 507
0000000000000000 0000010000000324 0000000000000000 0000680000000100 0000100000000200 0000010000000161 646d696e00000000 0000000000000000 0000000000000000 0000000000000030 3937353134383200 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000
Ch 1: Ch 2: Send result: 507
Ch 1: Receive 1 failed.
Ch 1: Login failed, bailing.
Did you select the right model?
Ch 2: Failed to create pipe: File exists
Main: Child 11467 returned: 256
Ch 1: Ch 2: Connect result: 0
Any help would be greatly appreciated!
ThePurpleK
Posts: 2
Joined: Wed Feb 08, 2017 12:11 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by ThePurpleK »

Hi all! I am doing work heavily related to what's going on here with my Swann DVR4-1200. If you're a technical person, you can find my related research and streaming code here: https://github.com/kz/swanntools
ThePurpleK
Posts: 2
Joined: Wed Feb 08, 2017 12:11 am

Re: Working QSee/Swann/Zmodo DVR support! - Updated 2013-04-21

Post by ThePurpleK »

StreckerCM wrote:...
FYI, the hex dump of length 507 is your authentication message, which contains your DVR password. Please be wary of posting it!
Post Reply