I have a Hikvision 2042WD connected to SThings via Surveillance Station. They integrate very nicely.
It’s been a pain to get it working nicely with Smarttiles. Here’s what I found.
(There is some helpful info here:
http://www.cctvforum.com/viewtopic.php?f=19&t=35960
)
I had to setup a substream on my camera. It now provides an mjpeg stream. For streaming, the URL for getting the second (or sub stream) on the first camera is:
http:// ip /Streaming/channels/102/httppreview
You can get a still via:
http:// ip /Streaming/channels/102/picture
Authentication on the camera is an issue. If you have authenticated in the browser previously, then the http://usernam:password@ip. . . . works. But it won’t keep working. I kept losing the feeds on my tablet. It would work on my desktop, but not on the tablet (or old phone). The camera seems to throw up an authentication window after the session expires regardless of whether you include the username and password. Smarttiles can’t handle that.
To get around the problem I had to include the base64 encoded “username:password” string on the URL. For example:
http:// ip /Streaming/channels/102/picture?auth=dXNlcm5hbWU6cGFzc3dvcmQx
This seems to be working nicely. I’ll keep an eye on it.
I’ve now got the phone waking up using motion detector if someone comes by and starting up via tasker. If I leave ST open, it’s there. I’ve locked down a bunch of other apps. I’m just experimenting for now. I’m going to get a cheap tablet if it works nicely. Waiting for ST version 6 to get around the login issue. . . . .