Read the statement by Michael Teeuw here.
Hikvision DVR Image capture MMM-iFrame
-
thanks for looking at this, I have found that when I view MM via an Ipad the image does appear, so maybe there’s something that the Pi just doesn’t like about the image file returned.
If I’ve done this right I get the following response from curl
pi@raspberrypi: $ curl http://admin:XXX@192.168.1.69:80/ISAPI/Streaming/channels/402/picture?snapShotImageType=jpeg
/ISAPI/Streaming/channels/402/picture 4 Invalid Operation invalidOperation -
@JimH interesting…
so, if u open the developers window in the pi monitor, ctrl-shift-i, then select the console tab and put frame into the filter field, you should see the error there
-
Hi Sam, so I took a look and there’s nothing listing when I filter for frame but…
I did find at the bottom of the Elements tab when I selected the module that’s running my image, there’s a warning that a Deprecated Feature is Used, it’s blocking any HTTP/HTTPS://user:pass@host/ url’s
I guess the browser on the iPad isn’t so fussy and just picks it up anyway.There’s probably a way to add my Pi’s IP to an open access list on the DVR, or to file the image into a cloud location somewhere and then ref that to get it onto the MM.
Nothing is ever simple!
Thanks for the pointers!
-
-
@JimH use proxy image. This is my configuration for my reolink cameras.
{ module: "MMM-ProxyImage", // https://github.com/daxiang28/MMM-ProxyImage position: "top_center", config: { name: 'Driveway', // Must be unique if using multiple instances updateInterval: 1000, // Duration between image refresh host: ['<url>'], port: 80, height: 540, // Pixel height of the image width: 960, // Pixel width of the image authType: 'basic' // basic||digest auth types } },
-
@BKeyport
Much appraciated, that works a treat! I owe you a Beer…