Being a gadget freak I wanted my own home surveilllance security system. I already had the QNAP TS-451 ... so that was an easy choice for me. But wow, what a journey down the path with absolutely no real good documentation from QNAP SS.
I got help from there support team, but in the end they wanted to have access to my system since they could not replicate my issue. In the end, they did not even know there own system.
I got a HikVision DS-2CD2342WD which is amazing, no real complaints here, other than way to many options for motion detection, but thats luckily a good thing.
Here I will describe all the problems I ran into, so others may use less time setting it up. Kind of what needs to be done in that order.
On the QNAP NAS box, make sure everything on myQNAPcloud is ok ... depending ofcause on how you want to access it from outside your own LAN ... I wanted to be able to access it on the "GO" so this was a nice easy way to see if everything is actually okay. I haven't published any services to the outside wrong. So I could probably close some of the ports since they both want 80, 443, 8080 and 8081 for everything to be "OK". But for a starter just to make sure this did not get in the way, I just opened all of them. I will however close all other than 443(https).
This was also setup to support Push Notification on the QManager app for Android.
For some odd reason, QNAP actually did a good job here ... option to remove devices, stop push and the best "Send test message". I ended up having something hanging from the ceeling to test motion detection on the Hik Vision camera ... 15 meter of rope to make something move in front of the camera :-). But this was way the easiest setup of it all ... the setup of push if something goes wrong to the NAS itself.
The setup is done in Internet Explorer 11, because I could not get the plugin to work in other browsers for the Motion Detection.
This is needed for the QNAP SS to be able to correctly get information from the camera.
My tests shows these settings needs to be changed for motion detection to work. I'm not however 100% sure why, since it can connect and see the output from the camera without them. But no alarms on the SS.
Under "Linkage Method" select "Notify Surveillance Center". I guess the "Trigger Recording -> A1" is if you have a network drive mapped and want the box to record to there. Not sure ... I havent enabled it.
In the previous step, your can also check "Send Email" if you want to the Camera to send an email if there is any motion. Remember that Email/SMTP settings needs to be entered under "Network" I used this for testing that it actually worked ...
You can also open this endpoint in a browser: http://x.x.x.x/ISAPI/Event/notification/alertStream
It's used for server push to a client.
A guy here used it for Hikvision Motion Detection in OpenHAB using node.js, which is really awesome if you want to extend your surveillance system.
A link to hikvision-isapi_2.0-ipmd-service.pdf. If you want to play around.
Not sure if everybody runs into this, but if you don't get any motion alarms or can't get "Dynamic Analasis For Motion" to work, try "Disable" then "Save" and then "Enable" and "Save" again. I had this issue the first time I set it up. Just a thing to keep in mind.
Install the app on the mobile. Everything here should be pretty straight forward. Just remember to enable "Push Service".
In the next step "QNAP SS" step there is more do do with the "Push Service" before is actually works.
Now to the Surveillance Station, core whole setup.
Fill in the required information about the camera. Push the "Test".
You should now see a screen shot of the Camera output. If you see a error like this:
This is not necessary the IP address that is invalid, it can for some reason be a number of things. Hurray for QNAP. Here is a few I have seen.
So this error is a VERY GENRIC error ... don't ever trust it ... ever.
Check the "Enable recording on this camera". Click "Next" until done ... just use default settings.
Go to "Event Management".
Here you can see my settings.
I use "Traditional Mode". I'm not really sure what is default here ...
After done, click "Apply to all cameras" or the "Apply" in the bottom of the screen.
If you have verified that "Motion Detection" if working from the camera, we should not be able to see alarms.
Go make some happy dance in front of the camera ... and go back to see the alarms. Hurray.
In the Surveillance Station you should be able to see your phone whcih we installed in a previous step and that "Action" is On. Going back to the app and turning push service off will also turn off actions in this interface. And, ofcause also turn it off in the app if we turn it off here. This setting is synced.
As you can see ... I'm logged in with "admin" on the phone. Next we need to make sure that the user is also allowed to get "Push Notications" for your camera. Whcih was something the QNAP team havent mentioned anywhere, not does there support team know it or just forgot about it.
The "Push Service" page should really have a link to this ... or to what cameras the user has access to. This took me quite some time to find, since no pages I have read mentions this.
QNAP SS is in my world, not a production ready product. Way to much hidden information, no documentation, no debug options ... last update came in january 2017.
So ... if you are looking for a platform for your surveillance ... but aware of this. It works ... but OMG, there is just so much missing. But when finally setup ... it's fine. Hopefully I won't have to use more time on this.
If you have any question just comment below or contact me here.