Vitek IP Camera integrations

I'm not very well-versed with Hubitat or many of it's quirks, but I'm not a complete novice, either... I'm definitely in over my head, though, and need a little help. Back in the day, I had this figured out in ST, but they pulled the plug on all the fun stuff and my cameras haven't worked in SharpTools since. I know I'm close, but I just can't figure it out.

I have a Vitek Transcendent series NVR and IP Cameras. They're installed on the same network as my HE and ST hubs and can be seen by both. Due to my ISP not using static IP addresses, I can't point SharpTools to an IP address for each camera and instead need to point it to a device on one of the hubs. Vitek seems to have a quirk, though...

Without going through one of the Vitek apps or logging into autonat.us, the easy way to view a stream from the local network is to point the browser to rtsp://[user]:[pw]@192.168.1.xxx:554/profile3. I understand that HE doesn't like RTSP and that's fine... I would be okay with an image that updates every 5 seconds or so. If there's an issue, I can always log into the app. There's the next problem.

If you want to view a snap of the camera, you go to http://[user]:[pw]@192.168.1.xxx:80/GetSnapshot. This is where confusion sets in for me. The camera returns a snapshot, but there's no extension on the file. You have to download it and manually add ".jpg" before you can view it.

Is there a workaround with HE to view an image without an extension? I made a sad attempt based on the assumption that "GetSnapshot" was a cgi command and tried "GetSnapshot.cgi?img=jpg" That didn't work, though.

Any ideas?

For displaying images snapshots from a local IP camera in your SharpTools dashboards, make sure to pay attention to the details from this thread:

In particular, pay attention to the part about mixed content as well as the trick with using nip.io to workaround a Chromium 111 bug.

I doubt that's the issue since I'm going straight from the camera into HE, but I'll definitely dig into it a little bit when I get time. Something did jump out at me, though, and that's the part about going through the NVR. I've never tried to view a snap through the NVR, but the method doesn't seem complicated. Not sure I'll get a different result, but it's worth a try.

FYI, the address is http://[user]:[pw]@192.168.1.xxx:80/GetSnapshot/[channel id]

What do you mean "into HE"?

Where or how are you trying to view the cameras?

The easiest way to view the cameras in SharpTools would be to point it to an IP address. My ISP (being cellular-based) doesn't allow me to have a static address, so I have to find a work-around. One way would be to build a tile in Hubitat (since it's on the same local network) and point SharpTools to that.

I had that working with SmartThings, but they completely dumbed the system down last year and broke my connection. That's when I did a near-total migration to Hubitat. Short of buying a computer to run the cameras through or changing my ISP, building an image tile in HE or ST (with access on the same local network) seems easiest. I'm just stuck.

The issue there, as I understand it, is that you can’t use an RTSP stream directly in a Hubitat dashboard tile because there’s no native web browser support for that kind of stream.

If you get a RTSP stream from your IP camera you can use Motioneye (or any other similar SW) to get this stream and then get it HE tile.

I'm okay with a static image that updates every few seconds, but the images generated by my cameras don't have an extension. Instead of returning "snapshot.jpg" or "snapshot.tif," it just returns "snapshot" without an extension. Looking for a workaround.

I'll look into Motioneye. Never heard of it. Thanks!

Thanks for the update. The extension shouldn't matter.

Why does the external cellular IP matter? If you are viewing the dashboard within your home, you should be able to use the local IP address directly to the camera or NVR. You have to pay attention to the mixed content and nip.io approach from my link though.

When you view a camera snapshot or MJPEG feed in your dashboard, that's going straight from your web browser to whatever snapshot or MJPEG URL you specify. In other words, as long as your browser is local on your network, you should be able to use the local snapshot URL directly in your dashboard - it doesn't need to go through the cloud or your hub if you are viewing it directly on your local network.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.