Hi all,
I’m using Foscam fi9900p. This cam provides .h264 stream, therefore I’m not able to bring it on the gui by using the focam or ipcamera plugin.
My current workaround is to push taken snapshot via ftp to the Raspi every 5 sec. By using a bash script the latest picture will be grabbed and moved with a unique name (einfahrt.jpg) in a folder structure parallel to pimatic-app. Up to here all is fine, but I’m not able get this picture from “/home/pi/snapshotIPCam/einfahrt.jpg” into the GUI.
As well I tried to get the picture from “pimatic-app/node_modules/pimatic-mobile-frontend/public” but it does not work.
{
“class”: “iframeDevice”,
“id” : “kamera-einfahrt”,
“name”: “Einfahrt”,
“url”: “//127.0.0.1/home/pi/snapshotIPCam/einfahrt.jpg”,
“width”: 480,
“height”: 320,
“border”: 1,
“scrolling”: “no”,
“scale”: 1,
“reload”: 5
},
I tried as well the IP of my raspi instead of localhost and ftp://… but nothing will work. Any idea?
Bye,
Daniel