my cams dont use the commandline options user/pwd options. I click on the cam image to add username password.
In domoticz and domoticz app these cams work with the configured usernames and passwords...
With the current setup i dont have images and cant input username / password
Perhaps pushng username and password can be solved by the same trick as in domoticz / domoticz app push them ?
My config (old and new)
Code: Select all
<old cam settings disabled>
var buttons = {}
// buttons.webcama = {key:'webcama', width:4, icon: 'fas fa-video', title:'Cam', url: 'http://<ip>/cgi-bin/snapshot.cgi?user=<user>&pwd=<pwd>', framewidth:500, frameheight:400, slide:2}
// buttons.webcam3 = {key:'divcam3', width:12, isimage:true, forcerefresh:true, refreshimage: 5000, refreshurl: 5000, btnimage: 'http://<ip>/cgi-bin/snapshot.cgi?user=<user>&pwd=<pwd>', url: 'http://<ip>/cgi-bin/snapshot.cgi?user=<user>&pwd=<pwd>'}
// buttons.webcam4 = {key:'divcam4', width:12, isimage:true, forcerefresh:true, cheapwebcam:true, refreshimage: 5000, refreshurl: 5000, btnimage: 'https://<ip>/cgi-bin/currentpic.cgi?user=<user>&pwd=<pwd>', url: 'https://<ip>/'}
blocks["cameras"] = {
type: "camera",cameras: [
{title: "Straatview",imageUrl: "http://192.168.20.50/cgi-bin/snapshot.cgi?user=<user>&pwd=<pwd>",videoUrl: "",},
{title: "Tuinview",imageUrl: "https://192.168.20.52/cgi-bin/currentpic.cgi?user=<user>&pwd=<pwd>",videoUrl: "",},
],
width: 12,height: 400,refresh: 0.5,traytimeout: 3,slidedelay: 3,forcerefresh: 1,
};
<old column>
//columns[10]= {blocks: [buttons.webcam3,buttons.webcam4],width: 5}
new column
columns[10]= {blocks: ['cameras'],width: 6}