I was wondering - is it possible to show a feed or updating pictures in HabPanel from my Ubiquiti Surveilliance Cams?
It would be nice if I somehow could get a live feed from my cams or update a picture stream every 5 second or so.
Currently I use the UVC-G3 cams and the NVR for recording.
If anyone out there has a nice solution using the cams from Ubiquiti, please let me know.
I don’t have the Ubiquiti UVC but I use BlueIris. You have to know if your system exposes a URL for the stream, or an image snapshot. You can use iframes, template, or image widget.
For the image widget, just use your snapshot image as the URL, and have it refresh using the interval setting. If your camera has an MJPG url, you can use that as the URL with interval setting as 0.
You basically use that URL as your “stream”. HABPanel has an image widger and an interval setting to refresh the image. This becomes a “pseudo” video since it will refresh at that interval. For the interval, you can use seconds or milliseconds. If you want ‘fps’ just use this formula for the milliseconds: 1000/fps. For example, if you want 30fps, it will be 1000/30, so you set the interval to 33 milliseconds.