Improved IP camera support - suggesting a solution


#1

Hi,
This is my first post in the forum, I just received my Hubitat.
Most IP cameras don't come with a storage of their own and thus can't save
jpg image snapshots locally unless you insert a SD card or use external NVR software/hardware.
Most cameras however support an ISAPI call which returns an image. The dashboard right now only supports pointing to an image file directly, but for the majority of IP cameras you could easily tap in to their API if Hubitat Dashboard supports displaying the returned image.

The ISAPI call to the camera usually looks something like this.
http://admin:password@192.168.1.xx/ISAPI/Streaming/channels/101/picture
When called from the webbrowser it correctly returns an image (as a html img element but in Hubitat dashboard this doesn't work as of now.

I suggest adding support to view the returned image in addition to pointing directly to a .jpg image. Adding this is the easiest way to enable IP camera support for thousands of IP cameras.
Like this:
<img src="http://admin:password@192.168.1.xx/ISAPI/Streaming/channels/101/picture" height="60" width="60">

Cheers
William