Foscam camera
Posted: Sunday 14 March 2021 14:18
Does someone have experience with adding a Foscam camera? I can not manage to do it..
i try 't on different ways, but no resultHansieNL wrote: Sunday 14 March 2021 16:01 Maybe you can explain some more what you want.
Maybe you can also post an example what you already tried.
Code: Select all
blocks['all_ip_cameras'] = {
cameras : [
{
title: "Voordeur",
imageUrl: 'http://username:[email protected]:85/cgi-bin/currentpic.cgi',
videoUrl: 'http://username:[email protected]:85/cgi-bin/currentpic.cgi',
},
{
title: "Schuur",
imageUrl: 'https://username:[email protected]:84/ec2/cameraThumbnail?cameraId=3',
videoUrl: 'https://username:[email protected]:84/media/1.mpjpeg?resolution=1080p',
},
i mean in Dashticz not in Domoticzwaltervl wrote: Sunday 14 March 2021 16:18 Check the two wiki pages that popup here. https://www.domoticz.com/wiki/index.php ... arch&go=Go
Code: Select all
blocks['fi9816p'] = {
type: 'camera',
imageUrl: 'http://<ip-address-camera>:<port>/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>',
refresh: 2,
forcerefresh: 1,
width: 6,
height: 300
}
Sorry, didn't notice the Dashticz forum....bing69 wrote: Sunday 14 March 2021 17:55i mean in Dashticz not in Domoticzwaltervl wrote: Sunday 14 March 2021 16:18 Check the two wiki pages that popup here. https://www.domoticz.com/wiki/index.php ... arch&go=Go![]()
Thanks, i did this morning (copy and paste from Domoticz) the same and it works!!HansieNL wrote: Sunday 14 March 2021 18:38 I use the following code to show my camera. Change the info between < > with your own settings. URL with http://username:password/... is not allowed anymore for browsers. Maybe it's easier to get first the cameras working one by one.Code: Select all
blocks['fi9816p'] = { type: 'camera', imageUrl: 'http://<ip-address-camera>:<port>/CGIProxy.fcgi?cmd=snapPicture2&usr=<username>&pwd=<password>', refresh: 2, forcerefresh: 1, width: 6, height: 300 }
You can find on this page https://www.ispyconnect.com/camera/foscam if your camera can send MJPEG and what URL to use. If your camera can't send MJPEG you have to create a MJPEG stream yourself.